on skript load:
If folder "plugins/Skript/warpvip" doesn't exist:
create folder "plugins/Skript/warpvip"
stop
command /stworzwarp [<text>]:
permission: "warp.stworz"
trigger:
if arg 1 is set:
If folder "plugins/Skript/warpvip/%arg 1%" doesn't exist:
If folder "plugins/Skript/warpvip/%player%" doesn"t exist:
create folder "plugins/Skript/warpvip/%arg 1%"
create folder "plugins/Skript/warpvip/%player%"
create folder "plugins/Skript/warpvip/%arg 1%/%player%"
setwarp %arg 1%
else:
stop
else:
stop
else:
stop
command /usunwarp [<text>]:
permission: "warp.usun"
trigger:
if arg 1 is set:
If folder "plugins/Skript/warpvip/%arg 1%" has exist:
If folder "plugins/Skript/warpvip/%player%" has exist:
If folder "plugins/Skript/warpvip/%arg 1%/%player%" has exist:
delete folder "plugins/Skript/warpvip/%arg 1%"
delete folder "plugins/Skript/warpvip/%player%"
delete folder "plugins/Skript/warpvip/%arg 1%/%player%"
delwarp %arg 1%
else:
stop
else:
stop
else:
stop
else:
stop
a tu bledy:
[18:50:00 INFO]: [Skript] Reloading the config and all scripts...
[18:50:02 INFO]: Loaded 17862 aliases in 1819ms
[18:50:02 ERROR]: indentation error: expected 4 tabs, but found 3 tabs (vip i warp.sk, line 4: create folder "plugins/Skript/warpvip"')
[18:50:02 ERROR]: indentation error: expected 4 tabs, but found 3 tabs (vip i warp.sk, line 5: stop')
[18:50:02 WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (vip i warp.sk, line 3: If folder "plugins/Skript/warpvip" doesn't exist:')
[18:50:02 ERROR]: indentation error: expected 4 spaces, but found 1 tab (vip i warp.sk, line 9: trigger:')
[18:50:02 ERROR]: indentation error: expected 4 spaces, but found 2 tabs (vip i warp.sk, line 10: if arg 1 is set:')
[18:50:02 ERROR]: indentation error: expected 4 spaces, but found 3 tabs (vip i warp.sk, line 11: If folder "plugins/Skript/warpvip/%arg 1%" doesn't exist:')
[18:50:02 ERROR]: indentation error: expected 4 spaces, but found 4 tabs (vip i warp.sk, line 12: If folder "plugins/Skript/warpvip/%player%" doesn"t exist:')
[18:50:02 ERROR]: indentation error: expected 4 spaces, but found 5 tabs (vip i warp.sk, line 13: create folder "plugins/Skript/warpvip/%arg 1%"')
[18:50:02 ERROR]: indentation error: expected 4 spaces, but found 5 tabs (vip i warp.sk, line 14: create folder "plugins/Skript/warpvip/%player%"')
[18:50:02 ERROR]: indentation error: expected 4 spaces, but found 5 tabs (vip i warp.sk, line 15: create folder "plugins/Skript/warpvip/%arg 1%/%player%"')
[18:50:02 ERROR]: indentation error: expected 4 spaces, but found 5 tabs (vip i warp.sk, line 16: setwarp %arg 1%')
[18:50:02 ERROR]: indentation error: expected 4 spaces, but found 4 tabs (vip i warp.sk, line 17: else:')
[18:50:02 ERROR]: indentation error: expected 4 spaces, but found 5 tabs (vip i warp.sk, line 18: stop')
[18:50:02 ERROR]: indentation error: expected 4 spaces, but found 3 tabs (vip i warp.sk, line 19: else:')
[18:50:02 ERROR]: indentation error: expected 4 spaces, but found 4 tabs (vip i warp.sk, line 20: stop')
[18:50:02 ERROR]: indentation error: expected 4 spaces, but found 2 tabs (vip i warp.sk, line 21: else:')
[18:50:02 ERROR]: indentation error: expected 4 spaces, but found 3 tabs (vip i warp.sk, line 22: stop')
[18:50:02 ERROR]: can't understand this condition: 'folder "plugins/Skript/warpvip" doesn't exist' (vip i warp.sk, line 3: If folder "plugins/Skript/warpvip" doesn't exist:')
[18:50:02 ERROR]: Required entry 'trigger' is missing in 'command /stworzwarp [<text>]' (vip i warp.sk, starting at line 7) (vip i warp.sk, line 8: permission: "warp.stworz"')
[18:50:02 ERROR]: can't understand this condition: 'folder "plugins/Skript/warpvip/%arg 1%" has exist' (vip i warp.sk, line 30: If folder "plugins/Skript/warpvip/%arg 1%" has exist:')
[18:50:02 ERROR]: 'else' has to be placed just after an 'if' or 'else if' section (vip i warp.sk, line 41: else:')
[18:50:02 INFO]: Loaded 1 script with a total of 1 trigger and 2 commands in 0.04 seconds
[18:50:02 INFO]: [Skript] Encountered 20 errors while reloading the config and all scripts!
Pytanie
michal095 0
Zobaczylby ktos co w tym skrypcie jest zle?
a tu bledy:
Wstawiam w code i spoiler.
Notatka dodana przez stefanik11
Odnośnik do komentarza
https://skript.pl/temat/30783-warp-dla-vipa/Udostępnij na innych stronach
15 odpowiedzi na to pytanie
Rekomendowane odpowiedzi