Guest User

Untitled

a guest
Jul 27th, 2017
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. variables:
  2. {msg::%player%} = true
  3. command /msg [<player>] [<text>]:
  4. aliases: /m, /tell, /w, /wiadomosc
  5. trigger:
  6. if arg 1 is set:
  7. if arg 2 is set:
  8. if {msg::%player-arg%} is true:
  9. send "&8[&3Ja &8--> &3%player-arg%&8]: &b%arg 2%" to player
  10. send "&8[&3%player-arg% &8--> &3Ja&8]: &b%arg 2%" to arg 1
  11. set {R.%name of player%} to arg 1
  12. else:
  13. send "&3%player-arg% &cma wylaczone msg"
  14. else:
  15. send "&7Poprawne uzycie: &3/msg <Nick> <Text>"
  16. else:
  17. send "&7Poprawne uzycie: &3/msg <Nick> <Text>"
  18. command /msgr:
  19. trigger:
  20. if {msg::%player%} is true:
  21. set {msg::%player%} to false
  22. send "&7Msg zostalo &cwylaczone&7!"
  23. else:
  24. set {msg::%player%} to true
  25. send "&7Msg zostalo &awlaczone&7!"
  26. command /r [<text>]:
  27. trigger:
  28. if {R.%name of player%} is set:
  29. if arg 1 is set:
  30. execute player command "msg %{R.%name of player%}% %arg 1%"
  31. else:
  32. send "&7Poprawne uzycie: &3/r <Text>"
  33. else:
  34. send "&7Z nikim wczesniej nie pisales!"
Advertisement
Add Comment
Please, Sign In to add comment