what's wrong with my skript???
me creating variable and event for block command on list {var::list::*} only player can use command
not error but blocked all command



this is funny..... me worked for fix this for 1 weeks but not fixed.....
{var::wl.cmd::*} this is example for list allowed command
how to fix??
can help me please....
me creating variable and event for block command on list {var::list::*} only player can use command
not error but blocked all command
{var::wl.cmd::*} this is example for list allowed command
Code:
on command:
if {var::%player%} is set:
if command is not {var::wl.cmd::*}
cancel event
send "{@prefix}{@dg_cmd_not_allow}" to player
send "{@prefix}{@dg_cmd_can_allow}" to player
stop
how to fix??
can help me please....