Author Topic: OnPlayerMsg  (Read 1412 times)

I decided this would be very helpful for events where questions are asked, because IfLastPlayerMsg only reads the last message, instead of one said after the question. I don't know if this would actually work, but, It would be very helpful.

Wouldn't you mean IfPlayerMsg?

No, he means it triggers when they talk.

What does OnPlayerMsg, let alone IfPlayerLastMessage have to do with bricks?

Events, Say you were standing on a baseplate and said "Open" a secret door would open.

Events, Say you were standing on a baseplate and said "Open" a secret door would open.
Win?

OnPlayerMessage - SpawnExplosion :3

OnPlayerMessage - SpawnExplosion :3

ClanRegulithTags: KABOOOOM!


What does OnPlayerMsg, let alone IfPlayerLastMessage have to do with bricks?
IfPlayerLastMessage could be a client event.

I think there was something like <var:client:lastmsg> for this in Variable Events.


Not sure if you know, but it's been done before.

onPlayerTalk.

http://forum.blockland.us/index.php?topic=40948.0

Not sure if you know, but it's been done before.

onPlayerTalk.

http://forum.blockland.us/index.php?topic=40948.0
Except that only checks if the player talks, not what they say.

Events are about bricks.

onActivate - player clicks the brick
onPlayerTouch - player touches the brick
ETC

Onplayermsg-?

Maybe onactivate-self-onplayermessage [messahehere]
onmessagesent - ?