Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Strakc
Apprentice


Joined: 31 Jan 2006
Posts: 106
Location: Virginia Beach, Virginia

PostPosted: Thu May 04, 2006 7:13 am   

Queue system
 
Code:
#if (%numitems( @Queue) and @Balance and @Equilibrium) {%pop( Queue)}

I use this for my Queue system, now what I want to do is have an alias, take another variable thats a list, and put them in the queue list, how I would do this I dont know. could someone help me?
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Thu May 04, 2006 4:53 pm   
 
queue=%concat(@queue, "|", @list)
_________________
Discord: Shalimarwildcat
Reply with quote
Strakc
Apprentice


Joined: 31 Jan 2006
Posts: 106
Location: Virginia Beach, Virginia

PostPosted: Thu May 04, 2006 6:16 pm   
 
Hrm, not exactly sure what that does
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4691
Location: Pensacola, FL, USA

PostPosted: Thu May 04, 2006 6:23 pm   
 
it gets the array contents of @queue and @list, and makes it a single array called @queue
_________________
Discord: Shalimarwildcat
Reply with quote
Strakc
Apprentice


Joined: 31 Jan 2006
Posts: 106
Location: Virginia Beach, Virginia

PostPosted: Thu May 04, 2006 6:31 pm   
 
well I tried it and didn't work *scratch*
Reply with quote
Arcane_of_Discworld
Wanderer


Joined: 29 Jan 2002
Posts: 99
Location: UK

PostPosted: Thu May 04, 2006 8:53 pm   
 
#FORALL @List {#Var Queue %additem(%i,@Queue)}
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net