Queueremove

From Hercules Wiki
Revision as of 16:38, 6 November 2013 by Akkarin (Talk | contribs)

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

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
 ......