word 3x in a row
hi, how to detect if player say same word three times in a row?
exemple: JocA:hi guys klsda:hi kekesl:hi JocA:hi guys pqwr:hi pro dal;:what JocA:hi guys And JocA will be that player... |
Re: word 3x in a row
I think you must save the every message every player witch is send and then check it for equal "message" or something like that ? :)
|
Re: word 3x in a row
PHP Code:
|
Re: word 3x in a row
Quote:
|
Re: word 3x in a row
Some fixes,
and added: If he says another word, it saves that.. PHP Code:
|
Re: word 3x in a row
Need to reset gAmountSame to 1 in the else.
|
Re: word 3x in a row
To 0 U mean,
ye I edit [Edit] FIXED |
Re: word 3x in a row
Wouldn't it be to 1, because that would be the first time he said it, then if he says it again that means he said the same thing twice. So I think it should be 1 right?
|
Re: word 3x in a row
Quote:
|
Re: word 3x in a row
return PLUGIN_CONTINUE instead of HANDLED
|
| All times are GMT -4. The time now is 02:06. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.