Thread: Hotkeyed Option Bug
-
February 27th, 2021, 00:46 #1
Hotkeyed Option Bug
I used OptionsManager.registerOption2 to create an option TIME_ROUNDS.
When I try to use this option via the hotkeys, I get the error Option (TIME) not registered. It seems to have an issue with underscores in options names.bmos' extensions
he/them
-
March 3rd, 2021, 21:59 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,548
Do you get the same error when you type in "\option TIME_ROUNDS <option>"? That should be what the option drag should be doing.
JPG
-
March 3rd, 2021, 22:02 #3bmos' extensions
he/them
-
March 3rd, 2021, 22:04 #4
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,548
Just looked; and the option command handler is parsing "words"; which is only alphanumeric and +-' characters.
I can try adding _ and period to the "word" characters for that particular parse scenario.
Regards,
JPG
-
March 3rd, 2021, 22:04 #5
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,548
It won't be available until the next CoreRPG update.
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks