Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #----------------------------------------------------------
- # OD AUTORA
- #Autor: Twaq
- #Nazwa: SkDownload
- #Wersja: 1.0
- #Zycze milej zabawy :D
- #----------------------------------------------------------
- command /skd [<text>] [<text>] [<text>]:
- trigger:
- if arg 1 is not set:
- if arg 2 is not set:
- if arg 3 is not set:
- if player has permission "skd.admin":
- send "&c-------- &a[SK-DOWNLOAD] &c--------"
- send " &3* &2/skd down [LINK DO PASTEBINA] [NAZWA SKRIPTU]"
- send "&c-------- &a[SK-DOWNLOAD] &c--------"
- if arg 1 is "down":
- if arg 2 is set:
- if arg 3 is set:
- if player has permission "skd.down":
- send "&aPobieranie skriptu. CZEKAJ!"
- download from "%arg 2%" to file "plugins/Skript/scripts/%arg 3%.sk"
- wait 2 tick
- send "&aPobieranie skriptu. GOTOWE!"
- run player command "sk reload %arg 3%" as op
- stop
Add Comment
Please, Sign In to add comment