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 .
×

[Script] MovePlayers -- Allows macros to move the player ribbon.

1416244658
The Aaron
Roll20 Production Team
API Scripter
(This script grew out of discussion here: <a href="https://app.roll20.net/forum/post/1349757/easier-w" rel="nofollow">https://app.roll20.net/forum/post/1349757/easier-w</a>... ) Allows you to move the player ribbon by passing the id of a token on the page you want the characters moved to. Commands: !move-players-to-same-page-as &lt;Token ID&gt; -- Pass a token id, probably with @{selected|token_id}, but possibly by getting the id and hard coding it for later use. without a token id, or with --help as an argument, prints the help: Dependencies : This script uses my isGM script, see it for install instructions. GIST : <a href="https://gist.github.com/shdwjk/7ddf557cc365f489659" rel="nofollow">https://gist.github.com/shdwjk/7ddf557cc365f489659</a>...
NICE!! This is exactly why i love this site. Big thanks The Aaron, I was really hoping someone had a script (or would just be rad and write one) that could do it.
1416262338
The Aaron
Roll20 Production Team
API Scripter
No problem! Let me know if you come up with enhancements. I'm going to add support for moving players singly next.. =D
This is awesome.
1416437840
Falcon
Pro
Sheet Author
Aaron - does it move the player tokens to the new ribbon page? and if so - how does it know it's a player versus NPC?
1416440458
The Aaron
Roll20 Production Team
API Scripter
It does not. I would really like for it to, but there are a few problems that prevent it: pageid on a token is read only, so existing tokens can't be moved. Imgsrc can be set from the API, but only to images in the personal library of a user. That means that if it created tokens for players, their images could not come from the market place.