PDA

View Full Version : Wehntoph Hunting Script Help



Hilts
12-08-2007, 02:24 AM
ive recently made a script for hunting in wehntoph and it still has a few glitches and bugs, was wondering if anyone would be kind enough to take a look at it and help out, i cant tell you what it does as to i dont pay much attention to it i guess. please test it and help me out!

i know it hangs on a skinning part, and when i botch it'll keep my dagger out for some reason
it wont stand up when im call winded or knocked down
prolly a few other things, well here it is....


#wehntoph.Cmd

counter set 1

start:
put look
match filter1 a thunder troll
match filter2 a wind witch
match filter3 ogre warrior
match startcheck Table]
match logoff [Scripting Violation Limbo]
match logoff [The Cell]
match lost Obvious paths:
match lost Obvious exits:
matchwait

lost:
goto R%c

checkexp:
put exp
match gorest You must rest
match R1 Your mind is
matchwait

R1:
pause .5
counter set 2
put se
goto checkroom

R2:
pause .5
put se
counter set 3
goto checkroom

R3:
pause .5
put sw
counter set 4
goto checkroom

R4:
pause .5
put ne
counter set 5
goto checkroom

R5:
pause .5
put se
counter set 6
goto checkroom

R6:
pause .5
put se
counter set 7
goto checkroom

R7:
pause .5
put w
counter set 8
goto checkroom

R8:
pause .5
put up
counter set 9
goto checkroom

R9:
pause .5
put down
counter set 10
goto checkroom

R10:
pause .5
put sw
counter set 11
goto checkroom

R11:
pause .5
put sw
counter set 12
goto checkroom

R12:
pause .5
put se
counter set 13
goto checkroom

R13:
pause .5
put se
counter set 14
goto checkroom

R14:
pause .5
put w
counter set 15
goto checkroom

R15:
pause .5
put se
counter set 16
goto checkroom

R16:
pause .5
put sw
counter set 17
goto checkroom

R17:
pause .5
put up
counter set 18
goto checkroom

R18:
pause .5
put sw
counter set 19
goto checkroom

R19:
pause .5
put e
counter set 20
goto checkroom

R20:
pause .5
put nw
counter set 21
goto checkroom

R21:
pause .5
put down
counter set 22
goto checkroom

R22:
pause .5
put se
counter set 23
goto checkroom

R23:
pause .5
put up
counter set 24
goto checkroom

R24:
pause .5
put e
counter set 25
goto checkroom

R25:
pause .5
put down
counter set 26
goto checkroom

R26:
pause .5
put sw
counter set 27
goto checkroom

R27:
pause .5
put nw
counter set 28
goto checkroom

R28:
pause .5
put nw
counter set 29
goto checkroom

R29:
pause .5
put sw
counter set 30
goto checkroom

R30:
pause .5
put nw
counter set 31
goto checkroom

R31:
pause .5
put nw
counter set 32
goto checkroom

R32:
pause .5
put nw
counter set 33
goto checkroom

R33:
pause .5
put up
counter set 34
goto checkroom

R34:
pause .5
put down
counter set 35
goto checkroom

R35:
pause .5
put ne
counter set 36
goto checkroom

R36:
pause .5
put ne
counter set 37
goto checkroom

R37:
pause .5
put n
counter set 38
goto checkroom

R38:
pause .5
put n
counter set 39
goto checkroom

R39:
goto checkexp

goback:
put stand
waitfor You
counter subtract
goto R%c

checkroom:
match goback You can't do that while laying down.
match start Sorry, you may only type ahead
match R%c You can't go there
match start I could not find what
match logoff V'reen
match logoff morph
match filter1 a thunder troll
match filter2 a wind witch
match filter3 a ogre warrior
match R%c Obvious paths:
match R%c Obvious exits:
matchwait

filter1:
match start You can't go there.
match R%c Also here:
match attack1 Obvious paths:
match attack1 Obvious exits:
matchwait

