Useful cross game macros?

Show off your RPG maps, campaigns, and tokens. Share your gaming experiences and stories under General Discussion and save this forum for things you've created that may help others run their own games. Use the subforums when appropriate.

Moderators: dorpond, trevor, Azhrei, Gamerdude

Post Reply
Beowulfe
Cave Troll
Posts: 73
Joined: Mon Jul 28, 2008 12:38 pm

Useful cross game macros?

Post by Beowulfe »

Ok, I am trying to gather up all the useful little macros people have done that do not matter which game system you are playing. For example, I found Fast Whisper and a Where's My Token macros in one of the DnD campaign files. Anybody else got any ones like that they wanna share? These were done by Veggiesama

Here's the code for these two:

In your lib token put the following macros
centerOnToken
[H: goto(currentToken())]

[H: LIGHT_SELFONLY = getLibProperty("LIGHT_SELFONLY", "Lib:Veg")]
[H: evalStr = if(isPC(), 'setLight("Dims", LIGHT_SELFONLY, 1)', 'true')]
[H: eval(evalStr)]

whisperPlayers
[H: playerList = getAllPlayerNames()]

[H: status = input(
"txtMessage | msg | Message",
"player | " + playerList + " | Choose | RADIO | VALUE=STRING"
)]
[H: abort(status)]

{'"' + player + '"' + ' ' + txtMessage}

Then add these macros to the tokens
Fast whisper
/w [MACRO("whisperPlayers@Lib:gm"):""]

and
Where's My Token
/self [MACRO("centerOnToken@Lib:gm"):""]

Post Reply

Return to “User Creations”