Add /setdebug chatbar command. Syntax: /setdebug <debugsetting> <newvalue>

The setting to change this command is SinguCmdLineSetting
This command supports using json for complex data types, like vectors.
If there's no new value passed, the debug will be changed true<->false,
this conversion will have interesting effects on nonboolean types.
Have Fun!!
This commit is contained in:
Lirusaito
2019-01-24 17:58:54 -05:00
parent 77cdc0fa4c
commit a30119706d
2 changed files with 63 additions and 2 deletions

View File

@@ -818,6 +818,17 @@
<key>Value</key>
<string>/regionsay</string>
</map>
<key>SinguCmdLineSetting</key>
<map>
<key>Comment</key>
<string>Set or toggle debug settings from the chatbar.</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>String</string>
<key>Value</key>
<string>/setdebug</string>
</map>
<key>SinguCmdLineURL</key>
<map>
<key>Comment</key>