I think I got ahead of myself up there. I now see where you were going with the else statements, that will work. I\'m sorry, however there is a simpler way of doing that aswell. Try the following:
on 50:text:-up:#:{
if ($2 == $null) { mode # +v $nick }
elseif ($2 isin $chan) { mode # +v $2 }
}
OR
on 50:text:-up:#:{
if ($2 == $null) { mode # +v $nick }
else { mode # +v $2 }
}
OR
on 50:text:*:#:{
if ($1 == -up) { command goes here }
elseif ($1 == -down) { command goes here }
elseif ($1 == -voice) { command goes here }
}
The way you did it is not wrong, these are just suggestions. The way I would do it. Hope to see you contribute more to hawkee.