Is there any identifier that will check if a certain nickname is currently online the server?
/help /notify
/help on notify
Add them to your notify list. When they join and part the on notify will trigger.
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.
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.
Damnit you do it in hard way
You can whois some guy and then with raw events, check if whois returns something
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.
indeed, besides, reply time of ison is much faster then whois! or use /userhost for that and wait for that reply...