on @*:INPUT:#: {
if ($regex($1,/^(d)?(o|v|(h)?op)$/iS)) && ($2 ison #) { $iif(!$nick(#,$2,hov),mode # $replace($1,v,+v,o,+o,hop,+h) $2)
$iif($nick(#,$2,hov),mode # $replace($1,dv,-v,dop,-o,`dhop,-h) $2)
}
}
==============>
Thanks Jethro_ , but i Think it will More usefull if use /services, Even Not Opped In
channel , we can access the command to opped nick.. Example:
on *:input:#: {
if ($1 == .vspeed) {
if ($2) {
mode # +v $2
}
}
if ($1 == .dvspeed) {
if ($2) {
mode # -v $2
}
}
if ($1 == .opspeed) {
if ($2) {
/services op $active %chan $2
}
}
if ($1 == .dpspeed) {
if ($2) {
/services deop $active %chan $2
}
}
}
any suggestion about tht jethro_ ?
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.