Guest User

Szpieg

a guest
Aug 8th, 2016
439
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  2. # Autor: Replay (ReyGran) #
  3. # Skype: replay_games #
  4. # Version: 1.1 AFK UPDATA #
  5. # Tu mnie znajdziesz: #
  6. # irongames.ench.pl (ToNieReklama)#
  7. #-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
  8.  
  9. command /szpieg [<text>] [<text>]:
  10. usage: /szpieg gracz on/off
  11. permission: szpieg.*
  12. permission message: &cBrak Permisji.
  13. trigger:
  14. if arg 1 is set:
  15. if arg 2 is "join":
  16. broadcast "&e%arg 1% join the game."
  17. execute console command "vanish %arg 1%"
  18. if arg 1 is set:
  19. if arg 2 is "left":
  20. broadcast "&e%arg 1% left the game."
  21. execute console command "vanish %arg 1%"
  22. if arg 1 is set:
  23. if arg 2 is "afk":
  24. if {afk.%arg 1%} is 0:
  25. broadcast "&5Gracz %arg 1% jest teraz AFK!"
  26. add 1 to {afk.%arg 1%}
  27. else:
  28. broadcast "&5Gracz %arg 1%" nie jest już AFK!
  29. remove 1 from {afk.%arg 1%}
Advertisement
Add Comment
Please, Sign In to add comment