BloodHead2001

SkDownload

Oct 11th, 2014
450
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. #----------------------------------------------------------
  2. # OD AUTORA
  3. #Autor: Twaq
  4. #Nazwa: SkDownload
  5. #Wersja: 1.0
  6. #Zycze milej zabawy :D
  7. #----------------------------------------------------------
  8. command /skd [<text>] [<text>] [<text>]:
  9. trigger:
  10. if arg 1 is not set:
  11. if arg 2 is not set:
  12. if arg 3 is not set:
  13. if player has permission "skd.admin":
  14. send "&c-------- &a[SK-DOWNLOAD] &c--------"
  15. send " &3* &2/skd down [LINK DO PASTEBINA] [NAZWA SKRIPTU]"
  16. send "&c-------- &a[SK-DOWNLOAD] &c--------"
  17. if arg 1 is "down":
  18. if arg 2 is set:
  19. if arg 3 is set:
  20. if player has permission "skd.down":
  21. send "&aPobieranie skriptu. CZEKAJ!"
  22. download from "%arg 2%" to file "plugins/Skript/scripts/%arg 3%.sk"
  23. wait 2 tick
  24. send "&aPobieranie skriptu. GOTOWE!"
  25. run player command "sk reload %arg 3%" as op
  26. stop
Add Comment
Please, Sign In to add comment