PDA

View Full Version : Help on this huntint script please



Wuxong
08-22-2005, 08:14 PM
2 QUESTIONS that i need help with please

1. Why when it checks my exp and my head is full does it just keep checking my exp and not go back to town?

2. How would I go about adding the spiders into my script to hunt them as well? Please any help would be great. I been tweeking it for 3 days and i just cant get it right.


start:
put look
match filter a servant
match R1 Lower Trollfang, Clearing
match continuehunt Obvious exits
matchwait

R1:
counter set 1
#comment these out if you dont have em, duh
put sign of warding
put sign of defending
pause
put sign of swords
put sign of striking
put sign of smiting
pause
put nw
goto checkroom
R2:
put sw
goto checkroom
R3:
put nw
goto checkroom
R4:
put sw
goto checkroom
R5:
put w
goto checkroom
R6:
put nw
goto checkroom
R7:
put ne
goto checkroom
R8:
put nw
goto checkroom
R9:
put ne
goto checkroom
R10:
put e
goto checkroom
R11:
put se
goto checkroom
R12:
put ne
goto checkroom
R13:
put se
goto checkroom
R14:
put ne
goto checkroom
R15:
put se
goto checkroom
R16:
put s
goto checkroom
R17:
put s
goto checkroom
R18:
put s
goto checkroom
R19:
put s
goto checkroom
R20:
put sw
goto checkroom
R21:
put exp
match gorest Your mind can't take much more of this!
match R1 Your mind is
matchwait

put exp
match gorest You mind can't take more of this!
match R1 Your mind is
matchwait

checkroom:
counter add 1
match start Sorry, you may only type ahead
match R%c You can't go there
match R%c disk
match R%c I could not find what
match filter servant
match R%c Obvious
matchwait

filter:
match R%c and a servant
match R%c , a servant
match R%c that appears dead
match R%c Also here
match R%c appears stunned
match R%c lying down
match R%c disk
match checkc Obvious
matchwait

preatt:
match attack servant swings
match R%c dies
match R%c servant arrives
match R%c servant heads
matchwait

attack:
put stance offensive
put att
match wait ...wait
match dead dies
match dead dead
match dead motionless
match dead A little bit
match attack only type ahead
match attack Please wait
match attack Roundtime:
match attack Wait
match R%c servant arrives
match R%c I could not find
match R%c servant heads
match R%c You currently have no valid target
matchwait

wait:
goto attack

dead:
put stance defensive
put search servant
goto checkc

checkc:
put look servant
match preatt You see a fairly
match R%c I could not find what you were referring to.
matchwait

gorest:
put exp
match gorest You must rest
match R1 Your mind is
matchwait
move s
move w
move w
move go path
move w
move nw
move ne
move nw
move nw
move go trail
move sw
move climb bank
move go bridge
move w
move w
move nw
move n
move n
move n
move n
move n
move ne
move go gate
move s
move w
move s
move s
move s
move s
move s
move s
move s
move e
move go shop
put wear shield
put rem satch
put sel satch
move out
move w
move n
move n
move n
move n
move go bank
move go ar
put deposit all
put check bal
move out
move n
move n
move n
move e
move n
move go gate
move go inn
move go table
put time
put sign of thought
goto continuehunt

continuehunt:
move out
move out
move sw
move s
move s
move s
move s
move s
move se
move e
move e
move go bridge
move climb bank
move ne
move go trail
move se
move se
move sw
move se
move e
move go path
move e
move e
move n
put ready weapon
put remove shield
goto R1

hectomaner
08-22-2005, 08:23 PM
gorest:
put exp
match gorest You must rest
match R1 Your mind is
matchwait


your exp checks and what not send it to gorest: where it just loops over and over (if you are fried)

Wuxong
08-22-2005, 08:25 PM
so just add that to my gorest and i should be ok ?

Wuxong
08-22-2005, 08:30 PM
I am really new to scripting and what can i do to make this script work.. i am really lost here...

Wuxong
08-22-2005, 08:43 PM
just taking out that useless lines did it. I fianlly got what you meants thanks much hectomaner.. im not sure if that was all that was wrong with it but i am one step closer !! i will poast it when its all spiffy