A friend of mine was showing off a script he had
I've seen it before..
Where he can type +o NICK and give a user ops.
So to pass 5mins i made this.
Use +[Mode]
to Set any mode!
Set a users access mode +o NICK
or channel mode +k Password
Leave the second parameter blank to set it on yourself
e.g. +o
The first Parameter must be two letters long and start with a + or -
I admitt theres room for improvement.
I find it quick enough to use :) hope you do!
on 1:INPUT:#:{
if ($len($1) == 2) {
if ($chr(43) isin $1) {
if ( $2 == $null ) {
mode # $1 $me
HALT
}
else {
mode # $1 $2
HALT
}
}
elseif ($chr(45) isin $1) {
if ( $2 == $null ) {
mode # $1 $me
HALT
}
else {
mode # $1 $2
HALT
}
}
}
}