------------------
'lood reg
------------------
'lood reg
I used that shades script that Kelood posted as my foundation. I changed it to hunt sea nymphs.
#nyhunt
location:
put look
match room1 A brisk wind from the Bay
match room2 A few hardy trees cling
match room3 A sparse stand of trees partially
match room4 The worn path follows the contours
match room5 Gravel from boulders ground
match room6 A soft carpeting of grass
match room7 To the north, the sea
match room8 The cliffs narrow and you catch
match room9 You are forced to move inland
match room10 Faint light flits through
match room11 Your nose tingles, not
match room12 A deep sense of solitude
match room13 The crushed stone and
match room14 The trees are sparse
match room15 The sea breeze is cool and
match room16 Deep crevices have split
match room17 As the wind picks
match room18 Bits of damp seaweed
match room19 A large tree clings
match room20 A low, flat rock
matchwait
room1:
save room1
match nextroom1 Also here:
match checkny Obvious paths:
matchwait
nextroom1:
move w
goto location
room2:
save room2
match nextroom2 Also here:
match checkny Obvious paths:
matchwait
nextroom2:
move w
goto location
room3:
save room3
match nextroom3 Also here:
match checkny Obvious paths:
matchwait
nextroom3:
move nw
goto location
room4:
save room4
match nextroom4 Also here:
match checkny Obvious paths:
matchwait
nextroom4:
move w
goto location
room5:
save room5
match nextroom5 Also here:
match checkny Obvious paths:
matchwait
nextroom5:
move w
goto location
room6:
save room6
match nextroom6 Also here:
match checkny Obvious paths:
matchwait
nextroom6:
move w
goto location
room7:
save room7
match nextroom7 Also here:
match checkny Obvious paths:
matchwait
nextroom7:
move nw
goto location
room8:
save room8
match nextroom8 Also here:
match checkny Obvious paths:
matchwait
nextroom8:
move nw
goto location
room9:
save room9
match nextroom9 Also here:
match checkny Obvious paths:
matchwait
nextroom9:
move w
goto location
room10:
save room10
match nextroom10 Also here:
match checkny Obvious paths:
matchwait
nextroom10:
move w
goto location
room11:
save room11
match nextroom11 Also here:
match checkny Obvious paths:
matchwait
nextroom11:
move sw
goto location
room12:
save room12
match nextroom12 Also here:
match checkny Obvious paths:
matchwait
nextroom12:
move w
goto location
room13:
save room13
match nextroom13 Also here:
match checkny Obvious paths:
matchwait
nextroom13:
move w
goto location
room14:
save room14
match nextroom14 Also here:
match checkny Obvious paths:
matchwait
nextroom14:
move w
goto location
room15:
save room15
match nextroom15 Also here:
match checkny Obvious paths:
matchwait
nextroom15:
move sw
goto location
room16:
save room16
match nextroom16 Also here:
match checkny Obvious paths:
matchwait
nextroom16:
move w
goto location
room17:
save room17
match nextroom17 Also here:
match checkny Obvious paths:
matchwait
nextroom17:
move w
goto location
room18:
save room18
match nextroom18 Also here:
match checkny Obvious paths:
matchwait
nextroom18:
move nw
goto location
room19:
save room19
match nextroom19 Also here:
match checkny Obvious paths:
matchwait
nextroom19:
move w
goto location
room20:
save room20
match nextroom20 Also here:
match checkny Obvious paths:
matchwait
nextroom20:
move e
move e
move se
move e
move e
move ne
move e
move e
move e
move ne
move e
move e
move se
move se
move e
move e
move e
move se
move e
move e
goto location
checkny:
look
match killny sea nymph
match next%s I could not find
match next%s Obvious paths:
killny:
put kill nymph
match battle You swing a
match search A sea nymph is already
matchwait
battle:
goto killny
search:
put search ny
pause 1
goto next%s
A couple problems... in every room that I walk into that is empty, the script puts kill nymph.
Also, I make the script walk back to the merchant road and start over when I reach room 20 because I have no idea how to make it go back, still checking for nymphs, and without getting the rooms mixed up (the script doesn't know which way I came from, so it doesn't know to go east and, instead, heads back to room 20). Any help is appreciated.
Dekrid reg
About the movement back. If you take a look at the shades script, you'll notice matches like
match room2%c blah blah
notice the %c, its a counter. 1 going forward, 2 going back. The lesser frost shades area isnt a complete circle, and you must back track through a few rooms. If you can figure it out through looking at the shades script then your all set, but its a bit in depth to get into here if you don't know how to script well.
Like insomniac said, jumping right into hunting scripts is not the best thing.
Take it slow.
Speaking of that, i will start up my tips and techniques section shortly, hopefully today.
It will start slow with basic functions and their syntax, then work up to more complicated techniques.
------------------
'lood reg
1.) Are hunting scripts just scripts that make your character hunt constantly without you controlling it?
2.) If it is what keeps you from poaching?
3.) And lastly, How do I get a script to run on the wizard FE? i tried a few but they never worked. Getting into the .wiz format is what i don't know how to do.
Well those are the only questions i got right now. I'm sure I'll think of more later. Thanks in advance for any help.
Avalor reg
match dontpoach also in the room
match dontpoach also here
match nobodyhere obvious
matchwait
what this would do is wait till one of those phrases is "matched". if "also in the room" is matched, then someone is in the room.
The match command sets off first come first serve, so if obvious exits came before also in the room, this wouldnt work.
syntax is match (line name) (match phrase)
matchwait signals the end of a set of matches, you can only have 32 matches in a set.
for a comprehensive list of all commands, look for my glossary. (TIP #001 in this section)
3. You can save scripts as either a .cmd or .wiz file. .cmd are command line scripts. You execute them at the command line, just type .scriptname
.wiz files are executed through a drop down menu in the wizard: script-execute a script.
if you cant see your script, it might be that you dont have your directory set right.
goto configuration, options, paths. Check to see that your scripts path is where your scripts are. If not, click locate and point to the directory.
hope that helps.
For beggining scripts, check out our TIPS supplied by myself and insomniac. look for more soon, i am working on a couple script projects now, but should be able to get another tip up within the next couple weeks.
!= 'lood
reg
Avalor reg
put exp
match Rest Your mind can't take much more
match Rest Your mind is numbed.
match Rest Your mind is becoming numbed.
match Rest Your mind is muddled.
match Hunt Your mind is clear.
match Hunt Your mind is fresh and clear.
match Hunt Your mind is as clear as a bell.
matchwait
Be warned: incorporating Symbol of Dreams into a hunt/rest script is a lot more complicated than it seems. Because of script timer limitations, a good script must be able to loop. This means that the first command of your script can't be LOOK, or anything else that wakes you up.
-Lord Ganryu reg
Since save carries on to the next script you would do..
Start:
goto %Sexpcheck
RESTINGexpcheck:
put exp
MATCH gohunt Fesh and clear.
MATCHWAIT
gohunt:
save HUNTING
HUNTINGexpcheck:
put l
match bla
Fried:
save RESTING
(goto resting area)
-Pirub reg
ATTACK:
put attack rat
MATCH ATTACKRT Roundtime: [rt] sec.
MATCHWAIT
ATTACKRT:
MATCH SOMEONETALKED [person] whispers, "[person's comment]"
MATCHWAIT [rt]
goto ATTACK
SOMEONETALKED
put whisper [person] "I can't talk right now, hold on."
waitfor You whisper
put attack rat
wait
MATCH ATTACKRT Roundtime: [rt] sec.
MATCH STILLINRT ...wait [rt] seconds.
MATCHWAIT
STILLINRT
pause [rt]
goto ATTACK
END
This is just a crude example to get the point across. Do you see how it would be useful to have the MATCHWAIT [time in seconds] command? You may have noticed that it enabled the script to remain active during roundtime. This is a very powerful feature that I have not been able to utilize using any of the current commands available in any of the frontends I've been able to work with. If this is already possible, please teach me how it could be simulated otherwise. The goal of my scripts depends on it.
Thanks,
Scott
[This message has been edited by Soulsearcher (edited 04-13-2002).] reg