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
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Mar 19, 2002 10:58 pm   

Counting rooms
 
quote:

Is it possible to count all rooms in all the zones, and if so how?



Check out the %numrooms() function.

li'l shmoe of Dragon's Gate MUD
Reply with quote
Troubadour
GURU


Joined: 14 Oct 2000
Posts: 556
Location: USA

PostPosted: Tue Mar 19, 2002 11:38 pm   
 


#VAR totalrooms 0
#LOOP %numzones {
#TELEPORT 0 %i
#ADD totalrooms %numrooms
}
#SHOW Total number of rooms mapped is @totalrooms~.



Troubadour
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