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

Token Placement/Journal Clean macro/script/help?

1651673483

Edited 1651673514
Hi, I run a long-term sandbox game and my journal has, inevitably, gotten to the point where I simply cannot stomach sitting down and sorting through 100's of monster tokens that's been dragged in to my game. Is there any way to clean this up? I started with folders and combat levels, but obviously it got too messy, too quickly. Is it possible to select multiple entries to drag them in a folder, rather than individual ? And would there be a macro for automatically popping a token out of my journal? Not sure if there's a macro, or an api, or if any of this can be done without that. Thank you!
1651682323
Andrew R.
Pro
Sheet Author
I recommend you start using Library Games to get your active games tidied up. They’re explained here: <a href="https://app.roll20.net/forum/permalink/6354288/" rel="nofollow">https://app.roll20.net/forum/permalink/6354288/</a>
1651682927

Edited 1651703887
keithcurtis
Forum Champion
Marketplace Creator
API Scripter
The Spawn script can pop out a token by name, but I'd suggest experimenting with it. I have heard reports of unexpected behavior. Unfortunately, the API only has read access to the Journal Tab folder structure.
1651698555

Edited 1651698614
As things get out of hand, and even when they don't, I really recommend the Search API script. The Aaron, as always, does a fantastic job. It's in the one-click, and here is the basic description: "Search provides full text searching across handouts and characters (including attributes). Search uses an Okapi BM25F+ search engine with Porter stemming and stop word removal to provide fast results after building initial indexes. Index construction occurs at API startup, in the background. The GM is notified when indexing is finished. Indexing can take a few minutes, but won't slow down any other processes due to a great deal of deferring of processing. [NOTE from Valerie -- this also let's you know the API is up and running when the "ready" indicator shows up in the chat.] Search respects permissions on handouts and characters. GMs can search on all things, where as players can only search based on what they can see. Seeing a handout allows a player to search on it's&nbsp; name &nbsp;and&nbsp; notes &nbsp;fields. Seeing a character allows a player to search on it's&nbsp; name &nbsp;and&nbsp; bio &nbsp;fields. Controlling a character allows searching on it's&nbsp; attribute s as well. Only GMs can search on&nbsp; gmnotes ." The search puts a batch of links in the chat to any game document (character/NPC/monster sheet or handout) that includes the word used.&nbsp; It won't do complex searches, so you have to think of good words, but it's still very powerful. It will also pull things that have been archived, so if I've moved handouts out of sight, with or without putting links into another handout in an attempt to tame them, the search function will find it.&nbsp; I keep a macro button in the bar to call Search, and recommend my players do the same. I realize this doesn't solve the organization problem directly, but you can play with different forms of organization without fearing losing anything.
1651698929
David M.
Pro
API Scripter
For "automatically popping a token out of your journal", you might want to check out the SpawnDefaultToken script.&nbsp;
Thanks kindly everyone, you are absolute gems. :)