SkiLLerK_1337

Untitled

Dec 27th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. command /loop [<number>] [<text>]:
  2. permission: loop
  3. trigger:
  4. if arg 1 or arg 2 is not set:
  5. send "&cError! /loop <number> <message/command>"
  6. stop
  7. if arg 1 > 1000:
  8. stop
  9. if arg 2 contains "/":
  10. loop arg 1 times:
  11. execute player command "%arg 2%"
  12. else:
  13. loop arg 1 times:
  14. broadcast "%colored arg 2%"
Advertisement
Add Comment
Please, Sign In to add comment