Plugin:AutoDJ:ScriptFormat

From ShoutIRC RadioBot Wiki
Revision as of 10:05, 25 October 2013 by Indy (talk | contribs) (Text replacement - "IRCBot" to "RadioBot")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Script Description

The script format for AutoDJ Scheduler scripts is really simple, it's just like typing commands into the DCC Chat Console.

You can use AutoDJ Scheduler variables in the lines of the script (%lw(0), etc.) for maximum usability.

Note: To use scripts you must first create an AutoDJ user in RadioBot with the following PM command: !adduser AutoDJ +flags random_password [email protected]
Note2: You can change random_password to whatever you want, and use whatever flags you want to restrict which commands the scripts can run.

Example Script

# Comments can start with a # or ; or /

# You can use any bot command that allows Console use in your script
# Also, you can use a new command: wait number
# This command makes the script wait for number milliseconds before continuing
# You can also use sleep number instead of wait number if you prefer, or mix & match

relay Test.mp3
sleep 1000
autodj-next


RadioBot vde

RadioBot main pages
Main PageInstallationChangelogCommandsPluginsFAQConfigurationCreditsRemote ClientBuilt-In VariablesMulti Sound Server ModeUsername Character Restrictions
Auto DJ Pages
Auto DJ Main PageWebRequest SystemSchedulerMP3 EncoderVoice SupportMySQL Plugin