Difference between revisions of "Queuesize"

From Hercules Wiki
Jump to: navigation, search
(Created page with "== Syntax == queuesize(<Queue ID>); == Description == queuesize returns the amount of entries in specific QueueID == Example == .@id = queue(); mes queuesize(.@id); ...")
 

Latest revision as of 14:08, 30 October 2013

Syntax

queuesize(<Queue ID>);

Description

queuesize returns the amount of entries in specific QueueID

Example

 .@id = queue();
 mes queuesize(.@id);    //Returns 0
 queueadd(.@id,getcharid(3));
 mes queuesize(.@id);    //Returns 1