onchan <nickname> [channel]
Returns: 1 if someone by that nickname is on the specified channel (or
any channel if none is specified); 0 otherwise
Module: irc
caesar wrote:Use onchan for users and botison only for the bot. Check the tcl-commands.doc file..
botison is a fluff command that was never needed, but just adds to the bloat of the current development branch of eggdrop. All that was ever needed was 'onchan' and $botnick *sigh* ... JMO...
I haven't understood exactly what's your point.. Instead of an onchan $chan $botnick can be replaced with a simple botonchan $chan wich dose exactly the same thing only it applies to the bot only.. anyway dosen't matter.
Once the game is over, the king and the pawn go back in the same box.