On @*:Text:*:#:{
var %i $strip($1)
if (%i == !green) {
mode # +v $nick
msg # Here ya go, $nick
}
elseif (%i == !ungreen) {
mode # -v $nick
msg # There ya go, $nick
} }
donno for sure about the local var use or just having the strip command twice I am sure jaytea can better say if it be better or not, replaced the $chan with #.. I get drilled about elseif use so I been using it more. and added a check if your oped.. as Jethro will go on about it ... he prob right it s a good idea to have if the op you hold is not all the time