HI all.  I'm just starting to dive into the api scripts and I've been looking to create a script to post a wild magic outcome from a rollable table, to the gm.  I'm getting a bit cross-eyed trying to find help with this.  Wondering if someone can help.  What I'm looking for is a button for a spellcaster to click whenever they cast a spell.  That rolls a d20.  If the number is 5 or less, then it signals the gm that wild magic is triggered and rolls a rollable table (Wild Magic) and displays the outcome as a whisper to the gm.  If a 6 or higher is rolled on the initial d20, it signals the gm that wild magic was not triggered.  Sounds simple enough, but I can't get the table to roll.  Any help would be very much appreciated!  Evan