mIRC Homepage
Posted By: Exlax Check If Nickname is Exists - 16/01/04 05:13 AM
Is there any identifier that will check if a certain nickname is currently online the server?
Posted By: KingTomato Re: Check If Nickname is Exists - 16/01/04 06:39 AM
/help /notify
/help on notify

Add them to your notify list. When they join and part the on notify will trigger.
Posted By: Exlax Re: Check If Nickname is Exists - 16/01/04 06:12 PM
I dont really want to know when somebody joins or parts. I just want a "right-then-and-there" answer of whether any nickname exists.
Posted By: KingTomato Re: Check If Nickname is Exists - 16/01/04 06:36 PM
Some networks support /ison, which will return in a raw code that a user is online. For example:

/ison $me

<- :irc.dynamix.com 303 KingTomato :YourName

Versus

/ison SomeBogusName

<- :irc.dynamix.com 303 KingTomato :

Which means no such user.

Posted By: Zachu Re: Check If Nickname is Exists - 16/01/04 09:36 PM
Damnit you do it in hard way
You can whois some guy and then with raw events, check if whois returns something
Posted By: KingTomato Re: Check If Nickname is Exists - 16/01/04 10:05 PM
Hardway? I'd rather have one raw return to me ona "is online" test then 3-8. Additionally, a whois would echo to the user of the script, and to stop from doing so would involve several raw haltdef. In this case, only one (two for a fail) are neccisery, as well as less bandwidth is taken.
Posted By: Doqnach Re: Check If Nickname is Exists - 18/01/04 11:57 PM
indeed, besides, reply time of ison is much faster then whois! or use /userhost for that and wait for that reply...
© mIRC Discussion Forums