How do I make an Anti-Swear System (or A.S.S)? An project example can be even the chat room example, I wanna test if any word in the Textbox before the user send it and check if its a swear or not, heres what I did until now:
My code simplified:
Ajax Realtime database > (Swear words in .json) >>
On Ajax(done) > Dictionary reads every single word and creates an single key for each one ---- [Works Totally Fine]
Problem:
I need to check in the text box as i said before, i already tried:
On Function ("AbleTo") >
System: findCase(lowercase(function.param(0)),dictionary.currentvalue x= 1)
Dictionary: For each key
>> (If not found return if a function that ables to send the message) [Don't work]
Thank you!