Queuesize

From Hercules Wiki
Revision as of 14:08, 30 October 2013 by Dastgirpojee (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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