bind pub n ?oset oset
proc oset { nick mask hand chan text } {
if {[lindex $text 0] != ""} {
set n [lindex $text 0]
if {[lindex $text 1] == "support"} {
chattr $n -jlmnotxAGHIKNQXZBSC
chattr $n +hjlmotxZQCH
putlog "$nick added $n to the bot."
putchan #ZenoBots-Staff "\002$n\002 has been set as a support memeber."
} elseif {[lindex $text 1] == "betastaff"} {
chattr $n -jlmnotxAGHIKNQXZBSC
chattr $n +hjlmnotxBQC
putlog "$nick added $n to the bot."
putchan #ZenoBots-Staff "\002$n\002 has been set as a beta memeber."
} elseif {[lindex $text 1] == "tsupport"} {
chattr $n -jlmnotxAGHIKNQXZBSC
chattr $n +hjlmotxXQCNH
putlog "$nick added $n to the bot."
putchan #ZenoBots-Staff "\002$n\002 has been set as a technical support memeber."
} elseif {[lindex $text 1] == "admin"} {
chattr $n -jlmnotxAGHIKNQXZBSC
chattr $n +hjlmoptxSQCAHN
putlog "$nick added $n to the bot."
putchan #ZenoBots-Staff "\002$n\002 has been set as an administrator"
} elseif {[lindex $text 1] == "sadmin"} {
chattr $n -jlmnotxAGHIKNQXZBSC
chattr $n +hjlnoptxKQCAHN
putlog "$nick added $n to the bot."
putchan #ZenoBots-Staff "\002$n\002 has been set as a senior administrator memeber."
} elseif {[lindex $text 1] == "nobody"} {
chattr $n -jlmnotxAGHIKNQXZBSC
putlog "$nick deleted $n to the bot."
putchan #ZenoBots-Staff "!#ZenoBots deluser $n"
putchan #ZenoBots-Staff "!#ZenoBots resync"
putchan #ZenoBots-Staff "!deluser $n"
putchan #ZenoBots-Staff "!kb $n You are no longer staff, there is no reason why you should need to be in here."
putchan #ZenoBots-Staff "\002$n\002 has been delete from this bot."
} else {
return
}
}
}