Author Topic: command events  (Read 503 times)

How do i do this like i say so what and i die already how do i do that please help? :nes:

So what is it your wanting to do?

So what is it your wanting to do?
i say something and trigers a brick

Use the Variable Conditional Events. There's a variable on the client you can access using <var:client:lastmessage>.

Code: [Select]
onactivate->self->firerelay
onrelay->self>firerelay
onrelay->client->ifvalue->[<var:cl:lastmessage>][==][what ever]
onvariabletrue->player->kill
onvariabletrue->self->cancelevents

Code: [Select]
onactivate->self->firerelay
onrelay->self>firerelay
onrelay->client->ifvalue->[<var:cl:lastmessage>][==][what ever]
onvariabletrue->player->kill
onvariabletrue->self->cancelevents
thanks