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
style
Newbie


Joined: 04 Oct 2002
Posts: 6
Location: Australia

PostPosted: Thu Oct 09, 2003 8:09 pm   

Automapper Stuff: help needed
 
As i play over time, and map and delete, the number of vnum that is unused slowly grows. This becomes a slight problem when i use
#loop %numroom() commands.

can anyone think of a way to perhaps.. defrag the vnums?

Also the #Mapquery command brings up that spreadsheet thing. Is there anyway to do a similar command, but echos it onto the screen instead? Something like the opposite of %roomname()?

My thanks to anyone who can help me out.

Cheers
Reply with quote
style
Newbie


Joined: 04 Oct 2002
Posts: 6
Location: Australia

PostPosted: Thu Oct 09, 2003 10:43 pm   
 
After a lot of reading and trial and error, and head banging against the monitor, i finally figured out the use of the %mapfilter function.

BUT!!!

i can only get it to search for a single word as follows:

#call %mapfilter( %concat( "Name LIKE ", "%whatever%"))

How should i set it up, so that i can filter for more words, to further reduce the possibilities?

Thanks
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Thu Oct 09, 2003 10:46 pm   
 
You can use %mapvnum to convert any number into an actual vnum for referencing rooms. The only way to actually "defrag" the rooms would be to use Charbal's zone importer(have to find a link to it in the Finished Scripts Forum) then renumber all rooms.

What exactly are you looking to do instead of #MAPQUERY? Almost anything can be done, with almost any formatting, but I am at a loss as to what you want.
Reply with quote
style
Newbie


Joined: 04 Oct 2002
Posts: 6
Location: Australia

PostPosted: Fri Oct 10, 2003 6:29 am   
 
I am trying to query for more words. E.G. I want to find the number for "Park Lane in Africa", and filtering for just "Park" word returns like 20 possibilities. I want to set it up so that i can query for perhaps "Park" and "Africa", to further reduce the possibilities.

I tried to mapfilter for "LIKE %Park% %Africa%", but can't get it to work. Is there some sort of seperating character required between every filtering word?

Thanks

And Zugg, My thanks to you . The more i know how about zMud, the more i love it. Can't wait for the ZMapper repair thing to come out, so i can actually use zMapper.
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