View Single Post
  #1  
Old 08-15-2007, 08:23 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
serverr flag array trouble

Okay, so I'm making an Events System, and I have the events setup like this:
Theres 4 different event types, each has it's own multidimensional array with the
event names and their data in it. What I'm stuck on is trying to make a list of each event in its category in serverr flags. Ex: serverr.events.contest=Musical Chairs, Emoticons

Now, to spare you with all the for loops and such, here's essentially what I'm trying to do:
PHP Code:
temp.testtype = {"race""spar"};
temp.elist.race = {{"Foot Race","bla"}, {"Bush Race","bla"}};
temp.elist.spar = {{"Spar","bla"}, {"Classic Spar","bla"};
serverr.events.(@ temp.testtype[0])[0] = temp.elist.(@ temp.testtype[0])[0][0];
serverr.events.(@ temp.testtype[0])[1] = temp.elist.(@ temp.testtype[0])[1][0];
serverr.events.(@ temp.testtype[0])[0] = temp.elist.(@ temp.testtype[1])[0][0];
serverr.events.(@ temp.testtype[0])[1] = temp.elist.(@ temp.testtype[1])[1][0]; 
My problem is that the serverr flags will not set.
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote