[Not a Bug] player_chat should be populated in TEXTMATCH type

FuzzySadist

New member
JFF Member
Nov 18, 2017
31
2
0
58
Player Public Chat: STARTSWITH:!vartest
In chat I said: '!vartest one two three four five six'
RESULT
player_chat=!vartest one two three four five six
----------------------------------------------------------------------
Text Match: CONTAINS:testingvariables
In chat I said 'I am testingvariables'
RESULT:
player_chat={player_chat}
 
Ok, so, TEXTMATCH will match ANY text from the server, its not really meant for player chat. So that's why no player data is associated with the event.

This way, you can trap text from say another mod or something and then do something. So if you want to trap player chat, ONLY use the Player Public Chat Event.
 
Okay, so scenario....

In chat, someone types "FuzzySadist is a jerk!" ....

So I textmatch....on FuzzySadist

Then I check...
JERK? KICK!

AWESOME DUDE? GIVE {player} diamond. :)

I still think its valid... specially once the external scripting is in :)