Spróbuj tak:
options:
entityname: ździsio
name: &c&lRegulamin
wait: 5 seconds
koordynaty: "x: 0.0, y: 0.0, z: 0.0" parsed as location
koordynatyNA: "x: 0.0, y: 0.0, z: 0.0" parsed as location
koordynatyNAmessage: &cNie potwiedziles regulaminu! Potwierdz go abys mogl respic sie normalnie!
acceptmessage: &aDziekujemy za zaakceptowanie regulaminu!
kickmessage: &cAby grac na naszym serwerze musisz zaakceptowac regulamin
usagemessage: &cUzyj: /regulamin <potwierdz/odrzuc>
command /regulamin [<text>]:
trigger:
if arg 1 is "potwierdz":
tepelport player to {@koordynaty}
send "{@acceptmessage}"
set {pot::%player%} to true
if arg 1 is "odrzuc":
kick player due to "{@kickmessage}"
if arg 1 is not "odrzuc" or "potwierdz":
send "{@usagemessage}"
on join:
if {pot::%player%} is not true:
teeleport player to {@koordynatyNA}
send "{@koordynatyNAmessage}"
on load:
delete {regulamin::*}
add "Zasada pierwsza: Nie używaj mózgu" to {regulamin::*}
add "Zasada druga: Nie graj tu" to {regulamin::*}
add "Zasada trzecia: Każdy może mieć op" to {regulamin::*}
#(...)
on rightclick on entity:
if event-entity's name is "{@entityname}":
if name of event-entity = "{@name}":
if {reg::%player%} is not set:
set {reg::%player%} to 0
loop {regulamin::*}:
send "%loop-value%" to player
wait {@wait}
clear {reg::%player%}