Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Ned macro help. Whisper to selected character the results of a table (Rumors)

Simple question: Can someone tell my why this isn't working. It should be a simple macro to send a /whisper to the selected character the random result of a table called "Rumors" but it doesn't work. Help please? /w @{selected|token_name} [[1t[Rumors]]
Never mind. Missing a ] at the end it should read : /w @{selected|token_name} [[1t[Rumors]]] Stupid flashbacks to pascal and C for counting ()'s
Yeah, you caught it. Also, something I've recently run into is that if you want to whisper to someone who is currently not in the game, you must whisper to the player's name, not to the character's name. This may be answering a question you hadn't asked, but in my game I have rotating players, and I hand out rumors every week - assuming the characters who are not adventuring are still gathering rumors as they wander around town. Using the /w <player's name> function enables them to log into the game at their leisure and receive their rumor.
Sean P. said: Never mind. Missing a ] at the end it should read : /w @{selected|token_name} [[1t[Rumors]]] Stupid flashbacks to pascal and C for counting ()'s Wow! Thanks for the idea. I've recently made a bunch of crit/fumble charts. Since I'm running 5e, I've also set them to resemble the 5e roll templates. In a similar fashion, you could do the following: /w @{selected|token_name} &{template:5eDefault} {{title=Rumors}} {{emote=[[ 1t[Rumors] ]] }} Now I can create a series of rumor tables, and also have them arranged by locale. With that in mind, I can then have a generic macro and then enter the city or location by name to generate a rumor for that region: /w @{selected|token_name} &{template:5eDefault} {{title=?{City Name?|Greyhawk} Rumors}} {{emote=[[ 1t[?{City Name?|Greyhawk}] ]] }} Additionally, I can use either the default location or use a different one....I only need to add more rollable tables for each different location instead of making a new macro for each location.