Guest User

pomoc

a guest
Apr 9th, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. # # # # # # # # # # # #
  2. # MSG #
  3. # # # # # # # # # # # #
  4. command /wiad [<player>] [<text>]:
  5. trigger:
  6. if player has permission "rlWiad":
  7. if arg 2 is set:
  8. if player-arg is online:
  9. send "{@podswietlone}Ja {@kolor.wiadomosci}-> %player-arg%: %arg-2%" to player
  10. send "{@podswietlone}%player% {@kolor.wiadomosci}-> Ja: %arg-2%" to player-arg
  11. set {gadam.z::%player-arg%} to player
  12. set {gadam.z::%player%} to player-arg
  13. else:
  14. send "{@tag} {@kolor.wiadomosci}Gracz {@podswietlone}%player-arg% {@kolor.wiadomosci}nie jest online!"
  15. else:
  16. send "{@tag} {@kolor.wiadomosci}Musisz podac nazwe gracza i wiadomość!" to player
  17. else:
  18. send "{@noperm} {@perm}(rlWiad)" to player
  19.  
  20. on quit:
  21. clear {gadam.z::%{gadam.z::%player%}%}
  22. clear {gadam.z::%player%}
  23.  
  24. # # # # # # # # # # # #
  25. # ODP #
  26. # # # # # # # # # # # #
  27. command /odp [<text>]:
  28. trigger:
  29. if player has permission "rlOdp":
  30. if arg is set:
  31. if {gadam.z::%player%} is set:
  32. send "{@podswietlone}Ja {@kolor.wiadomosci}-> %{gadam.z::%player%}%: %arg-1%" to player
  33. send "{@podswietlone}%player% {@kolor.wiadomosci}-> Ja: %arg%" to {gadam.z::%player%}
  34. else:
  35. send "{@tag} {@kolor.wiadomosci}Ostatnio z nikim nie pisales!" to player
  36. else:
  37. send "{@tag} {@kolor.wiadomosci}Musisz podac tresc wiadomosci!" to player
  38. else:
  39. send "{@noperm} {@perm}(rlOdp)" to player
Advertisement
Add Comment
Please, Sign In to add comment