Hey this is my first script and thats how u use it
1)+o <--used for getting op from your bot
2)-o <--Used for deop you
3)+v <--> 1)
4)-v <--> 2)
u gotto paste it in to your remote and just check it and it'll work :)
on *:text:*+o*:#: {
if $1 == %c $+ +o {
if $2 == $null { /mode $chan +o $nick | halt }
else { mode $chan +o $2 | halt }
}
}
on *:text:*-o*:#: {
if $1 == %c $+ -o {
if $2 == $null { /mode $chan -o $nick | halt }
else { mode $chan -o $2 | halt }
}
}
on *:text:*+v*:#: {
if $1 == %c $+ +v {
if $2 == $null { /mode $chan +v $nick | halt }
else { mode $chan +v $2 | halt }
}
}
on *:text:*-v*:#: {
if $1 == %c $+ -v {
if $2 == $null { /mode $chan -v $nick | halt }
else { mode $chan -v $2 | halt }
}
}