BaldiGT Posted December 22, 2019 Share Posted December 22, 2019 Anyone have an example? Pls i need it Link to comment Share on other sites More sharing options...
BaldiGT Posted December 24, 2019 Author Share Posted December 24, 2019 12 hours ago, TopGEOYT said: ask clearly , i did not understand your question . Nvm how to block badwords in the prompt like this badword = {"f*ck","sh*t","b*tch","etc"} a = gg.prompt({"Enter your name"},nil,{"text"} if a[1] == "badword" then gg.alert('Badword') os.exit() @Enyby Link to comment Share on other sites More sharing options...
TopGEOYT Posted December 24, 2019 Share Posted December 24, 2019 1 hour ago, BaldiGT said: Nvm how to block badwords in the prompt like this badword = {"f*ck","sh*t","b*tch","etc"} a = gg.prompt({"Enter your name"},nil,{"text"} if a[1] == "badword" then gg.alert('Badword') os.exit() @Enyby local badword , a = {"f*ck","sh*t","b*tch","etc"} , gg.prompt({"Enter your name"},nil,{"text"}) or os.exit() for l , I in pairs(badword) do if string.find(a[1],I) then gg.alert("Badword") os.exit() end end Link to comment Share on other sites More sharing options...
TopGEOYT Posted December 23, 2019 Share Posted December 23, 2019 23 hours ago, BaldiGT said: Anyone have an example? Pls i need it ask clearly , i did not understand your question . Link to comment Share on other sites More sharing options...
Question
BaldiGT
Anyone have an example?
Pls i need it
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.