Author Topic: Toggle events when you say something  (Read 655 times)

I have seen this done like 2 years ago but I don't remember how to do it.

How do make an event so that it is toggled when a player who has touched it says something?

Kinda hard to understand what you meant. You're talking about someone saying something, and then stepping on or touching a brick to cause something to happen because they said a certain thing in chat, right?

Code: [Select]
0 | onPlayerTouch | Self | VCE_ifValue | <var:cl:lastmsg> | == | what player says to make stuff happen | 1 1
1 | onVariableTrue | Client | centerPrint | asdf

VCE is required for that, obviously.

Kinda hard to understand what you meant. You're talking about someone saying something, and then stepping on or touching a brick to cause something to happen because they said a certain thing in chat, right?

Code: [Select]
0 | onPlayerTouch | Self | VCE_ifValue | <var:cl:lastmsg> | == | what player says to make stuff happen | 1 1
1 | onVariableTrue | Client | centerPrint | asdf

VCE is required for that, obviously.
yea that's basically what I meant, thanks for your help.
locking