User:No8WiredBot/messages/status/doc

From Orain Meta
Jump to navigation Jump to search

Usage

no param

{{User:No8WiredBot/messages/status}}

This is the default, with no parameter, and will show the bot as being idle.

{{#vardefine:bgcol|#7FD3EF}}{{#vardefine:msg|The bot is idle at present.}}

{{#var:msg}}

idle

{{User:No8WiredBot/messages/status|idle}}

With the first parameter set to idle, this template will show the bot as being idle, as per the default.

{{#vardefine:bgcol|#7FD3EF}}{{#vardefine:msg|The bot is idle at present.}}

{{#var:msg}}

ready

{{User:No8WiredBot/messages/status|ready}}

With the first parameter set to ready, this template will show the following message box.

{{#vardefine:bgcol|#80F297}}{{#vardefine:msg|The bot is ready and preparing for a run.}}

{{#var:msg}}

go

{{User:No8WiredBot/messages/status|go}}

With the first parameter set to go, this template will show the following message box.

{{#vardefine:bgcol|#ED80A8}}{{#vardefine:msg|The bot is currently running. (View bot activity)}}

{{#var:msg}}

Editing Programmatically

This page is commonly edited by No8WiredBot itself, since the successful running of the BotStatus.py test script. Whenever No8WiredBot logs in to The Test Wiki, it will run the following script... Template:Pre

Whenever No8WiredBot is completed its current task and is ready to log off The Test Wiki, it will run this script... Template:Pre