|
sepe Novice
Joined: 09 Feb 2002 Posts: 39 Location: USA
|
Posted: Tue Apr 18, 2006 7:28 pm
Displaying a list |
I've written a script that looks at someone and tells me what they are carrying. But when I show the list, it displays horizontally. I'd like it to be vertical if possible. How can I do this.
For back round info this is the script I have
This is the alias
#ALIAS tlook {#VAR Einventorylisting {};#T+ Esummarize;#t- SumFolderDel;#t+ SumFolderAdd;summarize @target;#wa 1500;#t+ SumFolderDel;#t- SumFolderAdd;perceive @target;#wa 1500;#t- SumFolderDel;#t- SumFolderAdd;#SHOW %expandlist( @Einventorylisting, " , ")}
And the two triggers, one is a list, the second delets ites from the list is the second type of look matches the first. (Thus I only want items tht are seen in the second look that don't match the first)
#TRIGGER {~"(%a)~"*} {#additem Einventorylisting %1} "Esummarize|SumFolderAdd"
#TRIGGER {~"(%a)~"*} {#delitem Einventorylisting %1} "Esummarize|SumFolderDel"
And this is the Var after I perform the look
#VAR Einventorylisting {robes6969|coin7443|trousers27767|pipe33319|shirt34073|pill75648|bucket99703}
and it display like this on my screen...
1014h, 0m de-
robes , coin , trousers , pipe , shirt , pill , bucket
but I want it to display like this....
1014h, 0m de-
Robes
Coin
Trousers
Pipe
Shirt
Pill
Bucket
Some list can be ver long and I have to scroll right (even lose mud tect to the left sometimes) just to read it all. Thanks in advance |
|
_________________ Dazed glazed and having fun |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Tue Apr 18, 2006 8:28 pm |
#FORALL Einventorylisting {#ECHO %i}
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Tue Apr 18, 2006 8:42 pm |
Actually,
#FORALL @Einventorylisting {#ECHO %i}
|
|
|
|
|
|
|
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
|
|