This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

a simple question

Old posts that have not been replied to for several years.
Locked
n
noobified

a simple question

Post by noobified »

i know that..

isop and isvoice determines if a nick is oped/voiced on channel..
what is that word that identifies if a nick is on a channel ?
User avatar
GodOfSuicide
Master
Posts: 463
Joined: Mon Jun 17, 2002 8:00 pm
Location: Austria

Post by GodOfSuicide »

ison
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

GodOfSuicide wrote:ison
well thats not a valid command

instead:

from TCL-commands.doc
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
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Use onchan for users and botison only for the bot. Check the tcl-commands.doc file..
Once the game is over, the king and the pawn go back in the same box.
User avatar
strikelight
Owner
Posts: 708
Joined: Mon Oct 07, 2002 10:39 am
Contact:

Post by strikelight »

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...

:roll:
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

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.
Locked