This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Whois Recording

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
F
Football
Master
Posts: 205
Joined: Fri Dec 26, 2008 3:08 pm
Location: Quakenet, #Football

Whois Recording

Post by Football »

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:
[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.
Post Reply