Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

ash4377 Mar 13th, 2018 (edited) 73 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. options:
  2.     Tag: &6賭場 &c&l>>
  3. #[鐵]
  4.     鐵_支付金錢: 1000
  5.     鐵_幸運獎: 7777
  6.     鐵_小獎: 1000
  7.     鐵_大獎: 5000
  8.     鐵_特獎: 77777
  9. #[金]
  10.     金_支付金錢: 5000
  11.     金_幸運獎: 17777
  12.     金_小獎: 5000
  13.     金_大獎: 10000
  14.     金_特獎: 177777
  15. #[鑽]
  16.     鑽_支付金錢: 10000
  17.     鑽_幸運獎: 27777
  18.     鑽_小獎: 20000
  19.     鑽_大獎: 30000
  20.     鑽_特獎: 277777
  21. #[綠]
  22.     綠_支付金錢: 20000
  23.     綠_幸運獎: 37777
  24.     綠_小獎: 40000
  25.     綠_大獎: 60000
  26.     綠_特獎: 377777
  27. #[黑]
  28.     黑_支付金錢: 100000
  29.     黑_幸運獎: 700000
  30.     黑_小獎: 200000
  31.     黑_大獎: 1000000
  32.     黑_特獎: 7777777
  33.  
  34.  
  35.  
  36. command /casino [<text=help>] [<text>]:
  37.     trigger:
  38.         if player is an op:
  39.             if arg-1 is "help":
  40.                 send "{@Tag} &6文靜線上賭場營收&7:%{賭場營收}%" to player
  41.                 send "{@Tag} &6使用 &7/casino take <數量> &6來提取營收" to player
  42.             if arg-1 is "take":
  43.                 if arg-2 is not set:
  44.                     send "{@Tag} &6使用 &7/casino take <數量> &6來提取營收" to player
  45.                     stop
  46.                 if arg-2 is set:
  47.                     set {賭場營收} to {賭場營收} parsed as number
  48.                     set {_提取金額} to arg-2 parsed as number
  49.                     if {賭場營收} < 0:
  50.                         send "{@Tag} &c你們賭場有夠失敗 賠錢還想領錢?" to player
  51.                         stop
  52.                     if {_提取金額} < 0:
  53.                         send "{@Tag} &c你必須輸入大於0的數字" to player
  54.                         stop
  55.                     if {_提取金額} > {賭場營收}:
  56.                         send "{@Tag} &c賭場餘額不足 無法提取" to player
  57.                         stop
  58.                     if {_提取金額} <= {賭場營收}:
  59.                         send "{@Tag} &b%player% &6拿取了賭場的 &e&l%{_提取金額}% &6元營收" to op
  60.                         remove {_提取金額} from {賭場營收}
  61.                         add {_提取金額} to {玩家資料.%player%::金錢}
  62.                         stop
  63.                     else:
  64.                         send "{@Tag} &c指令執行失敗 請確認是否輸入正確" to player
  65.                         stop
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82. #================================================================================================#
  83. #[鐵]
  84. on sign change:
  85.     player has permission "casino.slots"
  86.     if line 1 of block is "[Slots1]":
  87.         set line 1 of block to "&f▁▂▃ &4&l777 &f▃▂▁"
  88.         set line 4 of block to "||  開始  ||"
  89. #[金]
  90. on sign change:
  91.     player has permission "casino.slots"
  92.     if line 1 of block is "[Slots2]":
  93.         set line 1 of block to "&6▁▂▃ &4&l777 &6▃▂▁"
  94.         set line 4 of block to "||  開始  ||"
  95. #[鑽]
  96. on sign change:
  97.     player has permission "casino.slots"
  98.     if line 1 of block is "[Slots3]":
  99.         set line 1 of block to "&b▁▂▃ &4&l777 &b▃▂▁"
  100.         set line 4 of block to "||  開始  ||"
  101. #[綠]
  102. on sign change:
  103.     player has permission "casino.slots"
  104.     if line 1 of block is "[Slots4]":
  105.         set line 1 of block to "&a▁▂▃ &4&l777 &a▃▂▁"
  106.         set line 4 of block to "||  開始  ||"
  107. #[黑]
  108. on sign change:
  109.     player has permission "casino.slots"
  110.     if line 1 of block is "[Slots5]":
  111.         set line 1 of block to "▁▂▃ &4&l777 &0▃▂▁"
  112.         set line 4 of block to "||  開始  ||"
  113.  
  114.  
  115.  
  116. #================================================================================================#
  117. on left click on sign:
  118. #[鐵]
  119.     if line 1 of block is "&f▁▂▃ &4&l777 &f▃▂▁":
  120.         send "&7============[ &f本機台使用方法 &7]============"
  121.         send "&7右鍵點擊開始 一次 &6{@鐵_支付金錢} &7元"
  122.         send "&7若三個圖案都不相同 就什麼都沒有"
  123.         send "&7轉中任意一個&c&l7&7即獲得 &6{@鐵_幸運獎} &7元"
  124.         send "&7轉中任意兩個相同圖型 即獲得 &6{@鐵_小獎} &7元"
  125.         send "&7轉中任意三個相同圖型 即獲得 &6{@鐵_大獎} &7元"
  126.         send "&7轉中三個&c&l7&7即獲得 &6{@鐵_特獎} &7元"
  127.         send "&7拉霸機的價格與獎賞都有可能變動"
  128.         send "&7使用前 請詳細閱讀公開說明書"
  129.         send "&7============[ &f本機台使用方法 &7]============"
  130. #[金]
  131.     if line 1 of block is "&6▁▂▃ &4&l777 &6▃▂▁":
  132.         send "&7============[ &6本機台使用方法 &7]============"
  133.         send "&7右鍵點擊開始 一次 &6{@金_支付金錢} &7元"
  134.         send "&7若三個圖案都不相同 就什麼都沒有"
  135.         send "&7轉中任意一個&c&l7&7即獲得 &6{@金_幸運獎} &7元"
  136.         send "&7轉中任意兩個相同圖型 即獲得 &6{@金_小獎} &7元"
  137.         send "&7轉中任意三個相同圖型 即獲得 &6{@金_大獎} &7元"
  138.         send "&7轉中三個&c&l7&7即獲得 &6{@金_特獎} &7元"
  139.         send "&7拉霸機的價格與獎賞都有可能變動"
  140.         send "&7使用前 請詳細閱讀公開說明書"
  141.         send "&7============[ &6本機台使用方法 &7]============"
  142. #[鑽]
  143.     if line 1 of block is "&b▁▂▃ &4&l777 &b▃▂▁":
  144.         send "&7============[ &b本機台使用方法 &7]============"
  145.         send "&7右鍵點擊開始 一次 &6{@鑽_支付金錢} &7元"
  146.         send "&7若三個圖案都不相同 就什麼都沒有"
  147.         send "&7轉中任意一個&c&l7&7即獲得 &6{@鑽_幸運獎} &7元"
  148.         send "&7轉中任意兩個相同圖型 即獲得 &6{@鑽_小獎} &7元"
  149.         send "&7轉中任意三個相同圖型 即獲得 &6{@鑽_大獎} &7元"
  150.         send "&7轉中三個&c&l7&7即獲得 &6{@鑽_特獎} &7元"
  151.         send "&7拉霸機的價格與獎賞都有可能變動"
  152.         send "&7使用前 請詳細閱讀公開說明書"
  153.         send "&7============[ &b本機台使用方法 &7]============"
  154. #[綠]
  155.     if line 1 of block is "&a▁▂▃ &4&l777 &a▃▂▁":
  156.         send "&7============[ &a本機台使用方法 &7]============"
  157.         send "&7右鍵點擊開始 一次 &6{@綠_支付金錢} &7元"
  158.         send "&7若三個圖案都不相同 就什麼都沒有"
  159.         send "&7轉中任意一個&c&l7&7即獲得 &6{@綠_幸運獎} &7元"
  160.         send "&7轉中任意兩個相同圖型 即獲得 &6{@綠_小獎} &7元"
  161.         send "&7轉中任意三個相同圖型 即獲得 &6{@綠_大獎} &7元"
  162.         send "&7轉中三個&c&l7&7即獲得 &6{@綠_特獎} &7元"
  163.         send "&7拉霸機的價格與獎賞都有可能變動"
  164.         send "&7使用前 請詳細閱讀公開說明書"
  165.         send "&7============[ &a本機台使用方法 &7]============"
  166. #[黑]
  167.     if line 1 of block is "▁▂▃ &4&l777 &0▃▂▁":
  168.         send "&7============[ &8本機台使用方法 &7]============"
  169.         send "&7右鍵點擊開始 一次 &6{@黑_支付金錢} &7元"
  170.         send "&7若三個圖案都不相同 就什麼都沒有"
  171.         send "&7轉中任意一個&c&l7&7即獲得 &6{@黑_幸運獎} &7元"
  172.         send "&7轉中任意兩個相同圖型 即獲得 &6{@黑_小獎} &7元"
  173.         send "&7轉中任意三個相同圖型 即獲得 &6{@黑_大獎} &7元"
  174.         send "&7轉中三個&c&l7&7即獲得 &6{@黑_特獎} &7元"
  175.         send "&7拉霸機的價格與獎賞都有可能變動"
  176.         send "&7使用前 請詳細閱讀公開說明書"
  177.         send "&7============[ &8本機台使用方法 &7]============"
  178.  
  179.  
  180.  
  181. #================================================================================================#
  182. on right click on sign:
  183. #[鐵]
  184.     if line 1 of block is "&f▁▂▃ &4&l777 &f▃▂▁":
  185.         line 4 of block is "||  開始  ||"
  186.         set {玩家資料.%player%::金錢} to {玩家資料.%player%::金錢} parsed as integer
  187.         if {玩家資料.%player%::金錢} < {@鐵_支付金錢}:
  188.             set action bar of player to "{@Tag} &c金錢不足"
  189.             stop
  190.         remove {@鐵_支付金錢} from {玩家資料.%player%::金錢}
  191.         add {@鐵_支付金錢} to {賭場營收}
  192.         set action bar of player to "{@Tag} &c扣除&6{@鐵_支付金錢}&c元"
  193.         set {_機台} to "鋼鐵"
  194. #[金]
  195.     if line 1 of block is "&6▁▂▃ &4&l777 &6▃▂▁":
  196.         line 4 of block is "||  開始  ||"
  197.         set {玩家資料.%player%::金錢} to {玩家資料.%player%::金錢} parsed as integer
  198.         if {玩家資料.%player%::金錢} < {@金_支付金錢}:
  199.             set action bar of player to "{@Tag} &c金錢不足"
  200.             stop
  201.         remove {@金_支付金錢} from {玩家資料.%player%::金錢}
  202.         add {@金_支付金錢} to {賭場營收}
  203.         set action bar of player to "{@Tag} &c扣除&6{@金_支付金錢}&c元"
  204.         set {_機台} to "黃金"
  205. #[鑽]
  206.     if line 1 of block is "&b▁▂▃ &4&l777 &b▃▂▁":
  207.         line 4 of block is "||  開始  ||"
  208.         set {玩家資料.%player%::金錢} to {玩家資料.%player%::金錢} parsed as integer
  209.         if {玩家資料.%player%::金錢} < {@鑽_支付金錢}:
  210.             set action bar of player to "{@Tag} &c金錢不足"
  211.             stop
  212.         remove {@鑽_支付金錢} from {玩家資料.%player%::金錢}
  213.         add {@鑽_支付金錢} to {賭場營收}
  214.         set action bar of player to "{@Tag} &c扣除&6{@鑽_支付金錢}&c元"
  215.         set {_機台} to "鑽石"
  216. #[綠]
  217.     if line 1 of block is "&a▁▂▃ &4&l777 &a▃▂▁":
  218.         line 4 of block is "||  開始  ||"
  219.         set {玩家資料.%player%::金錢} to {玩家資料.%player%::金錢} parsed as integer
  220.         if {玩家資料.%player%::金錢} < {@綠_支付金錢}:
  221.             set action bar of player to "{@Tag} &c金錢不足"
  222.             stop
  223.         remove {@綠_支付金錢} from {玩家資料.%player%::金錢}
  224.         add {@綠_支付金錢} to {賭場營收}
  225.         set action bar of player to "{@Tag} &c扣除&6{@綠_支付金錢}&c元"
  226.         set {_機台} to "綠寶石"
  227. #[黑]
  228.     if line 1 of block is "▁▂▃ &4&l777 &0▃▂▁":
  229.         line 4 of block is "||  開始  ||"
  230.         set {玩家資料.%player%::金錢} to {玩家資料.%player%::金錢} parsed as integer
  231.         if {玩家資料.%player%::金錢} < {@黑_支付金錢}:
  232.             set action bar of player to "{@Tag} &c金錢不足"
  233.             stop
  234.         remove {@黑_支付金錢} from {玩家資料.%player%::金錢}
  235.         add {@黑_支付金錢} to {賭場營收}
  236.         set action bar of player to "{@Tag} &c扣除&6{@黑_支付金錢}&c元"
  237.         set {_機台} to "黑曜石"
  238.  
  239. #[機台運作]
  240.     if {_機台} is "鋼鐵" or "黃金" or "鑽石" or "綠寶石" or "黑曜石":
  241.         loop 60 times:
  242.             set {_欄位1} to a random integer between 1 and 31
  243.             set {_欄位2} to a random integer between 1 and 31
  244.             set {_欄位3} to a random integer between 1 and 31
  245.             if {_欄位1} is between 1 and 3:
  246.                 set {_欄位1} to "&a☸&r"
  247.             if {_欄位1} is between 4 and 6:
  248.                 set {_欄位1} to "&c♥&r"
  249.             if {_欄位1} is between 7 and 9:
  250.                 set {_欄位1} to "&c♦&r"
  251.             if {_欄位1} is between 10 and 12:
  252.                 set {_欄位1} to "♣"
  253.             if {_欄位1} is between 13 and 15:
  254.                 set {_欄位1} to "♠"
  255.             if {_欄位1} is between 16 and 18:
  256.                 set {_欄位1} to "○"
  257.             if {_欄位1} is between 19 and 21:
  258.                 set {_欄位1} to "&9▼&r"
  259.             if {_欄位1} is between 22 and 24:
  260.                 set {_欄位1} to "&4☼&r"
  261.             if {_欄位1} is between 25 and 27:
  262.                 set {_欄位1} to "&6▲&r"
  263.             if {_欄位1} is between 28 and 30:
  264.                 set {_欄位1} to "&5☠&r"
  265.             if {_欄位1} is 31:
  266.                 set {_欄位1} to "&c7&r"
  267.             if {_欄位2} is between 1 and 3:
  268.                 set {_欄位2} to "&a☸&r"
  269.             if {_欄位2} is between 4 and 6:
  270.                 set {_欄位2} to "&c♥&r"
  271.             if {_欄位2} is between 7 and 9:
  272.                 set {_欄位2} to "&c♦&r"
  273.             if {_欄位2} is between 10 and 12:
  274.                 set {_欄位2} to "♣"
  275.             if {_欄位2} is between 13 and 15:
  276.                 set {_欄位2} to "♠"
  277.             if {_欄位2} is between 16 and 18:
  278.                 set {_欄位2} to "○"
  279.             if {_欄位2} is between 19 and 21:
  280.                 set {_欄位2} to "&9▼&r"
  281.             if {_欄位2} is between 22 and 24:
  282.                 set {_欄位2} to "&4☼&r"
  283.             if {_欄位2} is between 25 and 27:
  284.                 set {_欄位2} to "&6▲&r"
  285.             if {_欄位2} is between 28 and 30:
  286.                 set {_欄位2} to "&5☠&r"
  287.             if {_欄位2} is 31:
  288.                 set {_欄位2} to "&c7&r"
  289.             if {_欄位3} is between 1 and 3:
  290.                 set {_欄位3} to "&a☸&r"
  291.             if {_欄位3} is between 4 and 6:
  292.                 set {_欄位3} to "&c♥&r"
  293.             if {_欄位3} is between 7 and 9:
  294.                 set {_欄位3} to "&c♦&r"
  295.             if {_欄位3} is between 10 and 12:
  296.                 set {_欄位3} to "♣"
  297.             if {_欄位3} is between 13 and 15:
  298.                 set {_欄位3} to "♠"
  299.             if {_欄位3} is between 16 and 18:
  300.                 set {_欄位3} to "○"
  301.             if {_欄位3} is between 19 and 21:
  302.                 set {_欄位3} to "&9▼&r"
  303.             if {_欄位3} is between 22 and 24:
  304.                 set {_欄位3} to "&4☼&r"
  305.             if {_欄位3} is between 25 and 27:
  306.                 set {_欄位3} to "&6▲&r"
  307.             if {_欄位3} is between 28 and 30:
  308.                 set {_欄位3} to "&5☠&r"
  309.             if {_欄位3} is 31:
  310.                 set {_欄位3} to "&c7&r"
  311.             set line 2 of block to "%line 4 of block%"
  312.             set line 4 of block to "%line 3 of block%"
  313.             set line 3 of block to "&0|| &r %{_欄位1}% %{_欄位2}% %{_欄位3}%  &0||"
  314.             wait 1 tick
  315.         set line 4 of block to "||  開始  ||"
  316.  
  317.  
  318. #[特獎]
  319.         if {_欄位1} and {_欄位2} and {_欄位3} = "&c7&r":
  320.             if {_機台} is "鋼鐵":
  321.                 add {@鐵_特獎} to {玩家資料.%player%::金錢}
  322.                 remove {@鐵_特獎} from {賭場營收}
  323.                 set action bar of player to "{@Tag} &a獲得&6{@鐵_特獎}&a元"
  324.                 set line 2 of block to "&0||  &6{@鐵_特獎}  &0||"
  325.             if {_機台} is "黃金":
  326.                 add {@金_特獎} to {玩家資料.%player%::金錢}
  327.                 remove {@金_特獎} from {賭場營收}
  328.                 set action bar of player to "{@Tag} &a獲得&6{@金_特獎}&a元"
  329.                 set line 2 of block to "&0||  &6{@金_特獎}  &0||"
  330.             if {_機台} is "鑽石":
  331.                 add {@鑽_特獎} to {玩家資料.%player%::金錢}
  332.                 remove {@鑽_特獎} from {賭場營收}
  333.                 set action bar of player to "{@Tag} &a獲得&6{@鑽_特獎}&a元"
  334.                 set line 2 of block to "&0||  &6{@鑽_特獎}  &0||"
  335.             if {_機台} is "綠寶石":
  336.                 add {@綠_特獎} to {玩家資料.%player%::金錢}
  337.                 remove {@綠_特獎} from {賭場營收}
  338.                 set action bar of player to "{@Tag} &a獲得&6{@綠_特獎}&a元"
  339.                 set line 2 of block to "&0||  &6{@綠_特獎}  &0||"
  340.             if {_機台} is "黑曜石":
  341.                 add {@黑_特獎} to {玩家資料.%player%::金錢}
  342.                 remove {@黑_特獎} from {賭場營收}
  343.                 set action bar of player to "{@Tag} &a獲得&6{@黑_特獎}&a元"
  344.                 set line 2 of block to "&0||  &6{@黑_特獎}  &0||"
  345.             broadcast "{@Tag}  &6恭喜玩家 &b%player% &6贏得了%{_機台}%機台的&4&l777&6特獎"
  346.             stop
  347.  
  348.  
  349. #[大獎]
  350.         if {_欄位1} and {_欄位2} = {_欄位3}:
  351.             if {_機台} is "鋼鐵":
  352.                 add {@鐵_大獎} to {玩家資料.%player%::金錢}
  353.                 remove {@鐵_大獎} from {賭場營收}
  354.                 set action bar of player to "{@Tag} &a獲得&6{@鐵_大獎}&a元"
  355.                 set line 2 of block to "&0||  &6{@鐵_大獎}  &0||"
  356.             if {_機台} is "黃金":
  357.                 add {@金_大獎} to {玩家資料.%player%::金錢}
  358.                 remove {@金_大獎} from {賭場營收}
  359.                 set action bar of player to "{@Tag} &a獲得&6{@金_大獎}&a元"
  360.                 set line 2 of block to "&0||  &6{@金_大獎}  &0||"
  361.             if {_機台} is "鑽石":
  362.                 add {@鑽_大獎} to {玩家資料.%player%::金錢}
  363.                 remove {@鑽_大獎} from {賭場營收}
  364.                 set action bar of player to "{@Tag} &a獲得&6{@鑽_大獎}&a元"
  365.                 set line 2 of block to "&0||  &6{@鑽_大獎}  &0||"
  366.             if {_機台} is "綠寶石":
  367.                 add {@綠_大獎} to {玩家資料.%player%::金錢}
  368.                 remove {@綠_大獎} from {賭場營收}
  369.                 set action bar of player to "{@Tag} &a獲得&6{@綠_大獎}&a元"
  370.                 set line 2 of block to "&0||  &6{@綠_大獎}  &0||"
  371.             if {_機台} is "黑曜石":
  372.                 add {@黑_大獎} to {玩家資料.%player%::金錢}
  373.                 remove {@黑_大獎} from {賭場營收}
  374.                 set action bar of player to "{@Tag} &a獲得&6{@黑_大獎}&a元"
  375.                 set line 2 of block to "&0||  &6{@黑_大獎}  &0||"
  376.             broadcast "{@Tag}  &6恭喜玩家 &b%player% &6贏得了%{_機台}%機台的大獎"
  377.             stop
  378.  
  379.  
  380. #[小獎]
  381.         if {_欄位1} = {_欄位2}:
  382.             if {_機台} is "鋼鐵":
  383.                 add {@鐵_小獎} to {玩家資料.%player%::金錢}
  384.                 remove {@鐵_小獎} from {賭場營收}
  385.                 set action bar of player to "{@Tag} &a獲得&6{@鐵_小獎}&a元"
  386.                 set line 2 of block to "&0||  &6{@鐵_小獎}  &0||"
  387.             if {_機台} is "黃金":
  388.                 add {@金_小獎} to {玩家資料.%player%::金錢}
  389.                 remove {@金_小獎} from {賭場營收}
  390.                 set action bar of player to "{@Tag} &a獲得&6{@金_小獎}&a元"
  391.                 set line 2 of block to "&0||  &6{@金_小獎}  &0||"
  392.             if {_機台} is "鑽石":
  393.                 add {@鑽_小獎} to {玩家資料.%player%::金錢}
  394.                 remove {@鑽_小獎} from {賭場營收}
  395.                 set action bar of player to "{@Tag} &a獲得&6{@鑽_小獎}&a元"
  396.                 set line 2 of block to "&0||  &6{@鑽_小獎}  &0||"
  397.             if {_機台} is "綠寶石":
  398.                 add {@綠_小獎} to {玩家資料.%player%::金錢}
  399.                 remove {@綠_小獎} from {賭場營收}
  400.                 set action bar of player to "{@Tag} &a獲得&6{@綠_小獎}&a元"
  401.                 set line 2 of block to "&0||  &6{@綠_小獎}  &0||"
  402.             if {_機台} is "黑曜石":
  403.                 add {@黑_小獎} to {玩家資料.%player%::金錢}
  404.                 remove {@黑_小獎} from {賭場營收}
  405.                 set action bar of player to "{@Tag} &a獲得&6{@黑_小獎}&a元"
  406.                 set line 2 of block to "&0||  &6{@黑_小獎}  &0||"
  407.             stop
  408.         if {_欄位1} = {_欄位3}:
  409.             if {_機台} is "鋼鐵":
  410.                 add {@鐵_小獎} to {玩家資料.%player%::金錢}
  411.                 remove {@鐵_小獎} from {賭場營收}
  412.                 set action bar of player to "{@Tag} &a獲得&6{@鐵_小獎}&a元"
  413.                 set line 2 of block to "&0||  &6{@鐵_小獎}  &0||"
  414.             if {_機台} is "黃金":
  415.                 add {@金_小獎} to {玩家資料.%player%::金錢}
  416.                 remove {@金_小獎} from {賭場營收}
  417.                 set action bar of player to "{@Tag} &a獲得&6{@金_小獎}&a元"
  418.                 set line 2 of block to "&0||  &6{@金_小獎}  &0||"
  419.             if {_機台} is "鑽石":
  420.                 add {@鑽_小獎} to {玩家資料.%player%::金錢}
  421.                 remove {@鑽_小獎} from {賭場營收}
  422.                 set action bar of player to "{@Tag} &a獲得&6{@鑽_小獎}&a元"
  423.                 set line 2 of block to "&0||  &6{@鑽_小獎}  &0||"
  424.             if {_機台} is "綠寶石":
  425.                 add {@綠_小獎} to {玩家資料.%player%::金錢}
  426.                 remove {@綠_小獎} from {賭場營收}
  427.                 set action bar of player to "{@Tag} &a獲得&6{@綠_小獎}&a元"
  428.                 set line 2 of block to "&0||  &6{@綠_小獎}  &0||"
  429.             if {_機台} is "黑曜石":
  430.                 add {@黑_小獎} to {玩家資料.%player%::金錢}
  431.                 remove {@黑_小獎} from {賭場營收}
  432.                 set action bar of player to "{@Tag} &a獲得&6{@黑_小獎}&a元"
  433.                 set line 2 of block to "&0||  &6{@黑_小獎}  &0||"
  434.             stop
  435.         if {_欄位2} = {_欄位3}:
  436.             if {_機台} is "鋼鐵":
  437.                 add {@鐵_小獎} to {玩家資料.%player%::金錢}
  438.                 remove {@鐵_小獎} from {賭場營收}
  439.                 set action bar of player to "{@Tag} &a獲得&6{@鐵_小獎}&a元"
  440.                 set line 2 of block to "&0||  &6{@鐵_小獎}  &0||"
  441.             if {_機台} is "黃金":
  442.                 add {@金_小獎} to {玩家資料.%player%::金錢}
  443.                 remove {@金_小獎} from {賭場營收}
  444.                 set action bar of player to "{@Tag} &a獲得&6{@金_小獎}&a元"
  445.                 set line 2 of block to "&0||  &6{@金_小獎}  &0||"
  446.             if {_機台} is "鑽石":
  447.                 add {@鑽_小獎} to {玩家資料.%player%::金錢}
  448.                 remove {@鑽_小獎} from {賭場營收}
  449.                 set action bar of player to "{@Tag} &a獲得&6{@鑽_小獎}&a元"
  450.                 set line 2 of block to "&0||  &6{@鑽_小獎}  &0||"
  451.             if {_機台} is "綠寶石":
  452.                 add {@綠_小獎} to {玩家資料.%player%::金錢}
  453.                 remove {@綠_小獎} from {賭場營收}
  454.                 set action bar of player to "{@Tag} &a獲得&6{@綠_小獎}&a元"
  455.                 set line 2 of block to "&0||  &6{@綠_小獎}  &0||"
  456.             if {_機台} is "黑曜石":
  457.                 add {@黑_小獎} to {玩家資料.%player%::金錢}
  458.                 remove {@黑_小獎} from {賭場營收}
  459.                 set action bar of player to "{@Tag} &a獲得&6{@黑_小獎}&a元"
  460.                 set line 2 of block to "&0||  &6{@黑_小獎}  &0||"
  461.             stop
  462.  
  463.  
  464. #[幸運獎]
  465.         else:
  466.             if line 3 of block contains "7":
  467.                 if {_機台} is "鋼鐵":
  468.                     add {@鐵_幸運獎} to {玩家資料.%player%::金錢}
  469.                     remove {@鐵_幸運獎} from {賭場營收}
  470.                     set action bar of player to "{@Tag} &c&lLucky7 &a獲得&6{@鐵_幸運獎}&a元"
  471.                     set line 2 of block to "&0||  &6{@鐵_幸運獎}  &0||"
  472.                 if {_機台} is "黃金":
  473.                     add {@金_幸運獎} to {玩家資料.%player%::金錢}
  474.                     remove {@金_幸運獎} from {賭場營收}
  475.                     set action bar of player to "{@Tag} &c&lLucky7 &a獲得&6{@金_幸運獎}&a元"
  476.                     set line 2 of block to "&0||  &6{@金_幸運獎}  &0||"
  477.                 if {_機台} is "鑽石":
  478.                     add {@鑽_幸運獎} to {玩家資料.%player%::金錢}
  479.                     remove {@鑽_幸運獎} from {賭場營收}
  480.                     set action bar of player to "{@Tag} &c&lLucky7 &a獲得&6{@鑽_幸運獎}&a元"
  481.                     set line 2 of block to "&0||  &6{@鑽_幸運獎}  &0||"
  482.                 if {_機台} is "綠寶石":
  483.                     add {@綠_幸運獎} to {玩家資料.%player%::金錢}
  484.                     remove {@綠_幸運獎} from {賭場營收}
  485.                     set action bar of player to "{@Tag} &c&lLucky7 &a獲得&6{@綠_幸運獎}&a元"
  486.                     set line 2 of block to "&0||  &6{@綠_幸運獎}  &0||"
  487.                 if {_機台} is "黑曜石":
  488.                     add {@綠_幸運獎} to {玩家資料.%player%::金錢}
  489.                     remove {@綠_幸運獎} from {賭場營收}
  490.                     set action bar of player to "{@Tag} &c&lLucky7 &a獲得&6{@黑_幸運獎}&a元"
  491.                     set line 2 of block to "&0||  &6{@黑_幸運獎}  &0||"
  492.                 stop
  493.             else:
  494.                 set action bar of player to "{@Tag} &7什麼也沒有"
  495.                 set line 2 of block to "&0||  &6----  &0||"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top