PDA

View Full Version : Useful go2 aliases



liquiddrool
01-05-2014, 02:38 AM
Here's what I currently have, feel free to add your own

cys => ;go2 4654
dais => ;go2 188
illilockers => ;go2 18145
illiworkshop => ;go2 18160
tsc => ;go2 228
zul => ;go2 1005

drauz
01-05-2014, 09:26 AM
is there a way to set multiple places for one word and it will go to the closest available one? Like if I ;go bank it will go to the bank of the town I'm in. Looking to make it for my wizard and sorcerer. One would be enchanting workshops and the other ensorcelling workshops.

liquiddrool
01-05-2014, 01:05 PM
you can see what is in ;go2 targets. I see most towns have a sorcererguild and wizardguild, though no workshops.

Tgo01
01-05-2014, 01:37 PM
is there a way to set multiple places for one word and it will go to the closest available one? Like if I ;go bank it will go to the bank of the town I'm in. Looking to make it for my wizard and sorcerer. One would be enchanting workshops and the other ensorcelling workshops.

;eq rooms = [ '2455', '2386' ];target_room = Room.current.find_nearest(rooms);start_script 'go2', [ target_room.to_s ]

Just change the room numbers to whatever you want and add more by separating them with a comma and putting quotes around the room number.

Whirlin
01-05-2014, 02:02 PM
OTF: 11813
(that's right past the barrier on the approach)

BigWorm
01-05-2014, 02:44 PM
Some go2 and map related aliases I have:



aftergo2 => ;exec echo "waiting for go2 to end..."; wait_while { running? "go2" }; exec \?
bankrun => ;exec here = Room.current.id ; start_script "go2", [ "bank", "_disable_confirm_" ] ; wait_while { running? "go2" } ; fput "depo all" ; start_script "go2", [ "#{here}", "_disable_confirm_" ]
g2 => ;go2 \?
g2b => ;go2 bank
g2f => ;go2 furrier
g2g => ;go2 advguard
g2gs => ;go2 gemshop
g2h => ;go2 herbalist
g2r => ;e start_script "go2", [ UserVars.rest_room ]
g2t => ;go2 advguild
go2 => ;go2
goto => ;go2
room => ;exec echo Room.current.inspect
roomid => ;exec echo Map.current.id

m444w
01-05-2014, 04:30 PM
go inside and open a locker once you go to the room:

fwilocker => ;e r = 12295; start_script 'go2', [r]; wait_until{Room.current.id == r }; multifput('go blue door','go cur', 'open locker')

That specific example is for the pauper's locker on FWI.

I also use the same principle for a few other areas that aren't mapped on go2 (like playershops for instance)