LibraIRC.net Forums
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

    • This addon will let you see the other clones from the users when one of them join the room you are already on it.
    Example: (18:17:53) * Alicia17 has joined #Personals(18:17:53) [ Clones Nicks:  Alicia17 Emily_ ]How to load the addon on your mIRC script (choose either 1 or 2)1- Go on Tools on the MenuBar - Script Editor - Remote - File - New then copy the code down and paste it there then press Ok.2- Download the Clones on join.mrc down, Put it on the mirc folder and go on Tools on the MenuBar - Script Editor --- > Remote - File  - Load and then choose the place of the Clones on join.mrc and then press Open then Ok. Code
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 Big Grin