SOLVED: Checking if string shows up in array multiple times

Get help using Construct 2

Post » Tue Aug 01, 2017 6:15 am

Hello. I'm making a spam filter for the chat feature in my game. I have an array that records everything the player says. I want the game to give the player a warning if they say anything four times within, let's say 10 messages. How can I accomplish this?
Last edited by zyhrllos on Tue Aug 01, 2017 10:34 pm, edited 1 time in total.
B
8
Posts: 8
Reputation: 322

Post » Tue Aug 01, 2017 10:17 am

Not polished yet:
https://www.dropbox.com/s/mzarukcpd7rv4 ... .capx?dl=0

Just the basics 4 1 of many solutions.
B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Tue Aug 01, 2017 10:32 pm

Message: zyhrllos can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
99Instances2Go wrote:Not polished yet:
https://www.dropbox.com/s/mzarukcpd7rv4 ... .capx?dl=0

Just the basics 4 1 of many solutions.

Thank you very much! :D
B
8
Posts: 8
Reputation: 322


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests