Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /o [<text>]:
- trigger:
- if arg-1 is set:
- loop players in radius 10 around player:
- send "&8[&9&lOOC&8] &f%player%&7: &8(%arg-1%)" to loop-players
- else:
- send "&e[!] &7Pamietaj, gdy chcesz skorzystac z chatu OOC: /o [wiadomosc]"
- on chat:
- set {%player%.tmsg} to message
- replace "(" with "" in {%player%.tmsg}
- if message is "(%{%player%.tmsg}%" or "(%{%player%.tmsg}%)":
- delete {%player%.tmsg}
- cancel event
- set {_msg} to message
- set {_msg} to "&8%{_msg}%"
- loop all players:
- if distance between player and loop-player is less than or equal to 10:
- send "&8[&4&lOOC&8] &f%player%&7: %{_msg}%" to loop-player
- command /me [<text>]:
- trigger:
- if arg 1 is set:
- set {%player%::prefix} to colored prefix of the player
- replace all " " with "" in {%player%::prefix}
- loop players in radius 10 around player:
- send "&8[L] &6* %{%player%::prefix}% &e%arg-1% &6*" to loop-players
- delete {%player%.prefix}
- else:
- send "&e[!] &7Pamietaj, gdy piszesz akcje: /me [wiadomosc]"
- on chat:
- if message contains "*":
- set message to "&e%message%"
- command /do [<text>]:
- trigger:
- if arg 1 is set:
- set {%player%::prefix} to colored prefix of the player
- replace all " " with "" in {%player%::prefix}
- loop players in radius 10 around player:
- send "&8[L] &6** &e%arg-1% &8(%{%player%::prefix}%&8) &6**" to loop-players
- delete {%player%.prefix}
- else:
- send "&e[!] &7Pamietaj, gdy opisujesz otoczenie itd.: /do [wiadomosc]"
- command /nar-global [<text>]:
- permission: lumos.nar
- trigger:
- if arg 1 is set:
- broadcast "&4[G] &e&l[**%arg 1%**]"
- if arg 1 is not set:
- send "&7Poprawne uzycie: &6/nar-global (akcja)"
- command /nar [<text>]:
- permission: lumos.nar
- trigger:
- if arg 1 is set:
- loop players in radius 20 around player:
- send "&4[L] &e&l[**%arg 1%**]" to loop-players
- else:
- send "&e[!] &7Poprawne uzycie: &6/nar (akcja)"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement