Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- variables:
- {rank.%player%} = 1
- command /arvo <player> [<number>]:
- usage: /arvo <pelaaja> [1=pelaaja; 2=Hero; 3=Superior; 4=Ylläpito]
- trigger:
- if arg-2 is not set:
- message "&7Pelaajan &6%player-arg%&7 arvo on: %{rank.%arg-2%}%"
- stop
- set {rank.%player-arg's uuid%} to arg-2
- message "&7Pelaajan &6%player-arg%&7 arvo on nyt: %{rank.%arg-2%}%"
- send "&7Arvosi on nyt: %{rank.%arg-2%}%" to player-arg
- if {rank.%player-arg's uuid%}
- on chat:
- cancel event
- if {rank.%player's uuid%} is 1:
- message "&8&lPELAAJA&r&8 %player% &8► &7%message%." to all players
- if {rank.%player's uuid%} is 2:
- message "&b&lHERO&r&b %player% &8► &7%message%." to all players
- if {rank.%player's uuid%} is 3:
- message "&f&lSUPERIOR&r&f %player% &8► &7%message%." to all players
- if {rank.%player's uuid%} is 4:
- message "&6&lYLLÄPITO&r&6 %player% &8► &7%message%." to all players
- if "%message%" contains "vittu" or "paska" or "homo" or "perkele" or "helvetti" or "saatana":
- message "&cSiisti suusi, tai sinut voidaan hiljentää!"
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement