Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # # # # # # # # # # # #
- # MSG #
- # # # # # # # # # # # #
- command /wiad [<player>] [<text>]:
- trigger:
- if player has permission "rlWiad":
- if arg 2 is set:
- if player-arg is online:
- send "{@podswietlone}Ja {@kolor.wiadomosci}-> %player-arg%: %arg-2%" to player
- send "{@podswietlone}%player% {@kolor.wiadomosci}-> Ja: %arg-2%" to player-arg
- set {gadam.z::%player-arg%} to player
- set {gadam.z::%player%} to player-arg
- else:
- send "{@tag} {@kolor.wiadomosci}Gracz {@podswietlone}%player-arg% {@kolor.wiadomosci}nie jest online!"
- else:
- send "{@tag} {@kolor.wiadomosci}Musisz podac nazwe gracza i wiadomość!" to player
- else:
- send "{@noperm} {@perm}(rlWiad)" to player
- on quit:
- clear {gadam.z::%{gadam.z::%player%}%}
- clear {gadam.z::%player%}
- # # # # # # # # # # # #
- # ODP #
- # # # # # # # # # # # #
- command /odp [<text>]:
- trigger:
- if player has permission "rlOdp":
- if arg is set:
- if {gadam.z::%player%} is set:
- send "{@podswietlone}Ja {@kolor.wiadomosci}-> %{gadam.z::%player%}%: %arg-1%" to player
- send "{@podswietlone}%player% {@kolor.wiadomosci}-> Ja: %arg%" to {gadam.z::%player%}
- else:
- send "{@tag} {@kolor.wiadomosci}Ostatnio z nikim nie pisales!" to player
- else:
- send "{@tag} {@kolor.wiadomosci}Musisz podac tresc wiadomosci!" to player
- else:
- send "{@noperm} {@perm}(rlOdp)" to player
Advertisement
Add Comment
Please, Sign In to add comment