Jump to content

Blocking Name Colors


crismar

Recommended Posts

Posted

Howdy, I was wondering if there is a function to detect if a name is using Hex color codes ? I want to automatically change names when they have colorcodes.

F.e:

#FF0000TestName will become TestName

Posted
You can use string.gsub for that.

Yes but I would search for a '#' in the name then 6 follwing characters, what if I just have a name like #BaNaNa and I'd remove his entire name ?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...