1
0

result 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. # result
  2. cla
  3. clr
  4. minut += 5
  5. gs 'stat'
  6. x_rul = 100
  7. x_rul = rand(0, 36)
  8. if x_rul = 0:
  9. $color = ' '
  10. else
  11. 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:
  12. $color = 'red'
  13. else
  14. $color = 'black'
  15. end
  16. end
  17. '<right><img src="images/casino/resul.jpg"></right>'
  18. ''
  19. 'The ball stopped at <<x_rul>> <<$color>>'
  20. if kh ! 0:
  21. if kh = 1:
  22. 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:
  23. act 'You have won <<2 * st_1>>':
  24. money += 2 * st_1
  25. gt 'amrul'
  26. end
  27. else
  28. act 'You lost':gt 'amrul'
  29. end
  30. elseif kh = 2:
  31. 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:
  32. act 'You have won <<2 * st_1>>':
  33. money += 2 * st_1
  34. gt 'amrul'
  35. end
  36. else
  37. act 'You lost':gt 'amrul'
  38. end
  39. end
  40. elseif chnch ! 0:
  41. if chnch = 1:
  42. chnch = 0
  43. if x_rul mod 2 = 0:
  44. act 'You have won <<2 * st_1>>':
  45. money += 2 * st_1
  46. gt 'amrul'
  47. end
  48. else
  49. act 'You lost':gt 'amrul'
  50. end
  51. elseif chnch = 2:
  52. chnch = 0
  53. if x_rul mod 2 = 1:
  54. act 'You have won <<2 * st_1>>':
  55. money += 2 * st_1
  56. gt 'amrul'
  57. end
  58. else
  59. act 'You lost':gt 'amrul'
  60. end
  61. end
  62. elseif mb ! 0:
  63. if mb = 1:
  64. mb = 0
  65. if x_rul > 0 and x_rul < 19:
  66. act 'You have won <<2 * st_1>>':
  67. money += 2 * st_1
  68. gt 'amrul'
  69. end
  70. else
  71. act 'You lost':gt 'amrul'
  72. end
  73. elseif mb = 2:
  74. mb = 0
  75. if x_rul > 18 and x_rul < 37:
  76. act 'You have won <<2 * st_1>>':
  77. money += 2 * st_1
  78. gt 'amrul'
  79. end
  80. else
  81. act 'You lost':gt 'amrul'
  82. end
  83. end
  84. elseif du ! 0:
  85. if du = 1:
  86. du = 0
  87. if x_rul > 0 and x_rul < 13:
  88. act 'You have won <<3 * st_1>>':
  89. money += 3 * st_1
  90. gt 'amrul'
  91. end
  92. else
  93. act 'You lost':gt 'amrul'
  94. end
  95. elseif du = 2:
  96. du = 0
  97. if x_rul > 12 and x_rul < 25:
  98. act 'You have won <<3 * st_1>>':
  99. money += 3 * st_1
  100. gt 'amrul'
  101. end
  102. else
  103. act 'You lost':gt 'amrul'
  104. end
  105. elseif du = 3:
  106. du = 0
  107. if x_rul > 24 and x_rul < 37:
  108. act 'You have won <<3 * st_1>>':
  109. money += 3 * st_1
  110. gt 'amrul'
  111. end
  112. else
  113. act 'You lost':gt 'amrul'
  114. end
  115. end
  116. elseif series ! 0:
  117. if series = 1:
  118. series = 0
  119. 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:
  120. act 'You have won <<3*st_1>>':
  121. money += 3 * st_1
  122. gt 'amrul'
  123. end
  124. else
  125. act 'You lost':gt 'amrul'
  126. end
  127. elseif series = 2:
  128. series = 0
  129. 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:
  130. act 'You have won <<3*st_1>>':
  131. money += 3 * st_1
  132. gt 'amrul'
  133. end
  134. else
  135. act 'You lost':gt 'amrul'
  136. end
  137. elseif series = 3:
  138. series = 0
  139. 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:
  140. act 'You have won <<3*st_1>>':
  141. money += 3 * st_1
  142. gt 'amrul'
  143. end
  144. else
  145. act 'You lost':gt 'amrul'
  146. end
  147. end
  148. elseif chi ! 100:
  149. if chi = x_rul:
  150. act 'You have won <<37 * st_1>>':
  151. money += 37 * st_1
  152. gt 'amrul'
  153. end
  154. else
  155. act 'You lost':gt 'amrul'
  156. end
  157. end
  158. --- result ---------------------------------