Author Topic: "%1" in events?  (Read 1127 times)

If I remember %1 is what lets you display the clients name in the welcome message when they join the server. Is it possible to use %1 in events to display the player who triggered the event to show up? Such as, if I were to make a brick with the events  onActivate>minigame>bottomPrintAll[%1 has just beat the Bossbot!]
Would that make it so when someone activates it everyone in the minigame would see  Blockhead had just beat the Bossbot!  and if someone else activates it they would see  Goodarea has just beat the Bossbot!  ?


you could use <var:client:name>

you could use <var:client:name>

That would require the VCE.

In this case, %1 works fine.

No. I'm pretty sure %1 shows the clients name that sees the message. I do believe <var:cl:name> would be the only way to do it.

Orthone is correct. If you had "%1 beats bossbot" then everyone who saw the message would see that they had beaten it, not the person who did.

If you did <var:cl:name>, everyone would see their own name.

You'd have to set that to a variable, then output that.

If you did <var:cl:name>, everyone would see their own name.

You'd have to set that to a variable, then output that.
No. If you did <var:client:name> Then everyone would see the name of the client who clicked it.

Unless Destiny did something to change it, Ash is right.

I've had an evented game use "<var:cl:name> has won!" in a chatmsgall event. Everyone saw their respective names.

I just did "VCE_modVariable -> Brick [User] set [<var:cl:name>]" and then I output that.

I did this about a year ago, so things may have changed. I'd go test it.