Advertisement
W1c3k

BroadCast/Msg/HelpOP

Feb 21st, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. #SKRYPT BY W1C3K
  2. #MAM 11 LAT WIEC NIE HEJTUJ!
  3. #NIE POZWALAM NA:
  4. #PODSZYWANIE SIE POD AUTORA!
  5. #POZWALAM NA:
  6. #UDOSTEPIANIE NA INNYCH STRONACH!
  7. #ZMIENIANIE PERMISSI ORAZ WIADOMOSCI!
  8. #POZDRAWIAM
  9.  
  10. options:
  11. hp: &8[&c&lHelpOp&8]
  12. msg: &8[&c&lMSG&8]
  13. bc: &8[&c&lWalkCraft.ench.pl&8] &r&7&l
  14.  
  15.  
  16. #HELPOP
  17.  
  18. command /helpop [<text>]:
  19. trigger:
  20. if arg 1 is not set:
  21. send "{@hp} &7Poprawne uzycie: &c/helpop <wiadomosc>&7!"
  22. stop
  23. if arg 1 is set:
  24. loop all players:
  25. if loop-player has permissions "el.helpop":
  26. send "{@hp} &c%player%&8: &7%arg 1%" to loop-player
  27. send "{@hp} &cWiadomosc zostala wyslana!"
  28.  
  29. #MSG
  30.  
  31. command /msg [<offlineplayer>] [<text>]:
  32. aliases: m
  33. trigger:
  34. if arg 1 is not set:
  35. send "{@msg} &7Poprawne uzycie &c/msg <gracz> <wiadomosc>&7!"
  36. stop
  37. if arg 1 is set:
  38. if offlineplayer-arg is online:
  39. if arg 2 is set:
  40. send "&8[&cJa &8-> &c%arg 1%&8] &7%arg 2%"
  41. send "&8[&c%player% &8-> &cJa&8] &7%arg 2%" to offlineplayer-arg 1
  42. else:
  43. send "{@msg} &7Podaj wiadomosc!"
  44. stop
  45. else:
  46. send "{@msg} &7Ten gracz jest Offline!"
  47. stop
  48.  
  49. #BC
  50.  
  51. command /bc [<text>]:
  52. aliases: broadcast
  53. trigger:
  54. if player has permission "el.bc":
  55. if arg 1 is set:
  56. loop all players:
  57. send "{@bc}%arg 1%" to loop-player
  58. else:
  59. send "{@bc} &7Musisz podac wiadomosc!"
  60. stop
  61. else:
  62. send "&7Brak permissi! &8(&cel.bc&8)&7!"
  63. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement