General > Developers Corner
This thread's OP is a lua n00b
Eccid:
--- Quote from: Ven01273 on January 10, 2014, 08:33:29 PM ---And from your code, it only seems to work with the first word.
:/
--- End quote ---
I just retested it, it works no matter where I put the word, even sandwiched between other words without spaces. Did you change anything?
--- Quote from: Ven01273 on January 10, 2014, 06:52:14 PM ---I hope you guys have read the first sentence of my post.
I didn't exactly want someone to right it for me.
Just wanted to know what I did wrong.
--- End quote ---
It wasn't exactly my intention to rewrite it for you, it's just hard to discuss back and forth on a forum. I've been learning lua by reading other peoples codes, so I normally just write my own to show other people as help.
Neku:
I changed it so it doesn't display a set message upon trying to use a banned word.
Mine actually censors it.
I did base it off of your's though, so I'm not sure what the issue is.
I don't believe I touched anything related to the array.
Eccid:
If you wanna post what I you, I can take a look, and see if I can figure out the problem
Storm:
This will greatly reduce my bans. So I can stop people from posting links, I added "www.", "http", etc. Problem is that I need mods and admins to be able to post the steam link for our group page. Even I can't do it as owner. Is there a way to disable the censor for mods. admins?
Neku:
--- Quote from: Storm on January 11, 2014, 03:52:35 AM ---This will greatly reduce my bans. So I can stop people from posting links, I added "www.", "http", etc. Problem is that I need mods and admins to be able to post the steam link for our group page. Even I can't do it as owner. Is there a way to disable the censor for mods. admins?
--- End quote ---
I'll see what I can do. As soon as I can fix my version.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version