Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #tell, reply
- command /tell [<offline player>] [<text>]:
- aliases: /msg, /w, /whisper
- trigger:
- if sender is player:
- if player has permission "tell.command":
- if argument 1 is set:
- if argument 1 isn't "%player%":
- if argument 1 is online:
- if argument 2 is set:
- set {tell::%player's uuid%::reply} to argument 1
- set {tell::%uuid of argument 1%::reply} to player
- message "&3Ja -> %argument 1%: &b%argument 2%" to player
- message "&3%player% -> Ja: &b%argument 2%" to argument 1
- else:
- message "&7Poprawne uzycie: &c/tell <player> [text...]" to player
- else:
- message "&cNie odnaleziono podanego gracza!" to player
- else:
- message "&cWystapil blad, sproboj ponnownie!" to player
- else:
- message "&7Poprawne uzycie: &c/tell <player> [text...]" to player
- else:
- message "&4Nie masz dostepu do tej komendy!" to player
- else:
- message "&cNie mozesz uzyc tej komendy z poziomu konsoli!" to sender
- command /reply [<text>]:
- aliases: /r
- trigger:
- if sender is player:
- if player has permission "tell.command":
- if argument 1 is set:
- if {tell::%player's uuid%::reply} is set:
- if {tell::%player's uuid%::reply} is online:
- message "&3Ja -> %{tell::%player's uuid%::reply}%: &b%argument 1%" to player
- message "&3%player% -> Ja: &b%argument 1%" to {ess::%player's uuid%::reply}
- else:
- message "&cWystapil blad, sproboj ponnownie!" to player
- else:
- message "&cWystapil blad, sproboj ponnownie!" to player
- else:
- message "&7Poprawne uzycie: &c/reply [text...]" to player
- else:
- message "&4Nie masz dostepu do tej komendy!" to player
- else:
- message "&cNie mozesz uzyc tej komendy z poziomu konsoli!" to sender
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement