on sign change:
if line 1 of event-block is "[sell]":
set {_ln3} to line 3 of event-block
set {_ln4} to line 4 of event-block
replace all "$" with "B" in {_ln4}
set line 1 of event-block to "Shop"
set line 4 of event-block to {_ln3}
set line 3 of event-block to {_ln4}
NIE MASZ CANCELOWANIA EVENTU W IFIE Z INVENTORY OD VIPA TO JAK CHCESZ BLOKOWAĆ KLIKANIE W TE INVENTORY? TROCHĘ LOGIKI, SAMO SIĘ NIE DODA, tak jest jak się pewnie kradnie kod
on command:
if command is "baza":
if player's guild is not set:
Send "nie masz gildii"
Stop
set {_location} to player's location
set {_sek} to 10
while (distance between {_location} and player's location) <= 0.25:
if {_sek} > 0:
send player title "&6Teleportacja" with subtitle "&7Pozostalo: &6%{_sek}%" for 2 second
remove 1 from {_sek}
else:
send player title "&6Teleportacja" with subtitle "&aTeleportacja" for 2 second
stop
send player title "&6Teleportacja" with subtitle "&cPrzerwano teleport" for 2 second
command /godzina [<text>]:
trigger:
set {_godzina} to skUtil "%now%" parsed as date formatted as "dd.MM.yy HH:mm"
send "%{_godzina}%"
Wymagane skUtilities wgl format daty możesz zmienić w configu
on command:
if command is "baza":
set {_location} to player's location
set {_sek} to 10
while (distance between {_location} and player's location) <= 0.25:
if {_sek} > 0:
send player title "&6Teleportacja" with subtitle "&7Pozostalo: &6%{_sek}%" for 2 second
remove 1 from {_sek}
else:
send player title "&6Teleportacja" with subtitle "&aTeleportacja" for 2 second
stop
send player title "&6Teleportacja" with subtitle "&cPrzerwano teleport" for 2 second
jak zdarzy się że funnyguilds przerwał teleport przez malutkie poruszenie się a odliczanie dalej idzie, zmień 0.25 na jakąś mniejszą wartość (może być nawet 0)
zarządzanie polega na tym, że to serwer ma być "uległy" potencjalnemu użytkownikowi, a nie on serwerowi
mu na tym nie zależy, jak miałby zainstalować specjalnie załóżmy jakiś inny program który załóżmy waży 5GB, jemu nie będzie mu się chciało i pójdzie na inny serwer.
tak to działa