No0ne commented on a Page, Emech mirc bot  -  Jan 23, 2006

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.

 Respond  
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.