queue
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | queue [2006/08/29 16:08] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: queue.txt,v 1.2 2006/08/19 04:08:24 sthalik Exp $ | ||
+ | ======Synopsis: | ||
+ | __queue__ [< | ||
+ | |||
+ | ======Description: | ||
+ | __QUEUE__ allows for a sort of batch processing in ircII-EPIC. | ||
+ | convenient mechanism for preparing to execute a command at a later, | ||
+ | undetermined time. It can also be used as a sort of dynamically | ||
+ | growing alias. | ||
+ | |||
+ | Sets of commands may be stored into named queues; there is no limit | ||
+ | to the number of queues that may exist, or the number of commands that | ||
+ | may be present in a queue. | ||
+ | commands must be surrounded by curly braces. | ||
+ | |||
+ | ======Options: | ||
+ | |-delete | ||
+ | |-do |runs the commands in the named queue | | ||
+ | |-no_flush | ||
+ | |-flush | ||
+ | |-list | ||
+ | |-show | ||
+ | |-expand_now | ||
+ | |-help | ||
+ | |||
+ | ======Examples: | ||
+ | To add an item to the queue " | ||
+ | queue foo { | ||
+ | echo This is a queued command. | ||
+ | echo Isn't it cool? | ||
+ | } | ||
+ | |||
+ | To delete an item from a queue with multiple items: | ||
+ | queue -delete foo 2 | ||
+ | |||
+ | ======Bugs: | ||
+ | Error checking is not horribly tight with __QUEUE__. | ||
+ | client with multiple arguments that don't belong together will probably | ||
+ | succeed. | ||
+ | |||
queue.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1