Queueadd - HerculesWS/Hercules GitHub Wiki

Syntax

  • queueadd(<queue_id></queue_id>,<account_id></account_id>);

Description

Adds <account_id></account_id> to queue of <queue_id></queue_id>, returning 1 if <account_id></account_id> is already present in the queue, if <account_id></account_id> was not present in queue, it returns 0.

Example

  if('''queueadd'''(.@id,[[getcharid]](3)) == 1){
    [[mes]] "You are already in the queue.";
    [[close]];
  }

Category:Script_Command Category:Queue

⚠️ **GitHub.com Fallback** ⚠️