menu nicklist,channel {
Auser:
.Op $1:auser 250 $1
.Admin $1:auser 500 $1
.Master $1:auser 750 $1
.SuperMaster $1:auser 1000 $1
}
on 250:TEXT:*:#:{
if ($1 == `voice) { mode $chan +v $2 }
if ($1 == `devoice) { mode $chan -v $2 }
if ($1 == `commands) { notice $nick OP Commands for you (250) : `voice :: `devoice :: }
}
on 500:TEXT:*:#:{
if ($1 == `op) { mode $chan +o $2 }
if ($1 == `deop) { mode $chan -o $2 }
if ($1 == `commands) { notice $nick Commands for you (500) : `op :: `deop :: `voice :: `devoice :: }
}
on 750:TEXT:*:#:{
if ($1 == `ban) && ($nick ison $chan) { mode $chan +b $2 }
if ($1 == `kick) { kick $chan $2 }
if ($1 == `kban) { mode $chan +b $2 | kick $chan $2 | halt }
if ($1 == `commands) { notice $nick Commands for you (750) : `op :: `deop :: `voice :: `devoice :: `kick :: `ban :: `kban :: }
}
on 1000:TEXT:*:#:{
if ($1 == `addop) { .guser 250 $2 3 | .mode $chan +o $2 | .msg $chan OP added. }
if ($1 == `addadmin) { .guser 500 $2 3 | .mode $chan +o $2 | .msg $chan Admin added. }
if ($1 == `addMaster) { .guser 999 $2 3 | .mode $chan +o $2 | .msg $chan Master added }
if ($1 == `addSMaster) { .guser 1000 $2 3 | .mode $chan +o $2 | .msg $chan Super master added }
if ($1 == `invite) && ($2 !ison $chan) && ($me isop $chan) { invite $nick $chan }
if ($1 == `invite) { invite $2 $chan | notice $nick Invited $2 $+ . }
if ($1 == `topic) { topic $chan $2- }
if ($1 == `commands) { notice $nick 5Commands for you (1000) : 5`op :: 5`deop :: 5`voice :: 5`devoice :: 5`kick :: 5`ban :: 5`kban :: 5`invite :: 5`addcmds :: 5`join :: 5`part :: }
if ($1 == `addcmds) { notice $nick Add commands are: `addop (250) :: `addadmin (500) :: `addmaster (750) :: }
elseif ($1 == `addcmds) { .msg $chan Access denied $nick }
}
on 1000:JOIN:#: {
.msg $chan Super Master Detected: $nick | .mode $chan +vo $nick
}
on 750:JOIN:#: {
.msg $chan Master Detected: $nick | .mode $chan +vo $nick
}
on 500:JOIN:#: {
.msg $chan Admin Detected: $nick | .mode $chan +vo $nick
}
on 250:JOIN:#: {
.msg $chan Op Detected: $nick | .mode $chan +vo $nick
}
Ok well multible problems here goes every thing works except voice, devoice, op, deop, kick, ban, kban commands and wen some one join the chan were lets say they are master it only voices them an not op same with the others i also cant get ELSEIF to work =/ or any ELSE in that matter please help thanks =)