|
Mendel Newbie
Joined: 28 May 2002 Posts: 5 Location: USA
|
Posted: Tue May 28, 2002 2:39 am
Fetch from Stringlist |
I've been trying to figure this out but I'm not making to much progress so I'm hoping someone else can push me in the right direction.
I have a string list of names. What I want to do is copy all the names from StringList A to TempStringList B. Then take the first name in TempStringList B and give it to a variable called client.
So if Mitzy, Johan, Ilbrik are in StringList A and I type in "service" (an alias) then copy
Mitzy, Johan and Ilbrik into TempStringList B and then grab the first name from that list (which would be Mitzy) and make her name the @client variable.
(Its for armour and items castings. the reason I want two lists is I don't want the orignal list to lose the names. I already know how to remove the names once their stuff is done..
Mendel |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue May 28, 2002 5:00 am |
#AL service {#VAR TempStringListB {@StringlistA};#VAR client {%item(@TempStringListB,1)}}
LightBulb
Vague questions get vague answers |
|
|
|
|
|
|
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
|
|