|
njms Newbie
Joined: 22 Sep 2004 Posts: 8
|
Posted: 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? |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: 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 |
|
|
|
|
|