#Set the specifed nick, which will be deoped
#to trigger this script.
set deopednick "persons-nick-here"
bind mode - "-o" deoped:nick
bind mode - "*-o*" deoped:nick
proc deoped:nick {nick uhost hand chan mode arg} {
global botnick deopednick
if {($mode == "-o") && ($nick != $botnick) && ([string compare -nocase $deopednick $nick] == 0)} {
putquick "MODE $chan -o $nick"
}
}
Code: Select all
#Set the specifed nick, which will be deoped
#to trigger this script.
set deopednick "persons-nick-here"
bind mode - "-o" deoped:nick
bind mode - "*-o*" deoped:nick
proc deoped:nick {nick uhost hand chan mode arg} {
global botnick deopednick
if {($mode == "-o") && ($nick != $botnick) && ([string compare -nocase $deopednick $nick] == 0)} {
putquick "MODE $chan -o+o $arg $deopednick"
}
}