Roll20 / Roll20/roll20-api-scripts

MapChange dependent on SplitArgs?

Open
#583 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
407
Forks
602
Avg merge
7d 55m
Merged PRs (30d)
18

Description

I've just started using API scripts so it's possible I'm doing this all wrong but I encountered an error adding MapChange script to my game's API scripts: "splitArgs is not a function". I found splitArgs in MapChange's parent folder, added that code as well and it appears to be working.

https://wiki.roll20.net/Script:MapChange lists no dependencies, but it should perhaps list splitArgs?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Script:MapChange wiki page and compare its setup with the splitArgs definition in MapChange's parent folder. Confirm whether splitArgs is required, then update the dependency information so users know to load it; done when the documented setup matches a working API-script installation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.