The error: There's no block in a periodical event (foglalos.sk, line 37: if line 2 of block is "Jobb katt ideide":')
The skript:
command /foglaló [<text>]:
permission: foglalo.admin
permission message: &cEhhez nincs jogod! &4(foglalo.admin)
trigger:
if arg-1 is not set:
message "&cHasználat:"
message "&a/foglaló setup &7- Foglaló minigame beállítása"
message "&a/foglaló verzió &7- A minigame skript jelenlegi verziója"
message "&a/foglaló author &7- &A skript fejlesztői"
if arg-1 is set:
if arg-1 is "setup":
message "&6[&e&lFoglaló&6] &7» &eDominik meg kéne ezt írni"
else:
if arg-1 is "verzió":
message "&6[&e&lFoglaló&6] &7» &eA skript jelenlegi verziója, ami a szerveredben van: &60.1"
else:
if arg-1 is "author":
message "&6[&e&lFoglaló&6] &7» &eA skript fejlesztői: &6dominikd & JackieX99"
else:
message "&aHelytelen használat! Használd a &c/foglaló &aparancsot, hogy kilistázd a helyes parancsokat!"
on sign change:
if line 1 of block is "[foglaloset]":
set line 1 of block to "&l[Foglaló]"
set line 2 of block to "Jobb katt ide"
set line 3 of block to "&lStátusz: -"
set line 4 of block to "&lHely: 0/0"
on right click on sign:
if line 1 of block is "&l[Foglaló]":
add 1 to {jatekosok.szam}
command /quit:
Trigger:
remove 1 from {jatekosok.szam}
every 1 seconds:
if line 2 of block is "Jobb katt ide":
Trigger:
set line 4 of block to "&lHely: {jatekosok.szam}/16"
command /kula:
trigger:
message "{jatekosok.szam}"
The skript:
command /foglaló [<text>]:
permission: foglalo.admin
permission message: &cEhhez nincs jogod! &4(foglalo.admin)
trigger:
if arg-1 is not set:
message "&cHasználat:"
message "&a/foglaló setup &7- Foglaló minigame beállítása"
message "&a/foglaló verzió &7- A minigame skript jelenlegi verziója"
message "&a/foglaló author &7- &A skript fejlesztői"
if arg-1 is set:
if arg-1 is "setup":
message "&6[&e&lFoglaló&6] &7» &eDominik meg kéne ezt írni"
else:
if arg-1 is "verzió":
message "&6[&e&lFoglaló&6] &7» &eA skript jelenlegi verziója, ami a szerveredben van: &60.1"
else:
if arg-1 is "author":
message "&6[&e&lFoglaló&6] &7» &eA skript fejlesztői: &6dominikd & JackieX99"
else:
message "&aHelytelen használat! Használd a &c/foglaló &aparancsot, hogy kilistázd a helyes parancsokat!"
on sign change:
if line 1 of block is "[foglaloset]":
set line 1 of block to "&l[Foglaló]"
set line 2 of block to "Jobb katt ide"
set line 3 of block to "&lStátusz: -"
set line 4 of block to "&lHely: 0/0"
on right click on sign:
if line 1 of block is "&l[Foglaló]":
add 1 to {jatekosok.szam}
command /quit:
Trigger:
remove 1 from {jatekosok.szam}
every 1 seconds:
if line 2 of block is "Jobb katt ide":
Trigger:
set line 4 of block to "&lHely: {jatekosok.szam}/16"
command /kula:
trigger:
message "{jatekosok.szam}"