Jethro commented on a Page, LastBattle  -  Sep 17, 2011

It's more efficient doing it like so:

on $*:TEXT:^!(exit|leave)$:#:{
 var %1 = $regml(1)
 if (%1 == exit) quit lastbattlescript, requested.
 else %1 # lastbattle
}

In case you don't know. The command /leave is a deprecated command (yes, it still works) for /part command. They work exactly the same.

 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.