![]() |
|
Show Clones On Join - Printable Version +- LibraIRC.net Forums (https://librairc.net/forums) +-- Forum: Public Forums (https://librairc.net/forums/forum-47.html) +--- Forum: IRC Discussions (https://librairc.net/forums/forum-57.html) +---- Forum: mIRC (https://librairc.net/forums/forum-64.html) +---- Thread: Show Clones On Join (/thread-57.html) |
Show Clones On Join - Omar - 27-10-2011
Code: on *:Join:#: {
var %host_to_search_for = $address($nick,2)
var %number_from_that_host = $ialchan(%host_to_search_for,$chan,0)
if (%number_from_that_host > 1) {
;we have clones!
;first set up our vars and loop
var %count = 0
unset %clones
:loop
inc %count
;loop through every nick, adding the nicks to %clones
var %clones = %clones $ialchan(%host_to_search_for,$chan,%count).nick
if (%count < %number_from_that_host) { goto loop }
echo -t $chan 3[ 3Clones Nicks: 3 %clones 3]
}
}Hope i was clear to everyone if you got any questions you can just make a reply and i will be happy to answer you
|