.admin
.database
.channel
.status
.user
.utilities
read conventions
º You must /msg YourDarkbot login YourPassword
in order to perform any command levels [1, 2 and 3] even
if you previously did it but you or your bot rejoined the
channel
Alarm
Clock [2] |
Character Length
[0] Date & Time [0] Help [0] |
Ping Reply
[0] |
Alarm Clock | [2] |
A handy alarm clock, allowing to add in a timer in your Darkbot, which will activate at a given time. Times can be set in minutes, hours, and days. Just add the prefix of h (hour), m (minute), or d (day) before the amount of time you want it at. | |
Command | ALARM | ALARMCLOCK |
Syntax | <DB> ALARM <time type: d/h/m><time duration> <reminder data> |
Example | <BotUser>:
!alarmclock m1 one minute timer. <DB>: BotUser, alarmclock set to go off in 1 minute, 0 secs ... 1 minute later ... <DB>: ALARMCLOCK by BotUser!~userid@userhost: one minute timer. |
Related Messages | (if any parameter is missing): -DB- Syntax: <time type: d/h/m><time> <text to say> |
Related Procedures | Check defines.h file [#define DBTIMERS] if you want to enable or disable the the alarm clock function |
Calculator | [0] |
A handy calculator. Functions are: "+" (addition); "-" (subtraction); "*" (multiplication); "/" (division). | |
Command | CALC | MATH |
Syntax | <DB> CALC <value> < + | - | * | / > <value> |
Example | BotUser: DB calc 1+1 BotUser: 2.000000 |
Related Messages | - (if used incorrect
operator): BotUser: Illegal operation! -(if value is missing): DB: BotUser: Division by zero error! |
Related Procedures | Check defines.h file [#define DO_MATH_STUFF] if you want to enable or disable the calculator. |
Character Length | [0] |
Displays the character length of the given string. | |
Command | LENGTH |
Syntax | <DB> LENGTH <data> |
Example | BotUser: DB length
antidisestablishmentarianism DB: BotUser: it was 28 chars long. |
Date & Time | [0] |
Displays date and time of the local machine where Darkbot is running | |
Command | DATE | TIME |
Syntax | <DB> DATE |
Example | BotUser: !date DB: BotUser, Wen Dec 1 09:10:51 1999. |
Help | [0] |
Sends a notice to the user with a brief run down on how to use Darkbot | |
Command | HELP |
Syntax | !HELP |
Example | BotUser: !help -DB- I can be triggered by various forms of speech, all which must be addressed to me, in one of the following formats: DB, DB: DB: or even DB .... In my database, you can find a topic by saying my nick, <topic> . e.g.; DB, nuke ..........to do a search on a word, or partial text, just type: <mynick>, search <text> ... eg; DB, search nuke -DB- I can also be triggered with even more human formats: DB, who is bill gates? .. You can also phrase it in a question: DB, where is msie? ...For more info about me, visit http://darkbot.net |
Ping Reply | [0] |
Replies "PONG" on the channel to gauge how lagged you or Darkbot is. | |
Command | PING |
Syntax | !PING |
Example | BotUser !ping DB: PONG! |
Unixtime | [0] |
Returns the time elapsed in comparison to the current time of the box Darkbot is on. (time since 00:00:00 UTC of January 1st 1970) | |
Command | UNIXTIME |
Syntax | <DB> UNIXTIME <unixtime> |
Example | BotUser: DB unixtime
90280928 DB: BotUser, -192 days, 12 mins, 93 secs |
Obs. | use command calc if you need to to convert/calculate the result |
See also: Calculator |