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.

HELP

Old posts that have not been replied to for several years.
Locked
User avatar
Rusher2K
Halfop
Posts: 88
Joined: Fri Apr 18, 2003 10:45 am
Location: Germany
Contact:

HELP

Post by Rusher2K »

Can it work white $botnick or give it an $ for bot host ?

Code: Select all

if {($mode == "+b") && ($arg == $botnick) && ([string match "+deopprot" $i]) && ([onchan L $chan])} {
putserv "PRIVMSG L :unbanall $chan"
}
[/code]
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

What are you trying to do? Are you tring to determine if a new ban set is matching the bot's $botname? Try 'string match' with the ban as a mask. (http://tcl.tk/man/tcl8.4/TclCmd/string.htm#M35)
User avatar
Rusher2K
Halfop
Posts: 88
Joined: Fri Apr 18, 2003 10:45 am
Location: Germany
Contact:

Post by Rusher2K »

I trie to do if some body ban the bot that he msg L

and have somebody an idee iff the bot cant join the chan that he msg L something ?
Locked