superbovine Newbie
Joined: 19 Jun 2003 Posts: 8
|
Posted: Fri Nov 28, 2003 8:31 pm
Crimson 2 Mud Rahnkara (healer) finding script |
OK, what this script does is from a certain room in the mud, the script walks my character to a zone, and walks around and finds the healer. The healer does not have a static position so she must be found everytime you want to heal when you cannot teleport to her.
Note: the #wait 1000 line pausing the alias for 1 seconds. You might have to adjust this for you connection speed. My guess for dail-up 1200 maybe is more reasonable.
---------------------SNIP--------------------
#class {RahnWalker}
#trigger {Rahnkara the Highpriestess : Immediate area$} {rahnFound = 1}
#trigger {Rahnkara the Highpriestess : Immediately ({north|east|south|west})$} {%1;scan}
#trigger {Rahnkara the Highpriestess : Far ({north|east|south|west})$} {%1;%1;scan}
#trigger {Rahnkara the Highpriestess : Way Far ({north|east|south|west})$} {%1;%1;%1;scan}
#trigger {Rahnkara the Highpriestess : Way Way Far ({north|east|south|west})$} {%1;%1;%1;%1;scan}
#trigger {Rahnkara the Highpriestess : Way Way Way Far ({north|east|south|west})$} {%1;%1;%1;%1;%1;scan}
#trigger {The Highpriestess, Rahnkara is here smiling warmly.$} {rahnFound = 1}
#al checkRahn {#wait 1000
#IF (@rahnFound = 0) {
#IF (@currentRoom = 923) {
s
}
#IF (@currentRoom = 926) {
s
}
#IF (@currentRoom = 929) {
w
}
#IF (@currentRoom = 928) {
w
}
#IF (@currentRoom = 927) {
n
}
#IF (@currentRoom = 924) {
n
}
#IF (@currentRoom = 921) {
e
}
#IF (@currentRoom = 922) {
e
}
scan
#wait 500
}}
#class 0
--------------------Snip-----------------
In theory you could also use this next set trigger and variables to help with rahn follows as well. If you use triggers to fol rahn, having this trigger enable your follows based on what room you are in might be helpful. This reduces ppl faking triggers to specific room numbers.
--------------snip--------------
#var CurrentRoom 0
#trigger {r~[(%1)~] ~[(%2)~]} {CurrentRoom = %1}
---------------------snip--------------
---------------snip--------------------
#al rahn {rahnFound = 0
#class RahnWalker 1
speed nnnnnwwwnnwnwwwwwwwws
scan
#while (@rahnFound = 0) {
checkRahn
}
#class RahnWalker 0}
-------------snip-------------------- |
|