Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /kn <number>:
- trigger:
- if {%player%.Coin} > arg-1:
- remove arg-1 from {%player%.coin}
- set {%player%.kajino1} to random integer between 1 and 5
- set {%player%.kajino2} to random integer between 1 and 5
- set {%player%.kajino3} to random integer between 1 and 5
- if {%player%.kajino1} = {%player%.kajino2}:
- if {%player%.kajino2} = {%player%.kajino3}:
- set {kingaku} to arg-1 * 10
- add {kingaku} to {%player%.Coin}
- send "&c%{%player%.kajino1}%"
- send "&c%{%player%.kajino2}%"
- send "&c%{%player%.kajino3}%"
- send "&3&lCongratulations!"
- send "&2You're coin is %{%player%.coin}%!!"
- else:
- send "&c%{%player%.kajino1}%"
- send "&c%{%player%.kajino2}%"
- send "&c%{%player%.kajino3}%"
- send "&4&lOut"
- send "&2You're coin is %{%player%.coin}%!!"
Add Comment
Please, Sign In to add comment