Whenever someone does certain commands for the bot I want to check if that user has logged in on the local nickserv of the server. This can be checked doing a command like ".msg service check xxxx" , wich gives a reaction like "user xxxx is logged in" or "user xxxx is not logged in".
So only if that user is logged in his commands will be performed, otherwise it should give a message like "please login to service".
Is there a way to do this in Tcl ?
thnx
<font size=-1>[ This Message was edited by: odoisc on 2001-10-13 05:33 ]</font>
It is un-likely that the services would even send a numeric. Most services use a /msg command like /msg nickserv acc, where nickserv would reply with a notice such as:
[qoute] Wcc ACC 2 [/quote]
Where an acc level of 3 means that the user has identified to its nick. The above example is from DALNet, it may be different on other networks.