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
Agroamar
Beginner


Joined: 09 Feb 2002
Posts: 10
Location: USA

PostPosted: Thu Feb 28, 2002 7:21 am   

Problem with loop...
 
Alright, I want to loop through a single command such as this...

#Alias kall {#LOOP 1,%1 {kill %{i}.dwarf}}

Except... it just doesn't work when i type:

kall 6

I want it to just go through like:
kill 1.dwarf
kill 2.dwarf
kill 3.dwarf
etc...

Someone help me with this problem? Thanks.
Reply with quote
iljhar
GURU


Joined: 10 Oct 2000
Posts: 1116
Location: USA

PostPosted: Thu Feb 28, 2002 7:38 am   
 
Well, it seems to work for me. What version of zMUD are you running? What does your output look like?

Iljhar
Reply with quote
Agroamar
Beginner


Joined: 09 Feb 2002
Posts: 10
Location: USA

PostPosted: Thu Feb 28, 2002 7:53 am   
 
running zmud 6.16
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