Difference between revisions of "Queueremove"

From Hercules Wiki
Jump to: navigation, search
(Created page with "== Syntax == queueremove(<queue_id>,<account_id>); == Description == Removes <account_id> from queue of <queue_id>, returns 1 if <account_id> is not present in the queue, othe...")

Revision as of 14:14, 30 October 2013

Syntax

queueremove(<queue_id>,<account_id>);

Description

Removes <account_id> from queue of <queue_id>, returns 1 if <account_id> is not present in the queue, otherwise returns 0.

Example

 if (queueremove(.@id,getcharid(3))==1){;
   mes "You were not in the queue";
   close;
 }
 //Rest Script code Below
 ......