on sign change:
if line 1 is "[PaySign]":
if (line 2 parsed as offlineplayer) has played before:
if line 3 is number:
set line 1 to "&a[PaySign]"
send "stworzyles tabliczke"
stop
set event-block to air
stop
set event-block to air
stop
on rightclick on sign:
if line 1 is "&a[PaySign]":
if (line 2 parsed as offlineplayer) has played before:
if line 3 is number:
set {_player} to (line 2 parsed as offlineplayer)
if player's blanace >= (line 3 parsed as number):
remove (line 3 parsed as number) from player's balance
add (line 3 parsed as number) to {_player}'s balance
send "przelales hajs, wow"
if {_player} is online:
send "%player% skorzystal z Twojej tabliczki +&a%line 3%$" to ({_player} parsed as player)
stop
stop
send "nie masz tyle hajsu"
stop
dawno nie bawiłem się tabliczkami, więc nie wiem czy zadziała.
jest to bez sygnału redstone, bo nie mam pojęcia jak to wykonać ;c