-
Notifications
You must be signed in to change notification settings - Fork 0
Base System Documentation
Rujak Ironhammer edited this page Apr 14, 2015
·
2 revisions
This page will contain documentation for inter-unit communication of the base code system. First it will contain data for the modules found in the lib folder. There will be a header for each file followed by sub-headers for inward travelling data and outward traveling data.
- addcom
- Basic syntax is as follows:
- ['channelName', 'activatingUser', time, 'addcom [args]']
- '-cmd:' specifies the phrase to call a command.
- '-response:' specifies the specific response.
- '-level:' specifies which group of users can use it of [Everyone, Moderators, Owner].
- '-active:' specifies if the command should become active as it is created.
- '-linelim:' specifies the number of lines a command must wait before being used again.
- '-timelim:' specifies the amount of time a command must wait before being used again.
- '-users:' specifies either individual users or group names that have special access to the command, otherwise all within main group.
- '-globallim:' specifies if the limits used should be global or within each main group.
- Currently unused markers: conditions, access
- Basic syntax is as follows:
- delcom
- Basic syntax is as follows:
- ['channelName', 'activatingUser', time, 'delcom [args]']
- '-cmd:' specifies the command phrase to be deleted.
- Basic syntax is as follows:
- addtimer
- Basic syntax is as follows:
- ['channelName', 'activatingUser', time, 'addtimer [args]']
- '-cmd:' specifies the phrase for the timed message to output.
- '-hours:' specifies how many hours between activation.
- '-minutes:' specifies how many minutes between activation.
- '-seconds:' specifies how many seconds between activation.
- '-name:' specifies the internal unique name of the timer.
- '-active:' specifies if the timer is activated during creation.
- Basic syntax is as follows:
- deltimer
- Basic syntax is as follows:
- ['channelName', 'activatingUser', time, 'deltimer TIMERNAME']
- 'TIMERNAME' is the internal name of the timer.
- Basic syntax is as follows:
- !addquote
- Basic syntax is as follows:
- ['channelName', 'activatingUser', time, '!addquote QUOTEVALUE']
- 'QUOTEVALUE' is the string to be added to the quote dictionary.
- Basic syntax is as follows:
- !delquote
- Basic syntax is as follow:
- ['channelName', 'activatingUser', time, '!delquote QUOTEVALUE']
- 'QUOTEVALUE' is the quote string as stored in the quote dictionary.
- Basic syntax is as follow: