Football Master
Joined: 26 Dec 2008 Posts: 205 Location: Quakenet, #Football
|
Posted: Mon Dec 27, 2010 5:03 pm Post subject: Whois Recording |
|
|
Hey, I was wondering if there is, or could anyone write a script that when a user joins a certain channel defined in the script, it will whois that user, write down the users channel and count the amount of users joining from the same channel.
for example:
| Quote: | [22:50:34] * sct|muff (k@42.81-167-198.customer.lyse.net) has joined #EPL
sct|muff on #EPL #starcraft2.no #significant #chelseafc |
The bot will count 1 for each one of these rooms; #starcraft2.no #significant #chelseafc and then when a different user joins and he's on one of those rooms, it will increase the counter by 1.
By a trigget !record I can view the highest counter room, aka:
<BOT> 12 users were recorded joining #EPL while being on #ChelseaFC
<BOT> 11 users were recorded joining #EPL while being on #starcraft2.no
And a trigger to display only a single channels stats
<user> !record #Hello
<Bot> 15 users were recorded joining #EPL while being on #Hello
Thanks. _________________ Idling at #Football, Quakenet. |
|