Advertisement
Guest User

sfBroadcast

a guest
Nov 27th, 2014
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. options:
  2.  
  3. #-#Tag skryptu
  4. tag: &8[&cBROADCAST&8]
  5.  
  6. #-#Brak uprawnien
  7. nonperm: &fBrak uprawnien.
  8.  
  9. #-#Wpisz tekst
  10. notxt: &cfMusisz wpisac tekst
  11.  
  12. #@--------------@#
  13. # KOD #
  14. #@--------------@#
  15.  
  16. #@--------------@#
  17. # KOMENDY @#
  18. #@--------------@#
  19.  
  20. #@--------------@#
  21. # BROADCAST #
  22. #@--------------@#
  23.  
  24. command /broadcast [<text>]:
  25. trigger:
  26. if arg 1 is set:
  27. if player has permission "sf.broadcast":
  28. send "{@tag} %coloured arg%" to all players
  29. stop
  30. else:
  31. send "{@nonperm}" to player
  32. stop
  33. else:
  34. send "{@tag} {@notxt}" to player
  35. stop
  36.  
  37. #@--------------@#
  38. # BC #
  39. #@--------------@#
  40.  
  41. command /bc [<text>]:
  42. trigger:
  43. if arg 1 is set:
  44. if player has permission "sf.broadcast":
  45. send "{@tag} %coloured arg%" to all players
  46. stop
  47. else:
  48. send "{@nonperm}" to player
  49. stop
  50. else:
  51. send "{@tag} {@notxt}" to player
  52. stop
  53.  
  54. #@--------------@#
  55. # SAY #
  56. #@--------------@#
  57.  
  58. command /say [<text>]:
  59. trigger:
  60. if arg 1 is set:
  61. if player has permission "sf.broadcast":
  62. send "{@tag} %coloured arg%" to all players
  63. stop
  64. else:
  65. send "{@nonperm}" to player
  66. stop
  67. else:
  68. send "{@tag} {@notxt}" to player
  69. stop
  70.  
  71. #---#-END SKRIPT-#---#
  72. #---#- AUTOR -#---#
  73. #---#- SMEERF -#---#
  74. #---#-END SKRIPT-#---#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement