Simple Rank command using +v up to +q
Use-
!rank 1-5
!derank 1-5
1 = voice
2 = halfop
3 = op
4 = protect
5 = owner
Pycho - #AlertScript irc.swiftirc.net
on *:text:!*rank*:#:{
var %modes +v +h +o +a +q
var %modes2 -v -h -o -a -q
if ($2) && ($2 isnum 1-5) && ($1 == !rank) {
mode $chan $gettok(%modes,$2,32) $nick
}
elseif ($2) && ($2 isnum 1-5) && ($1 == !derank) {
mode $chan $gettok(%modes2,$2,32) $nick
}
}