Ok, so here's what I have...       // Make a roll only the GM can see. Do NOT use any double square brackets for inline rolls!
    // Usage: !sroll diceroll
    if (msg.type == "api" && command == "!sroll") {
        msg.content = msg.content.replace("!sroll", "");
        msg.content = msg.content.trim();
        sendChat("Secret Roll by " + msg.who, "/w gm [[" + msg.content + " ]]");
    }  ... and I want to make it so that when you use !sroll it lets you do any kind of dice roll with all the square and curly brackets you want and then sends it to the GM in a whisper from a source other than the person triggering the script.