MrNorbertPL24

Untitled

Jun 19th, 2014
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. command /fakemsg [<text>]:
  2. trigger:
  3. if player has permissions "fakemsg.*" or "zitcraft.*":
  4. arg 1 is set:
  5. loop all players:
  6. set {_cmd} to "%colored arg 1%"
  7. replace all "{p}" with "%loop-player%" in {_cmd}
  8. replace all "{player}" with "%loop-player%" in {_cmd}"
  9. replace all "%p" with "%loop-player%" in {_cmd}
  10. send "%{_cmd}%" to loop-player
Advertisement
Add Comment
Please, Sign In to add comment