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

Play card to table via Macro/API?

I've looked through the documentation I can find, but I haven't found any way to automate playing a card to the table. I have a RPG safety deck, but I would like to have a macro bar button that would automatically play the X card.
I would absolutely love to hear if there is a script for this so I'm replying to get in the loop.  So far the only things I've found is peek, dealer, and then a CSS to increase hand size box for cards.  There does not seem to be much in the card system for api stuff.  
1619099979
The Aaron
Roll20 Production Team
API Scripter
You want the playCardToTable() function.&nbsp; The card functions are a little buggy and probably haven't made it into the API documentation.&nbsp; Here's the post that details then out:&nbsp;<a href="https://app.roll20.net/forum/post/6223396/slug%7D" rel="nofollow">https://app.roll20.net/forum/post/6223396/slug%7D</a>
Thanks!