Skip to content

Commit

Permalink
Revert "update docs"
Browse files Browse the repository at this point in the history
This reverts commit 37b2466.
  • Loading branch information
vanosg committed Aug 12, 2023
1 parent bb2236f commit da556b2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions doc/sphinx_source/using/autoscripts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,27 @@ Every autoscripts package must have a manifest.json file. This file contains met
"long_description": "This is an example script to help understand the autoscript system. Yeah, it doesn't really do anything, but that's besides the point. It could, and that should be enough for anyone"
"config": {
"loaded": 0,
"udef": {
"myflag": {
"type": "flag",
"description": "Activate the script on <channel> by doing"
},
"mystr1": {
"type": "str",
"description": "Flood limit, modify the channel value for this doing",
"value": "{10:6}"
},
"mystr2": {
"type": "str",
"description": "Change that with",
"value": "Just my string"
}
"myint1": {
"type": "int",
"description": "Number of allowed kicks, could be change with",
"value": 4
}
},
"requires": "tls",
"vars": {
"woobie_dict": {
Expand Down Expand Up @@ -108,6 +129,12 @@ Every autoscripts package must have a manifest.json file. This file contains met
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| config-loaded | Whether this script is currently loaded or not. It should be default set to 0. |
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| config-udef-<varname>-type | Type of the user-defined channel setting, could be flag, str or int. |
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| config-udef-<varname>-description | Description of user-defined channel setting used by the script. The description is appended with " .chanset <channel> <varname> value" in case of int or str, and with " .channel <channel> +<varname>" when flag |
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| config-udef-<varname>-value | Default value of user-defined channel setting used by the script. This is displayed when configuration settings are displayed to the user on the partyline. |
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| config-requires | Any Tcl package required for use by the script, such as tls, http, json, etc. |
+--------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| config-vars-<varname> | A setting intended to be modified by the user. The 'description' field should describe what the setting does, and the 'value' field stores the current value. These settings are displayed when the configuration settings are displayed to the user on the partyline. |
Expand Down

0 comments on commit da556b2

Please sign in to comment.