Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:text:!war*:#eCasino.war: {
- if (!$2) {
- msg $chan The correct syntax is $1 <bet>
- }
- elseif ($2 !isnum 100-500) {
- msg $chan $nick $+ , your bet must be within 100-500.
- }
- else {
- var %num = $rand(0,100)
- var %num2 = $rand(0,100)
- msg #eCasino.war 2 $nick , you have rolled %num and [eCasino] has rolled %num2
- $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 )
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement