Author Topic: %1  (Read 514 times)

I know what %1 does , it displays the name of the clinet reading it. But I want to know , is there also a code for displaying the name of the causer of that event?
Like
OnActivate > Player > Kill
OnActivate > Minigame > CenterPrintAll [???] has died by clicking a stupid button.

What I usually do for things like this is set up a bit of a variable cache.
OnActivate > Player > Kill
OnActivate > Self > VCEmodValue [brick] [nameCache] [=] [<var:cl:name>]
OnActivate > Minigame > CenterPrintAll <var:br:nameCache> has died by clicking a stupid button.


The problem is, you can't directly do <var:cl:name> as it will display the reader's name.
I believe the above method should work.

I'll test. Thanks. Wasn't aware of that variable.

Guess what aint there. ModValue. I can only seem to find Modvariable. And that does not work.

Sorry for the triple , but there aint no mod button in this section.
I know what it is in scripts , but that wont work outside of those , of course...

Nevermind , a guy called Orthone fixed everything for me ingame. Thanks for that :3