123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182 |
- # result
- cla
- clr
- minut += 5
- gs 'stat'
- x_rul = 100
- x_rul = rand(0, 36)
- if x_rul = 0:
- $color = ' '
- else
- if x_rul = 1 or x_rul = 3 or x_rul = 5 or x_rul = 7 or x_rul = 9 or x_rul = 12 or x_rul = 14 or x_rul = 16 or x_rul = 18 or x_rul = 19 or x_rul = 21 or x_rul = 23 or x_rul = 25 or x_rul = 27 or x_rul = 30 or x_rul = 32 or x_rul = 34 or x_rul = 36:
- $color = 'red'
- else
- $color = 'black'
- end
- end
- '<right><img src="images/casino/resul.jpg"></right>'
- ''
- 'The ball stopped at <<x_rul>> <<$color>>'
- if kh ! 0:
- if kh = 1:
- if x_rul = 1 or x_rul = 3 or x_rul = 5 or x_rul = 7 or x_rul = 9 or x_rul = 12 or x_rul = 14 or x_rul = 16 or x_rul = 18 or x_rul = 19 or x_rul = 21 or x_rul = 23 or x_rul = 25 or x_rul = 27 or x_rul = 30 or x_rul = 32 or x_rul = 34 or x_rul = 36:
- act 'You have won <<2 * st_1>>':
- money += 2 * st_1
- gt 'amrul'
- end
- else
- act 'You lost':gt 'amrul'
- end
- elseif kh = 2:
- if x_rul = 2 or x_rul = 4 or x_rul = 6 or x_rul = 8 or x_rul = 10 or x_rul = 11 or x_rul = 13 or x_rul = 15 or x_rul = 17 or x_rul = 20 or x_rul = 22 or x_rul = 24 or x_rul = 26 or x_rul = 28 or x_rul = 29 or x_rul = 31 or x_rul = 33 or x_rul = 35:
- act 'You have won <<2 * st_1>>':
- money += 2 * st_1
- gt 'amrul'
- end
- else
- act 'You lost':gt 'amrul'
- end
- end
- elseif chnch ! 0:
- if chnch = 1:
- chnch = 0
- if x_rul mod 2 = 0:
- act 'You have won <<2 * st_1>>':
- money += 2 * st_1
- gt 'amrul'
- end
- else
- act 'You lost':gt 'amrul'
- end
- elseif chnch = 2:
- chnch = 0
- if x_rul mod 2 = 1:
- act 'You have won <<2 * st_1>>':
- money += 2 * st_1
- gt 'amrul'
- end
- else
- act 'You lost':gt 'amrul'
- end
- end
- elseif mb ! 0:
- if mb = 1:
- mb = 0
- if x_rul > 0 and x_rul < 19:
- act 'You have won <<2 * st_1>>':
- money += 2 * st_1
- gt 'amrul'
- end
- else
- act 'You lost':gt 'amrul'
- end
- elseif mb = 2:
- mb = 0
- if x_rul > 18 and x_rul < 37:
- act 'You have won <<2 * st_1>>':
- money += 2 * st_1
- gt 'amrul'
- end
- else
- act 'You lost':gt 'amrul'
- end
- end
- elseif du ! 0:
- if du = 1:
- du = 0
- if x_rul > 0 and x_rul < 13:
- act 'You have won <<3 * st_1>>':
- money += 3 * st_1
- gt 'amrul'
- end
- else
- act 'You lost':gt 'amrul'
- end
- elseif du = 2:
- du = 0
- if x_rul > 12 and x_rul < 25:
- act 'You have won <<3 * st_1>>':
- money += 3 * st_1
- gt 'amrul'
- end
- else
- act 'You lost':gt 'amrul'
- end
- elseif du = 3:
- du = 0
- if x_rul > 24 and x_rul < 37:
- act 'You have won <<3 * st_1>>':
- money += 3 * st_1
- gt 'amrul'
- end
- else
- act 'You lost':gt 'amrul'
- end
- end
- elseif series ! 0:
- if series = 1:
- series = 0
- if x_rul = 1 or x_rul = 4 or x_rul = 7 or x_rul = 10 or x_rul = 13 or x_rul = 16 or x_rul = 19 or x_rul = 22 or x_rul = 25 or x_rul = 28 or x_rul = 31 or x_rul = 34:
- act 'You have won <<3*st_1>>':
- money += 3 * st_1
- gt 'amrul'
- end
- else
- act 'You lost':gt 'amrul'
- end
- elseif series = 2:
- series = 0
- if x_rul = 2 or x_rul = 3 or x_rul = 8 or x_rul = 11 or x_rul = 14 or x_rul = 17 or x_rul = 20 or x_rul = 23 or x_rul = 26 or x_rul = 29 or x_rul = 32 or x_rul = 35:
- act 'You have won <<3*st_1>>':
- money += 3 * st_1
- gt 'amrul'
- end
- else
- act 'You lost':gt 'amrul'
- end
- elseif series = 3:
- series = 0
- if x_rul = 3 or x_rul = 4 or x_rul = 9 or x_rul = 12 or x_rul = 15 or x_rul = 18 or x_rul = 21 or x_rul = 24 or x_rul = 27 or x_rul = 30 or x_rul = 33 or x_rul = 36:
- act 'You have won <<3*st_1>>':
- money += 3 * st_1
- gt 'amrul'
- end
- else
- act 'You lost':gt 'amrul'
- end
- end
- elseif chi ! 100:
- if chi = x_rul:
- act 'You have won <<37 * st_1>>':
- money += 37 * st_1
- gt 'amrul'
- end
- else
- act 'You lost':gt 'amrul'
- end
- end
- --- result ---------------------------------
|