variables: {chat::chars} = "`1234567890-=][poiuytrewqasdfghjkl;'\/.,mnbvcxz~!@#$%^&*()_+?><|:" on chat: set {_a::*} to {chat::chars} split at "" set {_message} to message replace all " " with "" in {_message} set {_m::*} to {_message} split at "" loop {_m::*}: set {_m} to loop-value-1 set {_x} to false loop {_a::*}: set {_a} to loop-value-2 if {_a} is {_m}: set {_x} to true exit 1 loop if {_x} is false: cancel event send "&cWiadomość zawiera niedozwolone znaki!" to player stop