Advertisement Create a free account

Is !setattr broken

1585192633
I am feeling pretty ineffective .. i cannot even get the most basic of commands to work .. 5e Character Sheet ... The class_resource is called Thing, max value of 2, current value of 1 why will this command not do anything ... yes i am clicking on a token !setattr --silent --sel --class_resource|@{selected|class_resource|max}
1585193205
The Aaron
Forum Champion
API Scripter
If you do this: /w gm [@{selected|class_resource|max}] Do you get a value between the [ ] ?
1585194772
[2] Which i would expect Do you need to have charsetattr script loaded? does the GM need to be logged in for scripting to work?
1585195333
The Aaron
Forum Champion
API Scripter
You do need to have the script installed, otherwise it won't do anything.  The GM does not need to be on for it to work, but if something crashed, the GM would need to restart the sandbox.
1585195396
The Aaron
Forum Champion
API Scripter
Do you get output if you use this command: !setattr --sel --class_resource|@{selected|class_resource|max}
1585260595
All good .. a combination of broken sandbox, missing scripts and user error .. Thanks for your help @The Aaron  ...
1585281998
The Aaron
Forum Champion
API Scripter
Sweet!  Glad you got it working.