|
OmegaDeus Apprentice
Joined: 14 Sep 2005 Posts: 121
|
Posted: Fri Nov 11, 2005 4:39 am
Schoktra's Spelup bot |
I'm working on a spellup bot, and have a quite extensive list of what i can cast on others for their spellup, and also an extensive list that i can't cast but can scribe for them, and i was wondering, if i put them into stringlist variables or datarecord variables, is there an easy way to sort them from largest in length to the smallest, or will I need to make a function to run them through first.
ex:
Lightning Breath
Call Lightning
Sanctuary
Haste
fly |
|
_________________
Look at me I've got zSKILLS |
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
|
|
|
OmegaDeus Apprentice
Joined: 14 Sep 2005 Posts: 121
|
Posted: Fri Nov 11, 2005 4:36 pm |
Well that's good and all, but that is a temporary solution. That will only sort the list externally, what i'm looking for is to permanently rearrange it becuase later i will have to put in a loop that will go through the list an pull ones for each line by going for exact numbers, ex: first line woul be 1, 4, 7, 10, 13 second line 2, 5, 8, 11, 14 etc.
|
|
_________________
Look at me I've got zSKILLS |
|
|
|
Slaem Apprentice
Joined: 20 Sep 2005 Posts: 135
|
|
|
|
|
|