filter2:
match start You can't go there.
match R%c Also here:
match attack2 Obvious paths:
match attack2 Obvious exits:
matchwait

filter3:
match start You can't go there.
match R%c Also here:
match attack3 Obvious paths:
match attack3 Obvious exits:
matchwait

attack1:
put att troll
match wait1 ...wait
match dead1 dies
match dead1 dead
match dead1 motionless
match dead1 A little bit
match attack1 only type ahead
match attack1 Please wait
match lost You are
match attack1 Roundtime
match attack1 Wait
match start I could not find
matchwait

attack2:
put att witch
match wait2 ...wait
match dead2 dies
match dead2 dead
match dead2 motionless
match dead2 A little bit
match attack2 only type ahead
match attack2 Please wait
match lost You are
match attack2 Roundtime
match attack2 Wait
match start I could not find
matchwait

attack3:
put att warrior
match wait3 ...wait
match dead3 dies
match dead3 dead
match dead3 motionless
match dead3 A little bit
match attack3 only type ahead
match attack3 Please wait
match lost You are
match attack3 Roundtime
match attack3 Wait
match start I could not find
matchwait

wait1:
pause .5
goto attack1

wait2:
pause .5
goto attack2

wait3:
pause .5
goto attack3

dead1:
pause 1
put put %weapon in my %sheath
waitfor you
put get my %weapon2 from my %sheath
waitfor you
put skin troll
match skinned1 You skinned
match pauseskin1 ...wait
match attack1 You might want
match continue1 You botched
match continue1 You can only skin creatures!
match continue1 been skinned.
matchwait

dead2:
goto continue2
put skin witch
match skinned2 You skinned
match pauseskin2 ...wait
match attack2 You might want
match continue2 You botched
match continue2 You can only skin creatures!
match continue2 been skinned.
matchwait

dead3:
pause 1
put put %weapon in my %sheath
waitfor you
put get my %weapon2 from my %sheath
waitfor you
put skin warrior
match skinned3 You skinned
match pauseskin3 ...wait
match attack3 You might want
match continue3 You botched
match continue3 You can only skin creatures!
match continue3 been skinned.
matchwait

pauseskin1:
pause 1
goto dead1

pauseskin2:
pause 1
goto dead2

pauseskin3:
pause 1
goto dead3

continue1:
put search troll
goto checktre

continue2:
pause 1
put search witch
goto checktre

continue3:
put search warrior
goto checktre

checktre:
match getcrystal crystal
match gettopaz topaz
match getwand wand
match getring gold ring
match getair essence of air
match getcoral coral
match getcore core
match getamulet crystal amulet
match getstone stone
match getsap sapphire
match getlap lapis
match getpearl pearl
match getruby ruby
match getame amethyst
match gettou tourmaline
match getopal opal
match getdiamond diamond
match aftertreasure still alive
match aftertreasure I could not find what you were referring to.
match aftertreasure A thunder troll dissipates into the air, leaving nothing behind
match aftertreasure A wind witch dissipates into the air, leaving nothing behind
match aftertreasure a ogre warrior decays into compost
match aftertreasure it had nothing
matchwait

standup:
put stand
goto start

getamulet:
save "crystal amulet"
goto gettreasure

getcoral:
save coral
goto gettreasure

getring:
save ring
goto gettreasure

getair:
save "essence of air"
goto gettreasure

getcrystal:
save crystal
goto gettreasure

getwand:
save wand
goto gettreasure

getcore:
save core
goto gettreasure

getpearl:
save pearl
goto gettreasure

gettopaz:
save topaz
goto gettreasure

getstone:
save stone
goto gettreasure

gettopaz:
save topaz
goto gettreasure

getsap:
save sapphire
goto gettreasure

getlap:
save lapis
goto gettreasure

getruby:
save ruby
goto gettreasure

getame:
save amethyst
goto gettreasure

