From 551c3d7ce53a7a0b1bea799ca123119dd94603f6 Mon Sep 17 00:00:00 2001 From: Akkarinage Date: Fri, 31 May 2013 18:40:30 +0100 Subject: Modified formatting in doc/script_commands.txt --- doc/script_commands.txt | 91 +++++++++++++++++++++++++++++++++---------------- 1 file changed, 62 insertions(+), 29 deletions(-) diff --git a/doc/script_commands.txt b/doc/script_commands.txt index 47b2c5db6..7528c8cf4 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -7625,9 +7625,10 @@ This will open a book item at the specified page. *instance_create("",{,}); -Create an instance using the name "" for the of owner_type (when not provided, defaults to IOT_PARTY) -Most instance_* commands are used in conjunction with this command and -depend on the ID this command returns. +Create an instance using the name "" for the of +owner_type (when not provided, defaults to IOT_PARTY). Most instance_* +commands are used in conjunction with this command and depend on the +ID this command returns. Example: // Store the Party ID of the invoking character. @@ -8084,50 +8085,79 @@ for name and 0 for all other types. ---------------------------------------- -========================== -|11.- Queue Commands .| -========================== ---------------------------------------- -Queue Author's note: the following sucks, probably breaks formatting, please fix if you're willing to (you may remove this note) +====================== +|11.- Queue Commands.| +====================== --------------------------------------- -*queue() -creates a new queue instance, returns created queue id + +*queue(); + +Creates a new queue instance and returns the created queue id. --------------------------------------- -*queuesize() -returns the amount of entries in queue instance of . + +*queuesize(); + +Returns the amount of entries in the queue instance of . --------------------------------------- -*queueadd(,) -adds to queue of , returns 1 if is already present in the queue, 0 otherwise. + +*queueadd(,); + +Adds to queue of , returning 1 if is already +present in the queue, otherwise returning 0. --------------------------------------- -*queueremove(,) -removes from queue of , returns 1 if is not present in the queue, 0 otherwise. + +*queueremove(,); + +Removes from queue of , returning 1 if is not +present in the queue, otherwise returning 0. --------------------------------------- -*queueopt(,,{Optional