-
Notifications
You must be signed in to change notification settings - Fork 8
Bot Loader
Load your favorite bot, or switch bots using the new bot loader.

Bot loader kills ALL scripts before loading your bot, including system scripts to make sure no conflicting daemons or support files are running. You can easily load or switch bots with a single click.
Bots are defined in twxp.cfg:
[Bot:Mom]
Name=Mind Over Matter Bot
Script=Mombot\mombot.cts
[Bot:Zed]
Name=Zed Bot Unleashed
Script=z-authorise.cts,z-bot.cts
If you have another bot, you can easly add it to the file:
[Bot:Xide]
Xide's x-bot
Script=x-bot.ts
The above would add Xide's x-bot to the bot loader, although I am not quite sure how to use this one. There are actually several other bots in the public scripts, but none of them have been updated to work with TWGS 2.xx.
You can also switch bots with the new switchbot command:
loadVar $NextBot "Zed'
Switchbot $NextBot
If you are running the latest Mombot or Zedbot included in the installer, Switchbot is an internal command. You can self bot or remote users can switch you to the desired bot with the switchbot command over SubSpace:
'bot switchbot zed
If called without a bot name, the next bot will be loaded from the twxp.cfg file.
.