mIRC Homepage
Posted By: Dracoz Irc name script - 04/02/09 01:21 PM
Hi guys,

Just another question....

When someone connects to irc with his normal name and then disconnects and connects again with a different name.. can you make a script that it will gives me a notice like "Roflcopter is previously known as: Lolz0r"
Posted By: Horstl Re: Irc name script - 04/02/09 04:22 PM
You'll likely find serveral scripts of this kind at scripting sites like Hawkee's, mIRCscripts.org, or mIRC.net.

In addition, a quick board search directed me to this thread. You should be able to bypass the "line too long" issue described there if you replace the following lines:

Code:
hadd trackusers $address($nick,3) %n $nick
with:
Code:
hadd trackusers $address($nick,3) $gettok(%n,-1--35,32) $nick


and
Code:
hadd trackusers $address($newnick,3) %n $newnick
with:
Code:
hadd trackusers $address($newnick,3) $gettok(%n,-1--35,32) $newnick


smile
Posted By: Dracoz Re: Irc name script - 06/02/09 02:32 PM
* /hadd: no such table 'trackusers' (line 19, remote.ini)
-
* /hadd: no such table 'trackusers' (line 30, remote.ini)
-
* /hadd: no such table 'trackusers' (line 30, remote.ini)
-

line 30 =
hadd trackusers $address($nick,3) $newnick

line 19 =
hadd trackusers $address($nick,3) $nick
Posted By: Horstl Re: Irc name script - 06/02/09 02:47 PM
After loading that script, you need to restart mIRC (the table "trackusers" is generated on start)
Posted By: Dracoz Re: Irc name script - 06/02/09 03:59 PM
Hmmm now i got another problem some users on the server where i am are using the same thing like POCT@Werse.users.barafranca.com or something like that...

So i get this
16:53 * Werse|afk has also used the nicknames: ronniejh Oehoehh`brakkie Quise Scooter`work klazien Scar` Locos|weekend sybox`werken jimation Federall boefje Marleenhaha|honduitlaten Abbandando DonBavaria` Tieske|Gone Amuse[eten] Nietje`DR`Phill Nietje`Dr`Phil

Whois • Werse|afk [POCT]
16:59 Address • POCT@Werseafk-93121.users.omerta

So the prolbem is it says that they are the same poeple but arent....

How do i fix this ?
Posted By: Horstl Re: Irc name script - 06/02/09 05:08 PM
There are several instances of $address(<SOMETHING>,3) in the script (9 instances in total). The "3" after the comma specifies which kind of mask will be stored and used to "recognize" a user later.

The standard set of masks:
Originally Posted By: /help $mask
0: *!user@host
1: *!*user@host
2: *!*@host
3: *!*user@*.host
4: *!*@*.host
5: nick!user@host
6: nick!*user@host
7: nick!*@host
8: nick!*user@*.host
9: nick!*@*.host8

Try with 0 or 1 instead of the 3 smile
© mIRC Discussion Forums