View Single Post
10/14/23, 04:20 PM   #4
sinnereso
AddOn Author - Click to view addons
Join Date: Oct 2022
Posts: 247
this seems to be working so far:

Code:
victomCharacterName = victomCharacterName:sub(victomCharacterName:find("^[%w ]+"))
im no expert on other languages but my goal is to keep only alphanumeric and spaces from left to right which will filter out the ^Mx etc. Giving this a whorl a bit here to see if I get the rare error.

EDIT: Still gettin the random error.. ill have to revert back to stock CHARACTER NAME^Mx chat output for now until I get get it sorted. I thought I was gonna be a simple fix.

Last edited by sinnereso : 10/14/23 at 05:00 PM.
  Reply With Quote