gettou:
save tourmaline
goto gettreasure

getopal:
save opal
goto gettreasure

getdiamond:
save diamond
goto gettreasure

gettreasure:
put put %weapon in my %sheath
pause .5
put get %s
match treasurefinal I could not find
match continuetre You pick up
matchwait

continuetre:
put open my %container
waitfor you
put put %s in my %container
waitfor You put
put close my %container
goto treasurefinal

treasurefinal:
put get %weapon from my %sheath
waitfor You remove
goto aftertreasure

aftertreasure:
pause 1
put look
match filter1 thunder troll
match filter2 wind witch
match filter3 ogre warrior
match R%c Obvious
matchwait

skinned1:
put put my %weapon2 in my %sheath
waitfor You put a
put get scalp
waitfor You pick up
put open my backsack
waitfor you
put put scalp in my backsack
waitfor You put a
put close my backsack
waitfor you
put get my %weapon from my %sheath
waitfor You remove a
goto continue1

skinned3:
put put my %weapon2 in my %sheath
waitfor You put a
put get tooth
waitfor You pick up
put open my backsack
waitfor you
put put tooth in my backsack
waitfor You put a
put close my backsack
waitfor you
put get my %weapon from my %sheath
waitfor You remove a
goto continue3

gorest:
move e
move n
move nw
move nw
move nw
move ne
move ne
move w
move sw
move nw
move nw
move nw
move nw
move ne
move ne
move e
move se
move se
move se
move ne
move e
move ne
move e
move ne
move nw
move n
move n
move ne
move n
move n
move n
move nw
move n
move ne
move n
move n
move n
move n
move n
move ne
move go gate
goto sellfurrier


hunt:
put incant 101
pause 3
put incant 101
pause 3
put incant 101
pause 3
put incant 601
pause 3
put incant 601
pause 3
put incant 601
pause 3
put incant 601
pause 3
put incant 602
pause 3
put incant 602
pause 3
put incant 613
pause 3
put incant 613
put get my %weapon from my %sheath
waitfor you
put rem my %sheath
waitfor you
put stand
waitfor you
move out
move s
move go door
move out
put incant 606
pause 3
put incant 606
pause 3
put incant 606
move n
move n
move n
move w
move n
move n
move w
move w
move w
move w
move w
move w
move w
move n
move go gate
move sw
move s
move s
move s
move s
move s
move sw
move s
move se
move s
move se
move s
move s
move s
move sw
move s
move s
move se
move w
move s
move w
move sw
move w
move sw
move nw
move nw
move nw
move w
move sw
move sw
move se
move se
move se
move se
move ne
move e
move sw
move sw
move se
move se
move se
move s
move w
goto start

sellfurrier:
move s
move go furr
put put %weapon in my %sheath
waitfor you
put wear my %shield
waitfor you
put rem my backsack
waitfor you
put open my backsack
waitfor you
put sell my backsack
pause 1
put wear my backsack
waitfor you
put close my backsack
goto bankdepo

bankdepo:
pause 1
put drool
pause 1
move out
move w
move s
move s
move s
move go bank
move go arch
put depo all
match gobankrest You deposit
match gobankrest You don't have that much!
matchwait

gobankrest:
move go ar
move out
move n
move n
move n
move e
move e
move e
move e
move e
move e
move e
move e
move s
move s
move e
move s
move s
move s
move go inn
move go door
move n
put go table
put put %weapon in my %sheath
waitfor you
put wear my %shield
pause 3
put yawn
goto rest

logoff:
put exit

rest:
pause 300
put exper
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 rest Your mind is clear
match hunt Your mind is fresh and clear
match hunt Your mind is as clear as a bell
matchwait

startcheck:
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 rest Your mind is clear
match hunt Your mind is fresh and clear
match hunt Your mind is as clear as a bell
matchwait

Hilts
12-10-2007, 03:45 PM
no one wants to help me out? sheesh