I'm creating a plugin for a prison server, it is for guards, they do /conf and it takes away all "contraband" items after 15 seconds. If you choose to fight the guard instead it cancels the take away from items. I've got it all figured out, but I don't know how to make it test for a boolean. I want the PvP event to make a variable like {conf.%player%} turn false, so I can check for it after the 15 second period.
I've tried both
if {conf.%player%} is true
and
while {conf.%player%} is true
both of which lead into just clear commands. Sorry for it being such a basic problem but I'm still trying to learn ^-^
I've tried both
if {conf.%player%} is true
and
while {conf.%player%} is true
both of which lead into just clear commands. Sorry for it being such a basic problem but I'm still trying to learn ^-^