Phyrn
09-02-2014, 12:24 AM
ok so have been trying to edit a Sorc script so i can swing...and did something wrong...walks me out there, wanders around and then takes me to rest.....ive never really done much scripting and know nothing....so help? Please?
prestart:
setvariable outofmana no
setvariable return no2
ROOM:
put L
MATCH INTABLE Obvious exits: out
MATCH Tables tables
MATCH TC The bustling town
MATCH 1a Obvious exits: northeast, southeast
MATCH 2a Obvious exits: south, northwest
MATCH 3a Obvious exits: southeast, down
MATCH 4a Obvious exits: east, southwest, up
MATCH 5a Obvious exits: west, up, down
MATCH 6a Obvious exits: north, up, down
MATCH 7a Obvious paths: east, down
MATCH 8a Obvious paths: southeast, west
MATCH 9a Obvious paths: southwest, northwest
MATCH 10a Obvious exits: northeast
MATCH 11a Obvious exits: up
MATCH atNODE Obvious exits: none
matchwait
INTABLE:
put stand
move o
goto tables
Tables:
put stand
waitfor you
put get my hook from my coa
put rem my shield
put climb stair
move o
move n
move n
move n
move n
move e
move e
move e
move e
put go gate
move e
move e
move ne
put climb trail
move u
move u
move e
move se
move n
move ne
move ne
move e
move se
put go brid
put go arch
goto room
TC:
put stand
put get my hook from my coa
move e
move e
move e
move e
move e
put go gate
move e
move e
move ne
put climb trail
move u
move u
move e
move se
move n
move ne
move ne
move e
move se
put go brid
put go arch
goto room
atnode:
put stand
put get my hook from my coa
put stance defensive
put go trap
goto room
1a:
setvariable room 1
goto %outofmana
1:
put look
match filter a snow spec
match cont1 obvious
matchwait
cont1:
move se
2a:
setvariable room 2
goto %outofmana
2:
put look
match filter a snow spec
match cont2 obvious
matchwait
cont2:
move nw
3a:
setvariable room 3
goto %outofmana
3:
put look
match filter a snow spec
match cont3 obvious
matchwait
cont3:
move d
4a:
setvariable room 4
goto %outofmana
4:
put look
match filter a snow spec
match cont4 obvious
matchwait
cont4:
move e
5a:
setvariable room 5
goto %outofmana
5:
put look
match filter a snow spec
match cont5 obvious
matchwait
cont5:
move u
6a:
setvariable room 6
goto %outofmana
6:
put look
match filter a snow spec
match cont6 obvious
matchwait
cont6:
move u
7a:
setvariable room 7
goto %outofmana
7:
put look
match filter a snow spec
match cont7 obvious
matchwait
cont7:
move e
8a:
setvariable room 8
goto %outofmana
8:
put look
match filter a snow spec
match cont8 obvious
matchwait
cont8:
move se
9a:
setvariable room 9
goto %outofmana
9:
put look
match filter a snow spec
match cont9 obvious
matchwait
cont9:
move sw
10a:
setvariable room 10
goto %outofmana
10:
put look
match filter a snow spec
match cont10 obvious
matchwait
cont10:
move ne
move nw
move w
MOVE D
MOVE D
move w
move sw
goto %return
11a:
setvariable room 11
goto %outofmana
11:
put look
match filter a snow spec
match cont11 obvious
cont11:
MOVE u
goto ROOM
filter:
match cont%room% Also here
match cont%room% Also in the room
match cont%room% disk
match kill obvious exits
match kill obvious paths
matchwait
kill:
put mana
match kill2 Remaining: 3
match kill2 Remaining: 4
match kill2 Remaining: 5
match kill2 Remaining: 6
match kill2 Remaining: 7
match kill2 Remaining: 8
match kill2 Remaining: 9
match kill2 Remaining: 10
match kill2 Remaining: 11
match kill2 Remaining: 12
match kill2 Remaining: 13
match kill2 Remaining: 14
match kill2 Remaining: 15
match kill2 Remaining: 16
match kill2 Remaining: 17
match kill2 Remaining: 18
match kill2 Remaining: 19
match kill2 Remaining: 20
match kill2 Remaining: 21
match kill2 Remaining: 22
match kill2 Remaining: 23
match kill2 Remaining: 24
match kill2 Remaining: 25
match kill2 Remaining: 26
match kill2 Remaining: 27
match kill2 Remaining: 28
match kill2 Remaining: 29
match kill2 Remaining: 30
match kill2 Remaining: 31
match kill2 Remaining: 32
match kill2 Remaining: 33
match kill2 Remaining: 34
match kill2 Remaining: 35
match kill2 Remaining: 36
match kill2 Remaining: 37
match kill2 Remaining: 38
match kill2 Remaining: 39
match kill2 Remaining: 40
match kill2 Remaining: 41
match kill2 Remaining: 42
match kill2 Remaining: 43
match kill2 Remaining: 44
match kill2 Remaining: 45
match kill2 Remaining: 46
match kill2 Remaining: 47
match kill2 Remaining: 48
match kill2 Remaining: 49
match kill2 Remaining: 50
match kill2 Remaining: 51
match kill2 Remaining: 52
match kill2 Remaining: 53
match kill2 Remaining: 54
match kill2 Remaining: 55
match kill2 Remaining: 56
match kill2 Remaining: 57
match kill2 Remaining: 58
match kill2 Remaining: 59
match kill2 Remaining: 60
match kill2 Remaining: 61
match kill2 Remaining: 62
match kill2 Remaining: 63
match kill2 Remaining: 64
match kill2 Remaining: 65
match kill2 Remaining: 66
match kill2 Remaining: 67
match kill2 Remaining: 68
match kill2 Remaining: 69
match kill2 Remaining: 70
match nomana mana
matchwait
nomana:
setvariable outofmana yes
setvariable return yes2
goto room
no:
goto %room
yes:
goto cont%room
kill2:
put stance off
put kill
waitfor roundtime
put stance def
matchwait
calmed:
put stance guarded
waitfor enraged
goto kill
goon:
put stance guarded
put look
match loot that appears dead
match continue obvious
matchwait
continue:
pause 3
goto room
loot:
put loot
goto looting
looting:
pause 1
put look
match diamond large yellow diamond
match diamond uncut diamond
match crystal blue crystal
match crystal black crystal
match crystal white crystal
match crystal shard of tigerfang crystal
match crystal rock crystal
match strongbox strongbox
match coffer coffer
match trunk trunk
match box box
match chest chest
match gem gem
match sapphire sapphire
match spinel spinel
match wand wand
match amethyst amethyst
match clasp clasp
match tourmaline tourmaline
match opal opal
match ruby ruby
match talisman talisman
match statue small statue
match amulet amulet
match shell shell
match scroll scroll
match palim palim
match stone smooth stone
match sardonyx sardonyx
match stone green avent
match paper paper
match vellum vellum
match zircon zircon
match nothing exits
match nothing paths
matchwait
sardonyx:
put wear my shield
put get sardonyx
put put my sardonyx in my bag
put rem my shie
goto looting
clasp:
put wear my shield
put get clasp
put put my clasp in my bag
put rem my shie
goto looting
stone:
put wear my shie
put get stone
put put my stone in my bag
put wear my shi
goto looting
crystal:
put wear my shi
put get crystal
put put my crystal in my bag
put rem my shi
goto looting
amethyst:
put wear my shi
put get amethyst
put put my amethyst in my bag
put rem my shi
goto looting
jasper:
put wear my shi
put get jasper
put put my jasper in my bag
put rem my shi
goto looting
zircon:
put wear my shi
put get zircon
put put my zircon in my bag
put rem my shi
goto looting
scroll:
put wear my shi
put get scroll
put put my scroll in my bag
put rem my shi
goto looting
palim:
put wear my shi
put get palim
put put my palim in my bag
put rem my shi
goto looting
paper:
put wear my shi
put get paper
put put my paper in my bag
put rem my shi
goto looting
vellum:
put wear my shi
put get vellum
put put my vellum in my bag
put rem my shi
goto looting
amulet:
put wear my shi
put get amulet
put put my amulet in my bag
put rem my shi
goto looting
ruby:
put wear my shi
put get ruby
put put my ruby in my bag
put rem my shi
goto looting
talisman:
put wear my shi
put get talisman
put put my talisman in my bag
put rem my shi
goto looting
statue:
put wear my shi
put get small statue
put put my small statue in my bag
put rem my shi
goto looting
opal:
put wear my shi
put get opal
put put my opal in my bag
put rem my shi
goto looting
tourmaline:
put wear my shi
put get tourmal
put put my tourmal in my bag
put rem my shi
goto looting
gem:
put wear my shi
put get gem
put put my gem in my bag
put rem my shi
goto looting
sapphire:
put wear my shi
put get sapp
put put my sapphire in my bag
put rem my shi
goto looting
spinel:
put wear my shi
put get spinel
put put my spinel in my bag
put rem my shi
goto looting
wand:
put wear my shi
put get wand
put put my wand in my bag
put rem my shi
goto looting
shell:
put wear my shi
put get shell
put put my shell in my bag
put rem my shi
goto looting
diamond:
put wear my shi
put get diamond
put put my diamond in my bag
put rem my shi
goto looting
chest:
put wear my shi
put get chest
put put my chest in my coa
put rem my shi
goto looting
box:
put wear my shi
put get box
put put my box in my coa
put rem my shi
goto looting
trunk:
put wear my shi
put get trunk
put put my trunk in my coa
put rem my shi
goto looting
strongbox:
put wear my shi
put get strongbox
put put my strongbox in my coa
put rem my shi
goto looting
coffer:
put wear my shi
put get coffer
put put my coffer in my coa
put rem my shi
goto looting
nothing:
pause 2
goto %room%a
gone:
put stance guarded
pause 4
goto %room%a
yes2:
goto node
no2:
goto expcheck2
expcheck2:
put exp
match room numbed
match room clear
match room muddled
match room becoming
match unload can't
matchwait
unload:
put go arch
move e
move nw
move w
move sw
move sw
move s
move nw
move w
move d
move d
move d
move sw
move w
put give guard 5
put go gate
put put my hook in my coa
put wear my shi
move w
move w
move w
move w
move w
move go bank
#put withdraw 10000 silver
move o
move s
put go store
put go door
goto prelocksmithing
prelocksmithing:
put look
match backtotown also here:
match locksmithing Obvious exits:
matchwait
locksmithing:
put look in my coa
match strongboxs strongbox
match coffers coffer
match trunks trunk
match chests chest
match boxs box
match donesmithing you see
matchwait
strongboxs:
save strongbox
goto smithing
coffers:
save coffer
goto smithing
trunks:
save trunk
goto smithing
boxs:
save box
goto smithing
chests:
save chest
goto smithing
smithing:
put get my %s% from my coa
waitfor you
put put my %s% on counter
put ring bell
put pay 5000
pause 1
put get %s% from counter
put open my %s%
put get coin
pause
put empty my %s% into my coa
pause 4
put drop my %s%
goto locksmithing
donesmithing:
goto backtotown
backtotown:
put go door
move o
move s
put go gemshop
put remove my bag
waitfor you
put sell my bag
put wear my bag
waitfor you
move o
move n
move n
put go bank
put deposit all
put withdraw 5
move o
move s
move s
move s
move s
move go shop
put climb stair
put go table
expwaittable:
pause 30
put xp
match donewaitingtable muddled
match donewaitingtable clear
match expwaittable mind
matchwait
donewaitingtable:
put get my hook from my coa
put rem my shie
move o
put climb stair
move o
move n
move n
move n
move n
move e
move e
move e
move e
put go gate
move e
move e
move ne
put climb trail
move u
move u
move e
move se
move n
move ne
move ne
move e
move se
put go brid
put go arch
goto room
node:
move se
move s
move d
move d
put go hole
put stance offensive
put put my hook in my coa
put wear my shi
setvariable outofmana no
setvariable return no2
pause 240
donewaiting:
put get my hook from my coa
put rem my shie
put stance defensive
put go trapdoor
goto room
prestart:
setvariable outofmana no
setvariable return no2
ROOM:
put L
MATCH INTABLE Obvious exits: out
MATCH Tables tables
MATCH TC The bustling town
MATCH 1a Obvious exits: northeast, southeast
MATCH 2a Obvious exits: south, northwest
MATCH 3a Obvious exits: southeast, down
MATCH 4a Obvious exits: east, southwest, up
MATCH 5a Obvious exits: west, up, down
MATCH 6a Obvious exits: north, up, down
MATCH 7a Obvious paths: east, down
MATCH 8a Obvious paths: southeast, west
MATCH 9a Obvious paths: southwest, northwest
MATCH 10a Obvious exits: northeast
MATCH 11a Obvious exits: up
MATCH atNODE Obvious exits: none
matchwait
INTABLE:
put stand
move o
goto tables
Tables:
put stand
waitfor you
put get my hook from my coa
put rem my shield
put climb stair
move o
move n
move n
move n
move n
move e
move e
move e
move e
put go gate
move e
move e
move ne
put climb trail
move u
move u
move e
move se
move n
move ne
move ne
move e
move se
put go brid
put go arch
goto room
TC:
put stand
put get my hook from my coa
move e
move e
move e
move e
move e
put go gate
move e
move e
move ne
put climb trail
move u
move u
move e
move se
move n
move ne
move ne
move e
move se
put go brid
put go arch
goto room
atnode:
put stand
put get my hook from my coa
put stance defensive
put go trap
goto room
1a:
setvariable room 1
goto %outofmana
1:
put look
match filter a snow spec
match cont1 obvious
matchwait
cont1:
move se
2a:
setvariable room 2
goto %outofmana
2:
put look
match filter a snow spec
match cont2 obvious
matchwait
cont2:
move nw
3a:
setvariable room 3
goto %outofmana
3:
put look
match filter a snow spec
match cont3 obvious
matchwait
cont3:
move d
4a:
setvariable room 4
goto %outofmana
4:
put look
match filter a snow spec
match cont4 obvious
matchwait
cont4:
move e
5a:
setvariable room 5
goto %outofmana
5:
put look
match filter a snow spec
match cont5 obvious
matchwait
cont5:
move u
6a:
setvariable room 6
goto %outofmana
6:
put look
match filter a snow spec
match cont6 obvious
matchwait
cont6:
move u
7a:
setvariable room 7
goto %outofmana
7:
put look
match filter a snow spec
match cont7 obvious
matchwait
cont7:
move e
8a:
setvariable room 8
goto %outofmana
8:
put look
match filter a snow spec
match cont8 obvious
matchwait
cont8:
move se
9a:
setvariable room 9
goto %outofmana
9:
put look
match filter a snow spec
match cont9 obvious
matchwait
cont9:
move sw
10a:
setvariable room 10
goto %outofmana
10:
put look
match filter a snow spec
match cont10 obvious
matchwait
cont10:
move ne
move nw
move w
MOVE D
MOVE D
move w
move sw
goto %return
11a:
setvariable room 11
goto %outofmana
11:
put look
match filter a snow spec
match cont11 obvious
cont11:
MOVE u
goto ROOM
filter:
match cont%room% Also here
match cont%room% Also in the room
match cont%room% disk
match kill obvious exits
match kill obvious paths
matchwait
kill:
put mana
match kill2 Remaining: 3
match kill2 Remaining: 4
match kill2 Remaining: 5
match kill2 Remaining: 6
match kill2 Remaining: 7
match kill2 Remaining: 8
match kill2 Remaining: 9
match kill2 Remaining: 10
match kill2 Remaining: 11
match kill2 Remaining: 12
match kill2 Remaining: 13
match kill2 Remaining: 14
match kill2 Remaining: 15
match kill2 Remaining: 16
match kill2 Remaining: 17
match kill2 Remaining: 18
match kill2 Remaining: 19
match kill2 Remaining: 20
match kill2 Remaining: 21
match kill2 Remaining: 22
match kill2 Remaining: 23
match kill2 Remaining: 24
match kill2 Remaining: 25
match kill2 Remaining: 26
match kill2 Remaining: 27
match kill2 Remaining: 28
match kill2 Remaining: 29
match kill2 Remaining: 30
match kill2 Remaining: 31
match kill2 Remaining: 32
match kill2 Remaining: 33
match kill2 Remaining: 34
match kill2 Remaining: 35
match kill2 Remaining: 36
match kill2 Remaining: 37
match kill2 Remaining: 38
match kill2 Remaining: 39
match kill2 Remaining: 40
match kill2 Remaining: 41
match kill2 Remaining: 42
match kill2 Remaining: 43
match kill2 Remaining: 44
match kill2 Remaining: 45
match kill2 Remaining: 46
match kill2 Remaining: 47
match kill2 Remaining: 48
match kill2 Remaining: 49
match kill2 Remaining: 50
match kill2 Remaining: 51
match kill2 Remaining: 52
match kill2 Remaining: 53
match kill2 Remaining: 54
match kill2 Remaining: 55
match kill2 Remaining: 56
match kill2 Remaining: 57
match kill2 Remaining: 58
match kill2 Remaining: 59
match kill2 Remaining: 60
match kill2 Remaining: 61
match kill2 Remaining: 62
match kill2 Remaining: 63
match kill2 Remaining: 64
match kill2 Remaining: 65
match kill2 Remaining: 66
match kill2 Remaining: 67
match kill2 Remaining: 68
match kill2 Remaining: 69
match kill2 Remaining: 70
match nomana mana
matchwait
nomana:
setvariable outofmana yes
setvariable return yes2
goto room
no:
goto %room
yes:
goto cont%room
kill2:
put stance off
put kill
waitfor roundtime
put stance def
matchwait
calmed:
put stance guarded
waitfor enraged
goto kill
goon:
put stance guarded
put look
match loot that appears dead
match continue obvious
matchwait
continue:
pause 3
goto room
loot:
put loot
goto looting
looting:
pause 1
put look
match diamond large yellow diamond
match diamond uncut diamond
match crystal blue crystal
match crystal black crystal
match crystal white crystal
match crystal shard of tigerfang crystal
match crystal rock crystal
match strongbox strongbox
match coffer coffer
match trunk trunk
match box box
match chest chest
match gem gem
match sapphire sapphire
match spinel spinel
match wand wand
match amethyst amethyst
match clasp clasp
match tourmaline tourmaline
match opal opal
match ruby ruby
match talisman talisman
match statue small statue
match amulet amulet
match shell shell
match scroll scroll
match palim palim
match stone smooth stone
match sardonyx sardonyx
match stone green avent
match paper paper
match vellum vellum
match zircon zircon
match nothing exits
match nothing paths
matchwait
sardonyx:
put wear my shield
put get sardonyx
put put my sardonyx in my bag
put rem my shie
goto looting
clasp:
put wear my shield
put get clasp
put put my clasp in my bag
put rem my shie
goto looting
stone:
put wear my shie
put get stone
put put my stone in my bag
put wear my shi
goto looting
crystal:
put wear my shi
put get crystal
put put my crystal in my bag
put rem my shi
goto looting
amethyst:
put wear my shi
put get amethyst
put put my amethyst in my bag
put rem my shi
goto looting
jasper:
put wear my shi
put get jasper
put put my jasper in my bag
put rem my shi
goto looting
zircon:
put wear my shi
put get zircon
put put my zircon in my bag
put rem my shi
goto looting
scroll:
put wear my shi
put get scroll
put put my scroll in my bag
put rem my shi
goto looting
palim:
put wear my shi
put get palim
put put my palim in my bag
put rem my shi
goto looting
paper:
put wear my shi
put get paper
put put my paper in my bag
put rem my shi
goto looting
vellum:
put wear my shi
put get vellum
put put my vellum in my bag
put rem my shi
goto looting
amulet:
put wear my shi
put get amulet
put put my amulet in my bag
put rem my shi
goto looting
ruby:
put wear my shi
put get ruby
put put my ruby in my bag
put rem my shi
goto looting
talisman:
put wear my shi
put get talisman
put put my talisman in my bag
put rem my shi
goto looting
statue:
put wear my shi
put get small statue
put put my small statue in my bag
put rem my shi
goto looting
opal:
put wear my shi
put get opal
put put my opal in my bag
put rem my shi
goto looting
tourmaline:
put wear my shi
put get tourmal
put put my tourmal in my bag
put rem my shi
goto looting
gem:
put wear my shi
put get gem
put put my gem in my bag
put rem my shi
goto looting
sapphire:
put wear my shi
put get sapp
put put my sapphire in my bag
put rem my shi
goto looting
spinel:
put wear my shi
put get spinel
put put my spinel in my bag
put rem my shi
goto looting
wand:
put wear my shi
put get wand
put put my wand in my bag
put rem my shi
goto looting
shell:
put wear my shi
put get shell
put put my shell in my bag
put rem my shi
goto looting
diamond:
put wear my shi
put get diamond
put put my diamond in my bag
put rem my shi
goto looting
chest:
put wear my shi
put get chest
put put my chest in my coa
put rem my shi
goto looting
box:
put wear my shi
put get box
put put my box in my coa
put rem my shi
goto looting
trunk:
put wear my shi
put get trunk
put put my trunk in my coa
put rem my shi
goto looting
strongbox:
put wear my shi
put get strongbox
put put my strongbox in my coa
put rem my shi
goto looting
coffer:
put wear my shi
put get coffer
put put my coffer in my coa
put rem my shi
goto looting
nothing:
pause 2
goto %room%a
gone:
put stance guarded
pause 4
goto %room%a
yes2:
goto node
no2:
goto expcheck2
expcheck2:
put exp
match room numbed
match room clear
match room muddled
match room becoming
match unload can't
matchwait
unload:
put go arch
move e
move nw
move w
move sw
move sw
move s
move nw
move w
move d
move d
move d
move sw
move w
put give guard 5
put go gate
put put my hook in my coa
put wear my shi
move w
move w
move w
move w
move w
move go bank
#put withdraw 10000 silver
move o
move s
put go store
put go door
goto prelocksmithing
prelocksmithing:
put look
match backtotown also here:
match locksmithing Obvious exits:
matchwait
locksmithing:
put look in my coa
match strongboxs strongbox
match coffers coffer
match trunks trunk
match chests chest
match boxs box
match donesmithing you see
matchwait
strongboxs:
save strongbox
goto smithing
coffers:
save coffer
goto smithing
trunks:
save trunk
goto smithing
boxs:
save box
goto smithing
chests:
save chest
goto smithing
smithing:
put get my %s% from my coa
waitfor you
put put my %s% on counter
put ring bell
put pay 5000
pause 1
put get %s% from counter
put open my %s%
put get coin
pause
put empty my %s% into my coa
pause 4
put drop my %s%
goto locksmithing
donesmithing:
goto backtotown
backtotown:
put go door
move o
move s
put go gemshop
put remove my bag
waitfor you
put sell my bag
put wear my bag
waitfor you
move o
move n
move n
put go bank
put deposit all
put withdraw 5
move o
move s
move s
move s
move s
move go shop
put climb stair
put go table
expwaittable:
pause 30
put xp
match donewaitingtable muddled
match donewaitingtable clear
match expwaittable mind
matchwait
donewaitingtable:
put get my hook from my coa
put rem my shie
move o
put climb stair
move o
move n
move n
move n
move n
move e
move e
move e
move e
put go gate
move e
move e
move ne
put climb trail
move u
move u
move e
move se
move n
move ne
move ne
move e
move se
put go brid
put go arch
goto room
node:
move se
move s
move d
move d
put go hole
put stance offensive
put put my hook in my coa
put wear my shi
setvariable outofmana no
setvariable return no2
pause 240
donewaiting:
put get my hook from my coa
put rem my shie
put stance defensive
put go trapdoor
goto room