Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
njms
Newbie


Joined: 22 Sep 2004
Posts: 8

PostPosted: Sat May 21, 2005 2:26 am   

Stringlist manipulation
 
Here's my situation:

Let's say I have a stringlist "targets" that has "Jim|Jack|Jerry"... what I want to do is something like this #alias {kt} {kill @targets} and have it "Kill Jim;Kill Jack;Kill Jerry" but when if I were to simply do "kt" it just "kill Jim|Jack|Jerry". Anyway I can make it do what I want it to and still use a stringlist?
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Sat May 21, 2005 2:35 am   
 
#ALIAS kt {#FORALL @targets {kill %i}}
_________________
The only good questions are the ones we have never answered before.
Search the Forums
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net