|
bozo65 Beginner
Joined: 27 Feb 2005 Posts: 11
|
|
|
|
Private Adept
Joined: 10 Jan 2002 Posts: 264 Location: USA
|
Posted: 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 |
|
|
|
DeReP Adept
Joined: 14 Jun 2003 Posts: 222 Location: Chile
|
Posted: Wed Apr 13, 2005 2:16 pm |
Or you could just use the #FIND command
|
|
|
|
Private Adept
Joined: 10 Jan 2002 Posts: 264 Location: USA
|
Posted: 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
|
|
|
|
DeReP Adept
Joined: 14 Jun 2003 Posts: 222 Location: Chile
|
Posted: 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 |
|
|
|
Private Adept
Joined: 10 Jan 2002 Posts: 264 Location: USA
|
Posted: 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 |
|
|
|
DeReP Adept
Joined: 14 Jun 2003 Posts: 222 Location: Chile
|
Posted: 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.
|
|
|
|
Private Adept
Joined: 10 Jan 2002 Posts: 264 Location: USA
|
Posted: 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 |
|
|
|
DeReP Adept
Joined: 14 Jun 2003 Posts: 222 Location: Chile
|
Posted: 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.
|
|
|
|
Private Adept
Joined: 10 Jan 2002 Posts: 264 Location: USA
|
Posted: 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 |
|
|
|
bozo65 Beginner
Joined: 27 Feb 2005 Posts: 11
|
Posted: 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. |
|
|
|
|
|