#Questions about script errors

15 messages · Page 1 of 1 (latest)

gusty wasp
#

hmmm

strange patrol
#

let me google translate the error lmao

gusty wasp
#

yep

strange patrol
#

ohhh

gusty wasp
#

Script is a script that prevents specific commands from koles Admin Head Admin terrorist attacks.

strange patrol
#

so if obj.text contains any special characters like $ or %, it'll throw an error

#

and there's a malformed pattern that contains a %

#
if Obj.Text:lower():find(string.gsub(v, "[%p%c]", "%%%1")) then
#

try this, it'll escape special characters

gusty wasp
#

ok

strange patrol
gusty wasp
#

wait

#

Will it be solved if I just write that part?

gloomy hedgeBOT
#

studio** You are now Level 2! **studio