Eggdrop Documentation - 1. Output commands

30-12-2010 10:30

1. Output commands

putserv <text> [options]

Description: sends text to the server, like '.dump' (intended for direct server commands); output is queued so that the bot won't flood itself off the server.

Options:

-next: push messages to the front of the queue
-normal: no effect

Returns: nothing

Module: server

puthelp <text> [options]

Description: sends text to the server, like 'putserv', but it uses a different queue intended for sending messages to channels or people.

Options:

-next: push messages to the front of the queue
-normal: no effect

Returns: nothing

Module: server

putquick <text> [options]

Description: sends text to the server, like 'putserv', but it uses a different (and faster) queue.

Options:

-next: push messages to the front of the queue
-normal: no effect

Returns: nothing

Module: server

putkick <channel> <nick,nick,...> [reason]

Description: sends kicks to the server and tries to put as many nicks into one kick command as possible.

Returns: nothing

Module: irc

putlog <text>

Description: sends text to the bot's logfile, marked as 'misc' (o)

Returns: nothing

Module: core

putcmdlog <text>

Description: sends text to the bot's logfile, marked as 'command' (c)

Returns: nothing

Module: core

putxferlog <text>

Description: sends text to the bot's logfile, marked as 'file-area' (x)

Returns: nothing

Module: core

putloglev <level(s)> <channel> <text>

Description: sends text to the bot's logfile, tagged with all of the valid levels given. Use "*" to indicate all log levels.

Returns: nothing

Module: core

dumpfile <nick> <filename>

Description: dumps file from the help/text directory to a user on IRC via msg (one line per msg). The user has no flags, so the flag bindings won't work within the file.

Returns: nothing

Module: core

queuesize [queue]

Returns: the number of messages in all queues. If a queue is specified, only the size of this queue is returned. Valid queues are: mode, server, help.

Module: server

clearqueue <queue>

Description: removes all messages from a queue. Valid arguments are: mode, server, help, or all.

Returns: the number of deleted lines from the specified queue.

Module: server