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

[Question]

Ok I am not stupid when it comes to computers far from it, but I am unable to figure out how to make scripts work. I found a script I wanted to use and cut and pasted it into the API window, went into the campaign and couldn't figure out how to make the damn thing work. The specific script was the dice roller for Edge of the Empire found at: <a href="https://app.roll20.net/forum/post/182569/script-edge-of-the-empire-dice-with-images-in-the-chat-window#post-182569" rel="nofollow">https://app.roll20.net/forum/post/182569/script-edge-of-the-empire-dice-with-images-in-the-chat-window#post-182569</a> Any help, suggestions etc would be greatly appreciated.
1370796678
Ada L.
Marketplace Creator
Sheet Author
API Scripter
It works using chat commands. See the instructions in his script's beginning comments.
Ok that was seriously not very helpful. I will explain what I have done and hopefully someone can verify if I did it correctly. Go to the campaign page I want to add the script to Click on API scripts Under the New Script Tab, paste in EotEDice2 in the name window Paste the script provided making only the text is copied (not the numbers to the left side) Click Save Script Now after doing all this, in the API Console below is states: Error downloading scripts (probably no scripts exist for campaign.) I launch the campaign and I am unsure how to use the commands in the chat window. Do I just use the commands "!" or "/!" or what? Again I am neither obtuse nor stupid and this is NOT intuitive in any way, shape or form. As before, help appreciated =)
rpgman2013 said: I launch the campaign and I am unsure how to use the commands in the chat window. Do I just use the commands "!" or "/!" or what? Again I am neither obtuse nor stupid and this is NOT intuitive in any way, shape or form. As before, help appreciated =) Just to clarify: the API is a very advanced feature. It's also brand new and, as indicated "on the tin", highly experimental. It's akin to opening up your car's hood and then going "well, gee, the engine here sure looks complicated." Because that's basically what you're doing, getting direct access to the engine that drives the whole application. Use with care. That said, you need to save the script, *then* launch the campaign, and it should work. The specifics of what you do after that vary by scripts, but yes for that one there are probably some "!" commands to use, and they are documented in the script itself. While we (the Dev Team and the Mods) do our best to help with general API questions, again this is advanced stuff, and on top of that we certainly can't assist with how to get a specific script to work, you'd be much better off posting in the original script thread and asking your questions to the author.
1370802379
Konrad J.
Pro
API Scripter
rpgman2013 said: Ok that was seriously not very helpful. I will explain what I have done and hopefully someone can verify if I did it correctly. Go to the campaign page I want to add the script to Click on API scripts Under the New Script Tab, paste in EotEDice2 in the name window Paste the script provided making only the text is copied (not the numbers to the left side) Click Save Script Now after doing all this, in the API Console below is states: Error downloading scripts (probably no scripts exist for campaign.) I launch the campaign and I am unsure how to use the commands in the chat window. Do I just use the commands "!" or "/!" or what? Again I am neither obtuse nor stupid and this is NOT intuitive in any way, shape or form. As before, help appreciated =) Sorry you had so much trouble! :) &nbsp;I'm usually around a little more, but been busy at work. &nbsp;I just answered your PM and I hope you are able to start using the script. &nbsp;I think its really cool we can do stuff like this. The "!" command tells Roll20 that its a special command and to let the script know that. &nbsp;Then the script takes everything after the ! and figures out what to do with it. &nbsp;Once you use it a few times you will be a master. &nbsp;You can even put the commands into a macro if you like, but for this specific script it wouldn't help that much since its always a different pool of dice you need to roll. If you play in google hangouts there is also an excellent hangout app that will roll the dice for you, but I'd love it if you were using my script! :) &nbsp;Please let us know how it works out and please if you have any problems or suggestions just let me know! Lastly, Roll20 Devs have nothing to do with the script so don't get made at them if it doesn't work. &nbsp;:) &nbsp;You can only blame me!!! :(
1370812623
Ada L.
Marketplace Creator
Sheet Author
API Scripter
Sorry. If you had explained more clearly what your problem was, I could have given some better insight to help you solve your problem. :)