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

How can I make this Sendchat Whisper to the GM?

How do I add a whisper to the GM in this sendChat line?     printSheet: function (msg, saveCallback) {       var styleLabel = "style='font-weight: bold; padding: 5px;'";       var styleVal = "style='padding: 5px;'";       Fodder.output['name'] = "<thead><tr><th colspan='2' style='background: #8C8173; padding: 5px;'>" + Fodder.name + "</th></tr></thead>";   Fodder.output['NPCType'] = "<tr><td style='font-weight: bold; padding: 5px;'>NPC</td><td style='padding: 5px;'>" + Fodder.NPCType + "</td></tr>";              sendChat(msg.who, "/direct <table style='background: #DCD9D5; border-radius: 20px; font-size: 10px;'>" + Fodder.output['name'] +           "<tbody>" +           Fodder.output['NPC'] +           "</tbody></table>");       if (typeof saveCallback === "function") {         saveCallback();     }            },
1649741901
The Aaron
Roll20 Production Team
API Scripter
Replace /direct with /w gm