gcstader
01-26-2004, 01:32 PM
I modified a script Kranar had posted to work for manticores. Here's the script, followed by a couple questions I have:
counter set 1
start:
pause 1
put look
match filter manticore
#match lost Arctic Tundra
match continuehunt Table]
match logoff [Scripting Violation Limbo]
match logoff [The Cell]
#match lost Obvious paths:
matchwait
#lost:
#pause .5
#put look
#match R1
#match R2
#match R3
#match R4
#match R5
#match R6
#match R7
#match R8
#match R9
#match R10
#matchwait
checkexp:
put exp
match moverest You must rest
match R1 Your mind is
matchwait
hunt:
pause 1
goto R1
R1:
pause .5
put e
counter set 2
goto checkroom
R2:
pause .5
put e
counter set 3
goto checkroom
R3:
pause .5
put go opening
counter set 4
goto checkroom
R4:
pause .5
put ne
counter set 5
goto checkroom
R5:
pause .5
put sw
counter set 6
goto checkroom
R6:
pause .5
put n
counter set 7
goto checkroom
R7:
pause .5
put w
counter set 8
goto checkroom
R8:
pause .5
put e
counter set 9
goto checkroom
R9:
pause .5
put s
counter set 10
goto checkroom
R10:
pause .5
put go opening
counter set 11
goto checkroom
R11:
pause .5
put w
counter set 12
goto checkroom
R12:
pause .5
put go opening
counter set 13
goto checkroom
R13:
pause .5
put north
counter set 14
goto checkroom
R14:
pause .5
put nw
counter set 15
goto checkroom
R15:
pause .5
put se
counter set 16
goto checkroom
R16:
pause .5
put s
counter set 17
goto checkroom
R17:
pause .5
put go opening
counter set 18
goto checkroom
R18:
pause .5
put w
counter set 19
goto checkroom
R19:
pause .5
put go opening
counter set 20
goto checkroom
R20:
pause .5
put n
counter set 21
goto checkroom
R21:
pause .5
put nw
counter set 22
goto checkroom
R22:
pause .5
put w
counter set 23
goto checkroom
R23:
pause .5
put e
counter set 24
goto checkroom
R24:
pause .5
put n
counter set 25
goto checkroom
R25:
pause .5
put s
counter set 26
goto checkroom
R26:
pause .5
put ne
counter set 27
goto checkroom
R27:
pause .5
put sw
counter set 28
goto checkroom
R28:
pause .5
put se
counter set 29
goto checkroom
R29:
pause .5
put s
counter set 30
goto checkroom
R30:
pause .5
put go opening
counter set 31
goto checkroom
R31:
goto checkexp
checkroom:
match start Sorry, you may only type ahead
match R%c You can't go there
match R%c I could not find what
match logoff V'reen
match logoff morph
match filter manticore
match R%c Obvious paths:
match R%c Obvious exits:
matchwait
filter:
match start You can't go there.
match R%c Also here:
match preatt Obvious paths:
match preatt Obvious exits:
matchwait
preatt:
put hide
pause 3
put SIGN OF SHIELDS
waitfor !
put SIGN OF STRIKING
waitfor !
put SIGN OF SMITING
waitfor !
put SIGN OF SWORDS
waitfor !
put SIGN OF DEFENDING
waitfor !
put SIGN OF WARDING
waitfor !
goto attack
attack:
put hide
pause 3
put stance o
put amb mant neck
match dead manticore screams one last
match dead falls to the ground and dies.
match attack You fail to find
match attack is stunned!
match attack wait
match attack Roundtime
match dead already dead
match R%c What were
match R%c I could not
matchwait
dead:
put search mantico
pause 1
put SIGN OF SHIELDS
waitfor !
put stance d
put look
goto checkroom
moverest:
put put my longsword in my harness
waitfor longsword
put wear my shield
waitfor shield
put stance o
put climb gate
put get longsword from my harness
waitfor longsword
put rem shield
put stance d
move go trail
move northeast
move northeast
move east
move east
put give guard 5 silver
move go gate
move east
move east
move east
move east
move east
move east
move go bank
goto bankdepo
gohunt:
pause 150
put exp
match continuehunt Mana: 21/
match continuehunt Mana: 22/
match continuehunt Mana: 23/
match continuehunt Mana: 24/
match continuehunt Mana: 25/
match continuehunt Mana: 26/
match continuehunt Mana: 27/
match continuehunt Mana: 28/
match continuehunt Mana: 29/
match continuehunt Mana: 30/
match continuehunt Mana: 31/
match continuehunt Mana: 32/
match continuehunt Mana: 33/
match continuehunt Mana: 34/
match continuehunt Mana: 35/
match continuehunt Mana: 36/
match continuehunt Mana: 37/
match continuehunt Mana: 38/
match continuehunt Mana: 39/
match continuehunt Mana: 40/
match continuehunt Mana: 41/
match continuehunt Mana: 42/
match continuehunt Mana: 43/
match continuehunt Mana: 44/
match continuehunt Mana: 45/
match continuehunt Mana: 46/
match continuehunt Mana: 47/
match continuehunt Mana: 48/
match continuehunt Mana: 49/
match continuehunt Mana: 50/
match continuehunt Mana: 51/
match continuehunt Mana: 52/
match continuehunt Mana: 53/
match continuehunt Mana: 54/
match continuehunt Mana: 55/
match continuehunt Mana: 56/
match continuehunt Mana: 57/
match continuehunt Mana: 58/
match continuehunt Mana: 59/
match continuehunt Mana: 60/
match continuehunt Mana: 61/
match continuehunt Mana: 62/
match continuehunt Mana: 63/
match continuehunt Mana: 64/
match continuehunt Mana: 65/
match continuehunt Mana: 107/
match gohunt Max
matchwait
continuehunt:
put stand
waitfor You scoot your chair
put get my longsword
waitfor You remove a
put rem my shield
move out
move go stair
move out
put prep 606
put cast
pause 3
put prep 606
put cast
pause 3
move north
move go gate
move west
move west
move sw
move sw
move go trail
put put my longsword in my harness
waitfor longsword
put wear my shield
waitfor shield
put stance o
put climb gate
put get longsword from my harness
waitfor longsword
put rem shield
put stance d
put SIGN OF STRIKING
waitfor !
put SIGN OF SMITING
waitfor !
put SIGN OF SHIELDS
waitfor !
put SIGN OF WARDING
waitfor !
put SIGN OF DEFENDING
waitfor !
put SIGN OF SWORDS
waitfor !
goto R1
bankdepo:
pause 1
put depo 1000
match bankdepo You deposit
match gobankrest You don't have that much.
matchwait
gobankrest:
move out
move w
move w
move w
move w
move w
move w
move s
move go pub
move go stair
put go table
pause 1
put sit
pause 1
goto rest
bankdepo:
pause 1
put depo 1000
match bankdepo You deposit 1000 silvers in
match gobankrest You don't have that much!
matchwait
rest:
put put longsword in my harness
put wear shield
pause 120
put exp
pause 120
put exp
pause 120
put exp
pause 120
put exp
pause 120
put exp
pause 120
put experience
goto spellup1
spellup1:
put rem my brig
pause 12
put prep 601
put cast
pause 4
put prep 601
put cast
pause 4
put prep 601
put cast
pause 4
put prep 602
put cast
pause 4
put prep 602
put cast
pause 4
put prep 613
put cast
pause 4
put prep 613
put cast
pause 4
put prep 618
put cast
pause 4
put prep 618
put cast
pause 4
put prep 103
put cast
pause 4
put prep 101
put cast
pause 4
put prep 101
put cast
pause 4
put prep 107
put cast
pause 4
put prep 107
put cast
pause 4
put wear my brig
pause 300
goto continuehunt
logoff:
put exit
----------------
Couple questions:
What would be the best way to pick up gems that the creatures drop after I search them? I tried something like this but it didn't work out too good:
dead:
put search mantico
pause 1
put SIGN OF SHIELDS
waitfor !
put stance d
put look
match get1 gem
match broke It had nothing of interest.
match broke nothing else of value
matchwait
broke:
put look
goto checkroom
get1:
put put longsword in my harness
waitfor longsword
put get gem
put put gem in my cloak
MATCH nofit1 won't fit
MATCH inside You put
MATCHWAIT
inside:
put get longsword from my harness
put stance d
put look
goto checkroom
nofit1:
put drop gem
put get longsword from my harness
waitfor longsword
put stance d
put look
goto checkroom
Any help?
counter set 1
start:
pause 1
put look
match filter manticore
#match lost Arctic Tundra
match continuehunt Table]
match logoff [Scripting Violation Limbo]
match logoff [The Cell]
#match lost Obvious paths:
matchwait
#lost:
#pause .5
#put look
#match R1
#match R2
#match R3
#match R4
#match R5
#match R6
#match R7
#match R8
#match R9
#match R10
#matchwait
checkexp:
put exp
match moverest You must rest
match R1 Your mind is
matchwait
hunt:
pause 1
goto R1
R1:
pause .5
put e
counter set 2
goto checkroom
R2:
pause .5
put e
counter set 3
goto checkroom
R3:
pause .5
put go opening
counter set 4
goto checkroom
R4:
pause .5
put ne
counter set 5
goto checkroom
R5:
pause .5
put sw
counter set 6
goto checkroom
R6:
pause .5
put n
counter set 7
goto checkroom
R7:
pause .5
put w
counter set 8
goto checkroom
R8:
pause .5
put e
counter set 9
goto checkroom
R9:
pause .5
put s
counter set 10
goto checkroom
R10:
pause .5
put go opening
counter set 11
goto checkroom
R11:
pause .5
put w
counter set 12
goto checkroom
R12:
pause .5
put go opening
counter set 13
goto checkroom
R13:
pause .5
put north
counter set 14
goto checkroom
R14:
pause .5
put nw
counter set 15
goto checkroom
R15:
pause .5
put se
counter set 16
goto checkroom
R16:
pause .5
put s
counter set 17
goto checkroom
R17:
pause .5
put go opening
counter set 18
goto checkroom
R18:
pause .5
put w
counter set 19
goto checkroom
R19:
pause .5
put go opening
counter set 20
goto checkroom
R20:
pause .5
put n
counter set 21
goto checkroom
R21:
pause .5
put nw
counter set 22
goto checkroom
R22:
pause .5
put w
counter set 23
goto checkroom
R23:
pause .5
put e
counter set 24
goto checkroom
R24:
pause .5
put n
counter set 25
goto checkroom
R25:
pause .5
put s
counter set 26
goto checkroom
R26:
pause .5
put ne
counter set 27
goto checkroom
R27:
pause .5
put sw
counter set 28
goto checkroom
R28:
pause .5
put se
counter set 29
goto checkroom
R29:
pause .5
put s
counter set 30
goto checkroom
R30:
pause .5
put go opening
counter set 31
goto checkroom
R31:
goto checkexp
checkroom:
match start Sorry, you may only type ahead
match R%c You can't go there
match R%c I could not find what
match logoff V'reen
match logoff morph
match filter manticore
match R%c Obvious paths:
match R%c Obvious exits:
matchwait
filter:
match start You can't go there.
match R%c Also here:
match preatt Obvious paths:
match preatt Obvious exits:
matchwait
preatt:
put hide
pause 3
put SIGN OF SHIELDS
waitfor !
put SIGN OF STRIKING
waitfor !
put SIGN OF SMITING
waitfor !
put SIGN OF SWORDS
waitfor !
put SIGN OF DEFENDING
waitfor !
put SIGN OF WARDING
waitfor !
goto attack
attack:
put hide
pause 3
put stance o
put amb mant neck
match dead manticore screams one last
match dead falls to the ground and dies.
match attack You fail to find
match attack is stunned!
match attack wait
match attack Roundtime
match dead already dead
match R%c What were
match R%c I could not
matchwait
dead:
put search mantico
pause 1
put SIGN OF SHIELDS
waitfor !
put stance d
put look
goto checkroom
moverest:
put put my longsword in my harness
waitfor longsword
put wear my shield
waitfor shield
put stance o
put climb gate
put get longsword from my harness
waitfor longsword
put rem shield
put stance d
move go trail
move northeast
move northeast
move east
move east
put give guard 5 silver
move go gate
move east
move east
move east
move east
move east
move east
move go bank
goto bankdepo
gohunt:
pause 150
put exp
match continuehunt Mana: 21/
match continuehunt Mana: 22/
match continuehunt Mana: 23/
match continuehunt Mana: 24/
match continuehunt Mana: 25/
match continuehunt Mana: 26/
match continuehunt Mana: 27/
match continuehunt Mana: 28/
match continuehunt Mana: 29/
match continuehunt Mana: 30/
match continuehunt Mana: 31/
match continuehunt Mana: 32/
match continuehunt Mana: 33/
match continuehunt Mana: 34/
match continuehunt Mana: 35/
match continuehunt Mana: 36/
match continuehunt Mana: 37/
match continuehunt Mana: 38/
match continuehunt Mana: 39/
match continuehunt Mana: 40/
match continuehunt Mana: 41/
match continuehunt Mana: 42/
match continuehunt Mana: 43/
match continuehunt Mana: 44/
match continuehunt Mana: 45/
match continuehunt Mana: 46/
match continuehunt Mana: 47/
match continuehunt Mana: 48/
match continuehunt Mana: 49/
match continuehunt Mana: 50/
match continuehunt Mana: 51/
match continuehunt Mana: 52/
match continuehunt Mana: 53/
match continuehunt Mana: 54/
match continuehunt Mana: 55/
match continuehunt Mana: 56/
match continuehunt Mana: 57/
match continuehunt Mana: 58/
match continuehunt Mana: 59/
match continuehunt Mana: 60/
match continuehunt Mana: 61/
match continuehunt Mana: 62/
match continuehunt Mana: 63/
match continuehunt Mana: 64/
match continuehunt Mana: 65/
match continuehunt Mana: 107/
match gohunt Max
matchwait
continuehunt:
put stand
waitfor You scoot your chair
put get my longsword
waitfor You remove a
put rem my shield
move out
move go stair
move out
put prep 606
put cast
pause 3
put prep 606
put cast
pause 3
move north
move go gate
move west
move west
move sw
move sw
move go trail
put put my longsword in my harness
waitfor longsword
put wear my shield
waitfor shield
put stance o
put climb gate
put get longsword from my harness
waitfor longsword
put rem shield
put stance d
put SIGN OF STRIKING
waitfor !
put SIGN OF SMITING
waitfor !
put SIGN OF SHIELDS
waitfor !
put SIGN OF WARDING
waitfor !
put SIGN OF DEFENDING
waitfor !
put SIGN OF SWORDS
waitfor !
goto R1
bankdepo:
pause 1
put depo 1000
match bankdepo You deposit
match gobankrest You don't have that much.
matchwait
gobankrest:
move out
move w
move w
move w
move w
move w
move w
move s
move go pub
move go stair
put go table
pause 1
put sit
pause 1
goto rest
bankdepo:
pause 1
put depo 1000
match bankdepo You deposit 1000 silvers in
match gobankrest You don't have that much!
matchwait
rest:
put put longsword in my harness
put wear shield
pause 120
put exp
pause 120
put exp
pause 120
put exp
pause 120
put exp
pause 120
put exp
pause 120
put experience
goto spellup1
spellup1:
put rem my brig
pause 12
put prep 601
put cast
pause 4
put prep 601
put cast
pause 4
put prep 601
put cast
pause 4
put prep 602
put cast
pause 4
put prep 602
put cast
pause 4
put prep 613
put cast
pause 4
put prep 613
put cast
pause 4
put prep 618
put cast
pause 4
put prep 618
put cast
pause 4
put prep 103
put cast
pause 4
put prep 101
put cast
pause 4
put prep 101
put cast
pause 4
put prep 107
put cast
pause 4
put prep 107
put cast
pause 4
put wear my brig
pause 300
goto continuehunt
logoff:
put exit
----------------
Couple questions:
What would be the best way to pick up gems that the creatures drop after I search them? I tried something like this but it didn't work out too good:
dead:
put search mantico
pause 1
put SIGN OF SHIELDS
waitfor !
put stance d
put look
match get1 gem
match broke It had nothing of interest.
match broke nothing else of value
matchwait
broke:
put look
goto checkroom
get1:
put put longsword in my harness
waitfor longsword
put get gem
put put gem in my cloak
MATCH nofit1 won't fit
MATCH inside You put
MATCHWAIT
inside:
put get longsword from my harness
put stance d
put look
goto checkroom
nofit1:
put drop gem
put get longsword from my harness
waitfor longsword
put stance d
put look
goto checkroom
Any help?