on chat:
if message contains "##":
loop length of message times:
if subtext of message between index loop-number and loop-number is "##":
add loop-number to {_count::*}
loop floor(size of {_count::*}/2) times:
set {_first} to loop-value*2-1
set {_second} to loop-value*2
add subtext of message between index {_count::%{_first}%} and {_count::%{_second}%} to {_replace::*}
loop {_replace::*}:
replace loop-value with "&2%loop-value%&f" in message
Dla chcącego nic trudnego
options:
item: sugar named "&6cos"
on rightclick on player:
if name of clicked player is "Nazwa NPC":
if player has 1 of {@item}:
open chest with 3 rows named "tajne sprzedawanie" to player
loop 9 times:
set player's current inventory's slot (loop-number - 1) to gray glass pane named ""
set player's current inventory's slot 4 to light green wool named "Sprzedaj"
else:
send "Nie masz narkotykow do sprzedania!" to player
on inventory click:
if inventory name of current inventory of player is "tajne sprzedawanie":
cancel event
if clicked slot is 4:
chance of 30%:
loop all players:
if loop-player has permission "rp.policjant":
send "&c&lZgłoszenie&f: Podejrzany człowiek handluje narkotykami na %x-loc of player%, %y-loc of player%, %z-loc of player%" to loop-player
remove 1 of {@item} from player
add 50 to player's balance
Nie polecam tego serwera, właściciel opiera budowanie tego serwera, community na kłamstwie i oszukiwaniu swoich graczy.
- Brak kultury
- Kłamanie
- Oszustwa
Przestrzegam przed wchodzeniem z nim współpracę, w dodatku spawn na screenshotach z serwera należy do mnie i właściciel tematu nie ma prawa z niego korzystać.