Queueremove

From Hercules Wiki
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
 ......