MxPx1483
07-20-2005, 10:49 PM
Alright, trying out my first script to hunt wind wraiths in Teras...but its really buggy (not quite finished either). It would be greatly appreciated if some of you experienced scripters could point out any of the obvious mistakes you see and maybe throw in a few pointers. thanks:
start:
put stand
wait 9
put Take my buckler from my harness
match You stand back up
matchwait
move w
move w
move w
move w
move n
move n
move go gate
move n
move n
move nw
move go road
move e
move e
move go bri
move e
move e
move e
move e
move e
move go trail
put Sign of smiting
put sign of striking
pause 2
put sign of warding
put sign of defending
pause 2
put sign of deflection
pause 2
put sign of dissipation
pause 2
put sign of swords
pause 2
put sign of shields
pause 2
put jump
pause 3
enterstand:
put grovel
match enterstunned stunned
match stand grovel
match enterpause wait
match stand You are no longer stunned.
matchwait
enterstunned:
pause 4
goto enterstand
stand:
put stand
pause 2
goto hunt
enterpause:
pause 2
goto enterstand
hunt:
pause 1
put look
match filter wind wraith
match filter wind wraith
match filter wind wraith
match continuehunt [Golvern and Dragonstail]
match logoff [Scripting Violation Limbo]
match logoff [Consultation Lounge]
match logoff [The Cell]
match lost Obvious paths:
match lost Obvious exits:
matchwait
lost:
pause .5
match R1 The tunnel flares out into a wide
match R2 While the rampaging wind and
match R3 A thin divider of smooth volcanic
match R4 The tunnel widens and narrows as it
match R5 The wind speaks with a passionate voice
match R6 The tunnel stretches away in either direction
match R7 A single crack mars the side of the tunnel here
match R8 The wind is cold, and not the sort
match R9 In the roof of the tunnel is a dark hollow
match R10 Cold glassy walls close in on either
match R11 The tunnel seems oddly warm here despite
match R12 Westward, a pale red circle gleams
match R12 Howling wind bursts out into a vast cavern
R1:
pause .5
put w
counter set 2
goto checkroom
R2:
pause .5
put w
counter set 3
goto checkroom
R3:
pause .5
put w
counter set 4
goto checkroom
R4:
pause .5
put w
counter set 5
goto checkroom
R5:
pause .5
put w
counter set 6
goto checkroom
R6:
pause .5
put w
counter set 7
goto checkroom
R7:
pause .5
put w
counter set 8
goto checkroom
R8:
pause .5
put w
counter set 9
goto checkroom
R9:
pause .5
put w
counter set 10
goto checkroom
R10:
pause .5
put w
counter set 11
goto checkroom
R11:
pause .5
put w
counter set 12
goto checkroom
R12:
pause .5
put e
counter set 13
goto checkroom
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 filter wind wraith
match R%c Obvious paths:
match R%c Obvious exits:
matchwait
filter:
put look
match start You can't go there.
match R%c Also here:
match attack Obvious paths:
match attack Obvious exits:
matchwait
attack:
Put stance offensive
pause .5
Put incant 306
pause 3
match dead The wraith releases a groan of
match attack A wind wraith claws at you!
match attack A turbulent wind surrounds
match attack A wind wraith just arrived
match attack Roundtime:
match attack Wait
match attack ...wait
match attack only type ahead
match attack Please wait
match R%c I could not find
match R%c What were you referring to?
matchwait
dead:
put exp
match moverest Your mind is numbed.
match moverest Your mind can't take much more of this!
match R12 Your Mind
goto checkmana
matchwait
checkmana:
put mana
match moverest Remaining: 0
match moverest Remaining: 1
match moverest Remaining: 2
match moverest Remaining: 3
match moverest Remaining: 4
match moverest Remaining: 5
match moverest Remaining: 6
match moverest Remaining: 7
match moverest Remaining: 8
match moverest Remaining: 9
match moverest Remaining: 10
match moverest Remaining: 11
match moverest Remaining: 12
match moverest Remaining: 13
match moverest Remaining: 14
match moverest Remaining: 15
match moverest Remaining: 16
match moverest Remaining: 17
match moverest Remaining: 18
match moverest Remaining: 19
match moverest Remaining: 20
match moverest Remaining: 21
match moverest Remaining: 22
moverest:
move w
move w
match niche You can't go there
matchwait
niche:
put go niche
put remove gold ring
put wear gold ring
put put my buckler in my harness
incant 213
put meditate
waitfor You begin to
Pause 150
Pause 150
Pause 150
goto spellup
Pause 150
Pause 150
goto start
start:
put stand
wait 9
put Take my buckler from my harness
match You stand back up
matchwait
move w
move w
move w
move w
move n
move n
move go gate
move n
move n
move nw
move go road
move e
move e
move go bri
move e
move e
move e
move e
move e
move go trail
put Sign of smiting
put sign of striking
pause 2
put sign of warding
put sign of defending
pause 2
put sign of deflection
pause 2
put sign of dissipation
pause 2
put sign of swords
pause 2
put sign of shields
pause 2
put jump
pause 3
enterstand:
put grovel
match enterstunned stunned
match stand grovel
match enterpause wait
match stand You are no longer stunned.
matchwait
enterstunned:
pause 4
goto enterstand
stand:
put stand
pause 2
goto hunt
enterpause:
pause 2
goto enterstand
hunt:
pause 1
put look
match filter wind wraith
match filter wind wraith
match filter wind wraith
match continuehunt [Golvern and Dragonstail]
match logoff [Scripting Violation Limbo]
match logoff [Consultation Lounge]
match logoff [The Cell]
match lost Obvious paths:
match lost Obvious exits:
matchwait
lost:
pause .5
match R1 The tunnel flares out into a wide
match R2 While the rampaging wind and
match R3 A thin divider of smooth volcanic
match R4 The tunnel widens and narrows as it
match R5 The wind speaks with a passionate voice
match R6 The tunnel stretches away in either direction
match R7 A single crack mars the side of the tunnel here
match R8 The wind is cold, and not the sort
match R9 In the roof of the tunnel is a dark hollow
match R10 Cold glassy walls close in on either
match R11 The tunnel seems oddly warm here despite
match R12 Westward, a pale red circle gleams
match R12 Howling wind bursts out into a vast cavern
R1:
pause .5
put w
counter set 2
goto checkroom
R2:
pause .5
put w
counter set 3
goto checkroom
R3:
pause .5
put w
counter set 4
goto checkroom
R4:
pause .5
put w
counter set 5
goto checkroom
R5:
pause .5
put w
counter set 6
goto checkroom
R6:
pause .5
put w
counter set 7
goto checkroom
R7:
pause .5
put w
counter set 8
goto checkroom
R8:
pause .5
put w
counter set 9
goto checkroom
R9:
pause .5
put w
counter set 10
goto checkroom
R10:
pause .5
put w
counter set 11
goto checkroom
R11:
pause .5
put w
counter set 12
goto checkroom
R12:
pause .5
put e
counter set 13
goto checkroom
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 filter wind wraith
match R%c Obvious paths:
match R%c Obvious exits:
matchwait
filter:
put look
match start You can't go there.
match R%c Also here:
match attack Obvious paths:
match attack Obvious exits:
matchwait
attack:
Put stance offensive
pause .5
Put incant 306
pause 3
match dead The wraith releases a groan of
match attack A wind wraith claws at you!
match attack A turbulent wind surrounds
match attack A wind wraith just arrived
match attack Roundtime:
match attack Wait
match attack ...wait
match attack only type ahead
match attack Please wait
match R%c I could not find
match R%c What were you referring to?
matchwait
dead:
put exp
match moverest Your mind is numbed.
match moverest Your mind can't take much more of this!
match R12 Your Mind
goto checkmana
matchwait
checkmana:
put mana
match moverest Remaining: 0
match moverest Remaining: 1
match moverest Remaining: 2
match moverest Remaining: 3
match moverest Remaining: 4
match moverest Remaining: 5
match moverest Remaining: 6
match moverest Remaining: 7
match moverest Remaining: 8
match moverest Remaining: 9
match moverest Remaining: 10
match moverest Remaining: 11
match moverest Remaining: 12
match moverest Remaining: 13
match moverest Remaining: 14
match moverest Remaining: 15
match moverest Remaining: 16
match moverest Remaining: 17
match moverest Remaining: 18
match moverest Remaining: 19
match moverest Remaining: 20
match moverest Remaining: 21
match moverest Remaining: 22
moverest:
move w
move w
match niche You can't go there
matchwait
niche:
put go niche
put remove gold ring
put wear gold ring
put put my buckler in my harness
incant 213
put meditate
waitfor You begin to
Pause 150
Pause 150
Pause 150
goto spellup
Pause 150
Pause 150
goto start