Imrac commented on a Page, Briefcase Game  -  Oct 12, 2008

Instead of setting a variable use /var, that way its local to the script and not a global variable. maybe something like:

on 1:TEXT: !briefcase:#:{
  var %x $rand(1,3), %m
  if (%x == 1) %m = pulls a pistol out of a briefcase and shoots $nick in the head
  elseif (%x == 2) %m = pulls a pellet gun out of a briefcase and shoots $nick in the chest
  else %m = pulls out a huge wad of money and tosses it to $nick
  describe $chan %m
}
 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.