Code: Select all
bind mode -|- "% +e" forcemod
proc forcemod {nick uhost hand chan args} {
set modechange [join $args]
if {[scan $modechange "+e %s" $chan] != 1} { return }
global botnick
putquick “MODE $chan –e $nick” -next
}
Vixs sets mode: +e somenick!*@*
* RockBabe sets mode: -e Vixs!*@*
Instead of -e somenick , its doing the reverse.
How can the bot -e the target ie somenick in this case.
Please Help me correct the code.
thanks