reginrok
09-27-2003, 10:23 AM
I pieced this script together from scripts that I have seen but for some reason once it moves the one space north it won't move anymore...
#gargs
goto Begin
Begin:
1:
counter set 2
put sign of warding
wait
put sign of defending
wait
put sign of shields
wait
put sign of striking
wait
put sign of smiting
wait
put sign of swords
wait
save n
goto check
2:
counter add 1
save n
goto check
3:
counter add 1
save e
goto check
4:
counter add 1
save e
goto check
5:
counter add 1
save e
goto check
6:
counter add 1
save e
goto check
7:
counter add 1
save e
goto check
8:
counter add 1
save s
goto check
9:
counter add 1
save n
goto check
10:
counter add 1
save w
goto check
11:
counter add 1
save w
goto check
12:
counter add 1
save w
goto check
13:
counter add 1
save w
goto check
14:
counter add 1
save w
goto check
15:
counter add 1
save s
goto check
16:
counter add 1
save s
goto check
17:
counter add 1
save s
goto check
18:
counter add 1
save s
goto check
19:
counter add 1
save s
goto check
20 :
counter add 1
save e
goto check
21:
counter add 1
save e
goto check
22:
counter add 1
save w
goto check
23:
counter add 1
save w
goto check
24:
counter add 1
save n
goto check
25:
counter set 1
save n
goto check
check:
put %s
match nohere a lesser stone gargoyle appears dead
match check2 a lesser stone gargoyle
match nohere obvious paths
matchwait
check2:
put look
match nohere a lesser stone gargoyle appears dead
match nohere Also here:
match attack Obvious paths
matchwait
nohere2:
pause 1
put stance d
nohere:
pause 1
goto %c
attack:
put stance offen
wait
put hide
pause 1
put ambush gargoyle left leg
match attack2 falls to the ground
match attack You fail to
match attack You swing
matchwait
attack2:
pause 1
put hide
pause 1
put ambush gargoyle head
match search Stops moving
match attack2 You fail to
match attack2 You swing
matchwait
search:
pause 1
put search gargoyle
goto checktre
checktre:
match getzircon zircon
match gettopaz topaz
match getwand wand
match getring gold ring
match getmother mother-of-pearl
match getcoral coral
match getshell shell
match getgarnet garnet
match gettopaz shell
match getstone stone
match getsap sapphire
match getlap lapis
match getpearl pearl
match getruby ruby
match getquartz quartz
match getame amethyst
match gettou tourmaline
match getopal opal
match getdiamond diamond
match getcoffer coffer
match getbox box
match getstrong strongbox
match gettrunk trunk
match getcoffer coffer
match getchest chest
match aftertreasure still alive
match aftertreasure I could not find what you were referring to.
match aftertreasure A lesser gargoyle decays away.
matchwait
getcoral:
save coral
goto gettreasure
getring:
save ring
goto gettreasure
getmother:
save mother
goto gettreasure
getzircon:
save zircon
goto gettreasure
getwand:
save wand
goto gettreasure
getshell:
save shell
goto gettreasure
getpearl:
save pearl
goto gettreasure
getgarnet:
save garnet
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
getquartz:
save quartz
goto gettreasure
getame:
save amethyst
goto gettreasure
gettou:
save tourmaline
goto gettreasure
getopal:
save opal
goto gettreasure
getdiamond:
save diamond
goto gettreasure
getbox:
save box
goto gettreasure
getstrong:
save strongbox
goto gettreasure
gettrunk:
save trunk
goto gettreasure
getcoffer:
save coffer
goto gettreasure
getchest:
save chest
goto gettreasure
gettreasure:
put put %weapon in my %container
waitfor You put a
put get %s
match treasurefinal I could not find
match continuetre You pick up
matchwait
continuetre:
put put %s in my %container
waitfor You put
goto treasurefinal
treasurefinal:
put get %weapon from my %container
waitfor You remove
goto aftertreasure
aftertreasure:
pause 1
put look
match check2 a lesser stone gargoyle
match %c Obvious
matchwait
Can anyone tell me why that is?
#gargs
goto Begin
Begin:
1:
counter set 2
put sign of warding
wait
put sign of defending
wait
put sign of shields
wait
put sign of striking
wait
put sign of smiting
wait
put sign of swords
wait
save n
goto check
2:
counter add 1
save n
goto check
3:
counter add 1
save e
goto check
4:
counter add 1
save e
goto check
5:
counter add 1
save e
goto check
6:
counter add 1
save e
goto check
7:
counter add 1
save e
goto check
8:
counter add 1
save s
goto check
9:
counter add 1
save n
goto check
10:
counter add 1
save w
goto check
11:
counter add 1
save w
goto check
12:
counter add 1
save w
goto check
13:
counter add 1
save w
goto check
14:
counter add 1
save w
goto check
15:
counter add 1
save s
goto check
16:
counter add 1
save s
goto check
17:
counter add 1
save s
goto check
18:
counter add 1
save s
goto check
19:
counter add 1
save s
goto check
20 :
counter add 1
save e
goto check
21:
counter add 1
save e
goto check
22:
counter add 1
save w
goto check
23:
counter add 1
save w
goto check
24:
counter add 1
save n
goto check
25:
counter set 1
save n
goto check
check:
put %s
match nohere a lesser stone gargoyle appears dead
match check2 a lesser stone gargoyle
match nohere obvious paths
matchwait
check2:
put look
match nohere a lesser stone gargoyle appears dead
match nohere Also here:
match attack Obvious paths
matchwait
nohere2:
pause 1
put stance d
nohere:
pause 1
goto %c
attack:
put stance offen
wait
put hide
pause 1
put ambush gargoyle left leg
match attack2 falls to the ground
match attack You fail to
match attack You swing
matchwait
attack2:
pause 1
put hide
pause 1
put ambush gargoyle head
match search Stops moving
match attack2 You fail to
match attack2 You swing
matchwait
search:
pause 1
put search gargoyle
goto checktre
checktre:
match getzircon zircon
match gettopaz topaz
match getwand wand
match getring gold ring
match getmother mother-of-pearl
match getcoral coral
match getshell shell
match getgarnet garnet
match gettopaz shell
match getstone stone
match getsap sapphire
match getlap lapis
match getpearl pearl
match getruby ruby
match getquartz quartz
match getame amethyst
match gettou tourmaline
match getopal opal
match getdiamond diamond
match getcoffer coffer
match getbox box
match getstrong strongbox
match gettrunk trunk
match getcoffer coffer
match getchest chest
match aftertreasure still alive
match aftertreasure I could not find what you were referring to.
match aftertreasure A lesser gargoyle decays away.
matchwait
getcoral:
save coral
goto gettreasure
getring:
save ring
goto gettreasure
getmother:
save mother
goto gettreasure
getzircon:
save zircon
goto gettreasure
getwand:
save wand
goto gettreasure
getshell:
save shell
goto gettreasure
getpearl:
save pearl
goto gettreasure
getgarnet:
save garnet
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
getquartz:
save quartz
goto gettreasure
getame:
save amethyst
goto gettreasure
gettou:
save tourmaline
goto gettreasure
getopal:
save opal
goto gettreasure
getdiamond:
save diamond
goto gettreasure
getbox:
save box
goto gettreasure
getstrong:
save strongbox
goto gettreasure
gettrunk:
save trunk
goto gettreasure
getcoffer:
save coffer
goto gettreasure
getchest:
save chest
goto gettreasure
gettreasure:
put put %weapon in my %container
waitfor You put a
put get %s
match treasurefinal I could not find
match continuetre You pick up
matchwait
continuetre:
put put %s in my %container
waitfor You put
goto treasurefinal
treasurefinal:
put get %weapon from my %container
waitfor You remove
goto aftertreasure
aftertreasure:
pause 1
put look
match check2 a lesser stone gargoyle
match %c Obvious
matchwait
Can anyone tell me why that is?