Advertisement
illpastethat

eCasino War for Jammy Pear

Dec 14th, 2012
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.50 KB | None | 0 0
  1. on *:text:!war*:#eCasino.war: {
  2.   if (!$2) {
  3.     msg $chan The correct syntax is $1 <bet>
  4.   }
  5.   elseif ($2 !isnum 100-500) {
  6.     msg $chan $nick $+ , your bet must be within 100-500.
  7.   }
  8.   else {
  9.         var %num = $rand(0,100)
  10.         var %num2 = $rand(0,100)
  11.         msg #eCasino.war 2 $nick , you have rolled %num and [eCasino] has rolled %num2
  12.         $iif(%num >= %num2,msg #eCasino.war 3 $nick , you have won your bet of $2 ,msg #eCasino.war 4 $nick , you have lost your bet of $2 )
  13.         }
  14.   }
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement