variables: {msg} = true command /msgw : permission: msg.wlacz trigger: if arg 1 is "on": set {msg} to true if arg 1 is "off": set {msg} to false on command "/msg" if {msg} is true: execute player command "/msg" if {msg} is false: cancel event send "&4MSG WYLACZONO!