Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /spr:
- trigger:
- set {_m} to balance of player
- set {_m} to {_m} parsed as number
- set {_max} to 200
- set {_max} to {_max} parsed as number
- set {_w} to {_m} / {_max} * 100
- if {_m} is larger than {_max}:
- send "Procent twoich pieniedzy z 200 to: 100%%"
- stop
- send "Procent twoich pieniędzy z 200 to: %{_w}%%%"
Advertisement
Add Comment
Please, Sign In to add comment