got little problemn i have this script that says anything that someone says to my bot in private to my privatechannel. the problem is that i dont want the bot say !add and !remove in my private chanel, how do i make the if {[lindex $line 0] != "!add" "!remove" } - line so that i can add more commands that the bot dont say to my private channel ? sry my bad eng and yes im a noob
proc priv {nick uhost hand arg} {
global privchan
set line [string trim $arg]
if {[lindex $line 0] != "!add" "!remove" } {
puthelp "PRIVMSG #$privchan :$nick on private: '$line'";return 0}
}