result 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183
  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. '1'
  23. 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:
  24. act 'You have won <<2*st_1>>':
  25. money += 2 * st_1
  26. gt 'amrul'
  27. end
  28. else
  29. act 'You lost':gt 'amrul'
  30. end
  31. elseif kh = 2:
  32. 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:
  33. act 'You have won <<2*st_1>>':
  34. money += 2 * st_1
  35. gt 'amrul'
  36. end
  37. else
  38. act 'You lost':gt 'amrul'
  39. end
  40. end
  41. elseif chnch ! 0:
  42. if chnch = 1:
  43. chnch = 0
  44. if x_rul mod 2 = 0:
  45. act 'You have won <<2*st_1>>':
  46. money += 2 * st_1
  47. gt 'amrul'
  48. end
  49. else
  50. act 'You lost':gt 'amrul'
  51. end
  52. end
  53. if chnch = 2:
  54. chnch = 0
  55. if x_rul mod 2 = 1:
  56. act 'You have won <<2*st_1>>':
  57. money += 2 * st_1
  58. gt 'amrul'
  59. end
  60. else
  61. act 'You lost':gt 'amrul'
  62. end
  63. end
  64. elseif mb ! 0:
  65. if mb = 1:
  66. mb = 0
  67. if x_rul > 0 and x_rul < 19:
  68. act 'You have won <<2*st_1>>':
  69. money += 2 * st_1
  70. gt 'amrul'
  71. end
  72. else
  73. act 'You lost':gt 'amrul'
  74. end
  75. end
  76. if mb = 2:
  77. mb = 0
  78. if x_rul > 18 and x_rul < 37:
  79. act 'You have won <<2*st_1>>':
  80. money += 2 * st_1
  81. gt 'amrul'
  82. end
  83. else
  84. act 'You lost':gt 'amrul'
  85. end
  86. end
  87. elseif du ! 0:
  88. if du = 1:
  89. du = 0
  90. if x_rul > 0 and x_rul < 13:
  91. act 'You have won <<3*st_1>>':
  92. money += 3 * st_1
  93. gt 'amrul'
  94. end
  95. else
  96. act 'You lost':gt 'amrul'
  97. end
  98. end
  99. if du = 2:
  100. du = 0
  101. if x_rul > 12 and x_rul < 25:
  102. act 'You have won <<3*st_1>>':
  103. money += 3 * st_1
  104. gt 'amrul'
  105. end
  106. else
  107. act 'You lost':gt 'amrul'
  108. end
  109. end
  110. if du = 3:
  111. du = 0
  112. if x_rul > 24 and x_rul < 37:
  113. act 'You have won <<3*st_1>>':
  114. money += 3 * st_1
  115. gt 'amrul'
  116. end
  117. else
  118. act 'You lost':gt 'amrul'
  119. end
  120. end
  121. elseif a_row ! 0:
  122. if a_row = 1:
  123. a_row = 0
  124. 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:
  125. act 'You have won <<3*st_1>>':
  126. money += 3 * st_1
  127. gt 'amrul'
  128. end
  129. else
  130. act 'You lost':gt 'amrul'
  131. end
  132. elseif a_row = 2:
  133. a_row = 0
  134. 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:
  135. act 'You have won <<3*st_1>>':
  136. money += 3 * st_1
  137. gt 'amrul'
  138. end
  139. else
  140. act 'You lost':gt 'amrul'
  141. end
  142. end
  143. if a_row = 3:
  144. a_row = 0
  145. 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:
  146. act 'You have won <<3*st_1>>':
  147. money += 3 * st_1
  148. gt 'amrul'
  149. end
  150. else
  151. act 'You lost':gt 'amrul'
  152. end
  153. end
  154. end
  155. elseif chi ! 100:
  156. if chi = x_rul:
  157. act 'You have won <<37*st_1>>':
  158. money += 37 * st_1
  159. gt 'amrul'
  160. end
  161. else
  162. act 'You lost':gt 'amrul'
  163. end
  164. end
  165. --- result ---------------------------------