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


Joined: 27 Feb 2005
Posts: 11

PostPosted: Wed Apr 13, 2005 9:04 am   

Find Button - Automapper
 
Is there a command or function which emulates this button?
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Wed Apr 13, 2005 10:03 am   
 
#ALIAS mapfind {room_to_find = %replace( %0, ', %)
#MAPQUERY {Name LIKE '%@room_to_find%'}
#show ------------------------------
#show Finding: %replace( %0, %, "")
#show ------------------------------
}

i send this alias via a %selected right click menu, command line, or thru a button where @room_name is already stored from several other triggers.


useage:
via right-click menu: mapfind %selected
command line: mapfind This room
inside a button: mapfind @room_name
Reply with quote
DeReP
Adept


Joined: 14 Jun 2003
Posts: 222
Location: Chile

PostPosted: Wed Apr 13, 2005 2:16 pm   
 
Or you could just use the #FIND command
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Wed Apr 13, 2005 3:37 pm   
 
heh, i was assuming find button in spreadsheet view... to actually locate a room other then the one you are currently in. afaik #FIND is to locate only current position on the map
Reply with quote
DeReP
Adept


Joined: 14 Jun 2003
Posts: 222
Location: Chile

PostPosted: Wed Apr 13, 2005 4:03 pm   
 
well I can only see 1 find button and thats to locate yourself in the mapper :D
Guess both should work to whatever his request should be :D
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Wed Apr 13, 2005 4:13 pm   
 
nope... open up Spreadsheet View...

you should see a row of buttons...

Field Find Set Walk Props

that find box opens a query window, that my alias performs from command line or within triggers/aliases/buttons/etc
Reply with quote
DeReP
Adept


Joined: 14 Jun 2003
Posts: 222
Location: Chile

PostPosted: Wed Apr 13, 2005 4:23 pm   
 
I know, but I didnt know anyone actually used spreadsheet to travel around. In the other case, theres a "button" with a pair of googles used to find your position in the map. Thats was all I was saying.
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Wed Apr 13, 2005 4:32 pm   
 
Quote:

but I didnt know anyone actually used spreadsheet to travel around


How in the world do you find a specific roomname to travel to then? heh
Reply with quote
DeReP
Adept


Joined: 14 Jun 2003
Posts: 222
Location: Chile

PostPosted: Wed Apr 13, 2005 4:36 pm   
 
I only use it to find a room a specific mob is in, with the "clairvoyance" spell of the mud I play.
Reply with quote
Private
Adept


Joined: 10 Jan 2002
Posts: 264
Location: USA

PostPosted: Wed Apr 13, 2005 4:52 pm   
 
so you do use it to travel... for spells like that i have it triggered to mapfind the output of those spells, like locate corpse, scry, etc.

:edit: but we really shouldnt even worry about it or continue posting back and forth till bozo lets us know what it was he was specifically asking, until then this is all mute :P
Reply with quote
bozo65
Beginner


Joined: 27 Feb 2005
Posts: 11

PostPosted: Wed Apr 13, 2005 10:01 pm   
 
#trigger ("You scry @target at *") {
room_to_find = %replace( %2, ', %)
room_id = %mapquery {Name LIKE '%@room_to_find%'}
#if (%numitems(room_id)=1) {
#TE %mapvnum(room_id)
}
}

Failing that if i need to get the zone ill use the ADO interface to open and query the mapper.

Thanks for the help.
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