View Single Post
  #4  
Old 09-04-2005, 03:59 AM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
Quote:
Originally Posted by Torankusu_2002
Yeah, I think you got the gist of what I was trying to show with my example.
I was going to store them in an array, but I've never really toyed with them before. you'd get them like this, right?
experienceammounts = {0,100,300,600};

if (experience >= #I(experienceammounts,2)){
blah
}

right? I've never used string arrays before, if that's what I would use.
They're arent string arrays; they're just arrays, so experienceammounts[2] would work.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote