Channel Counter

By MattW on Apr 26, 2012

Here is a slightly modified version of a script by Jackster35-1 from Hawkee. This Script is ideal for use on a Bot and it simply, says how many channels a specific user is in which the bot is present in. Try it out, I found it quite useful in some circumstances.

USEAGE: !count nickhere

on *:TEXT:!count *:#:{
  msg $chan NICK: $2 is in $comchan($2,0) of the same channels I am in. 
}

Comments

Sign in to comment.
JamesBond   -  Feb 16, 2017

on :TEXT:!count :#:{
msg $chan NICK: $2 is in $comchan($2,0) + 1 of the same channels I am in.
}

 Respond  
MattW   -  Apr 26, 2012

If you have a problem with what I did, just say it. I don't mind.

 Respond  
Jordyk19   -  Apr 26, 2012

I see, Thanks for adding the NICK: and replace of privmsg to msg and removing the smile at the end of Jackster35-1 his script.

 Respond  
MattW   -  Apr 26, 2012

Added some small changes as I said "slightly modified" such as made it broadcast using msg instead of privmsg and changed the text it broadcasts so it suited my needs. Then I thought I might as well share my changes so people don't have to make the change themselves in future

 Respond  
Jordyk19   -  Apr 26, 2012

Could you tell us what you have modified on it?

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.