I made this script for the run-script command:
else if (value == 7) {
if (money2==0) {}
else if (money2==1) {
option-on 5
}
It says undefined token `token`. Any suggestions?
Just as normal script commands can't be used in dialog scripts, "option-on" is a dialog script command and can't be used in normal scripts.
Use the SetDialogOption function.