Advertisement
Guest User

Untitled

a guest
Jul 17th, 2016
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. on join:
  2. set {pm.kapat.%player%} to false
  3.  
  4. command /pmtoggle:
  5. trigger:
  6. if {pm.kapat.%player%} is false:
  7. set {pm.kapat.%player%} to true
  8. send "&aArtık Özel Mesaj Almayacaksın"
  9. else:
  10. send "&aArtık Mesaj Atabilirler"
  11. set {pm.kapat.%player%} to false
  12.  
  13. command /msg [<player>] [<text>]:
  14. trigger:
  15. arg 1 is set:
  16. if {pm.kapat.%arg 1%} is true:
  17. execute console command "manudelp %player% essentials.msg"
  18. send "&e%arg 1% &4Özel Mesaj Almak İstemiyor."
  19. wait 5 second
  20. execute console command "manuaddp %player% essentials.msg"
  21. else:
  22. send "&3Gönderen ->&6%player% Mesajı:%arg 2%" to arg 1
  23. else:
  24. send "&4Doğru Kullanım: &6/msg <player> <mesaj>"
  25. command /tell [<player>] [<text>]:
  26. trigger:
  27. arg 1 is set:
  28. if {pm.kapat.%arg 1%} is true:
  29. execute console command "manudelp %player% essentials.tell"
  30. send "&e%arg 1% &4Özel Mesaj Almak İstemiyor."
  31. wait 5 second
  32. execute console command "manuaddp %player% essentials.tell"
  33. else:
  34. send "&3Gönderen ->&6%player% Mesajı:%arg 2%" to arg 1
  35. else:
  36. send "&4Doğru Kullanım: &6/msg <player> <mesaj>"
  37.  
  38.  
  39. command /w [<player>] [<text>]:
  40. trigger:
  41. arg 1 is set:
  42. if {pm.kapat.%arg 1%} is true:
  43. execute console command "manudelp %player% essentials.w"
  44. send "&e%arg 1% &4Özel Mesaj Almak İstemiyor."
  45. wait 5 second
  46. execute console command "manuaddp %player% essentials.w"
  47. else:
  48. send "&3Gönderen ->&6%player% Mesajı:%arg 2%" to arg 1
  49. else:
  50. send "&4Doğru Kullanım: &6/msg <player> <mesaj>"
  51. command /m [<player>] [<text>]:
  52. trigger:
  53. arg 1 is set:
  54. if {pm.kapat.%arg 1%} is true:
  55. execute console command "manudelp %player% essentials.m"
  56. send "&e%arg 1% &4Özel Mesaj Almak İstemiyor."
  57. wait 5 second
  58. execute console command "manuaddp %player% essentials.m"
  59. else:
  60. send "&3Gönderen ->&6%player% Mesajı:%arg 2%" to arg 1
  61. else:
  62. send "&4Doğru Kullanım: &6/msg <player> <mesaj>"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement