|
Flow Newbie
Joined: 12 Dec 2003 Posts: 8
|
Posted: Sat Dec 20, 2003 12:02 am
Queues... |
Ok, so i got my queue up and running - it adds the alias to eat the herb, and rattles them off as i regain herbbalance - well, it should. If there's one thing on the list it's fine:
#IF (@herblist) {@herblist} {#VAR balherb 0}
How do i do it so it only gives the first command on herblist? Atm it goes blah|blah|blah if there's more than one. I just want the first |
|
|
|
Flow Newbie
Joined: 12 Dec 2003 Posts: 8
|
Posted: Sat Dec 20, 2003 12:06 am |
I thought it was something like:
(@herblist,1)
but i don't know |
|
|
|
Ins0mniak Apprentice
Joined: 27 Apr 2001 Posts: 110
|
Posted: Sat Dec 20, 2003 12:20 am |
#IF (%numitems(@herblist) > 0) {%item(@herblist,1)} {#VAR balherb {0}}
quote: Originally posted by Flow
Ok, so i got my queue up and running - it adds the alias to eat the herb, and rattles them off as i regain herbbalance - well, it should. If there's one thing on the list it's fine:
#IF (@herblist) {@herblist} {#VAR balherb 0}
How do i do it so it only gives the first command on herblist? Atm it goes blah|blah|blah if there's more than one. I just want the first
|
|
|
|
Flow Newbie
Joined: 12 Dec 2003 Posts: 8
|
Posted: Sat Dec 20, 2003 12:31 am |
OK - working now. I was sure it was something simple :)
|
|
|
|
|
|