Josapheen
09-23-2006, 12:43 AM
skinning for a wizard, SF:
put glance
match skin1 longsword in your right hand
match skin2 wand in your right hand
matchwait
skin2:
put stow right
waitfor you
put ready weapon
goto skinwand
skinwand:
put skin %1
put search %1
match wandskinned You skinned
match wandbotched You botched the job
matchwait
wandskinned:
put stow right
waitfor you
put get pelt
waitfor you
put stow right
waitfor you
put get my wand
goto done
wandbotched:
put stow right
waitfor you
put get my wand
waitfor you
goto done
skin1:
put skin %1
put search %1
match skinned You skinned
match botched You botched
matchwait
skinned:
put stow right
put get pelt
put stow right
waitfor you
put ready weapon
botched:
exit
done:
exit
#################################
Picks up whatever and stows it for a wizard in SF:
put glance
match weapon longsword
match wand wand
matchwait
weapon:
put stow right
goto loopt
loopt:
put get %1
put stow right
waitfor you
shift
if_1 goto loopt
goto weapon2
weapon2:
put ready weapon
exit
wand:
put stow right
goto wand2
wand2:
put get %1
waitfor you
put stow right
waitfor you
if_1 goto wand2
put get my wand
exit
######################################
usage: .incant critter spell#. set up to cast at a critter until it dies, skin it, collect the skin, and check for more critters.
WARNING: Script does not terminante just because it does not have a valid target...if you move without exiting the script,
it will attack the next critter it recognizes in whatever room you wind up in. I don't know how to fix that, so any pointers would be appreciated. It currently will recognize rats, kobolds and goblins.
here:
put look
match mpdonothing Also here
match attack You also see a kobold
match attack and a kobold
match attack You also see a kobold,
match attack You also see a goblin
match attack and a goblin
match attack You also see a goblin,
match attack You also see a giant rat
match attack and a giant rat
match attack rat,
matchwait
mphere:
put look
match mpdonothing also here
match attack You also see a
matchwait
mpdonothing:
goto done
attack:
put stance off
put incant %2
put stance guard
match attackwait Wait 1 sec.
match attackwait ...wait
match dead dies
match dead goes still
match attackwait Roundtime
match escaped What were you referring to?
match escaped You have no valid target
match escaped target
match attack ...wait
matchwait
attackwait:
pause 3.25
goto attack
dead:
put skin %1
match skinned You skinned
put search %1
goto here
matchwait
skinned:
put stow right
waitfor You
put look
match skin skin
match pelt pelt
match hide hide
matchwait
hide:
put stow right
waitfor you
put get hide
waitfor you
put stow right
waitfor you
put gird
goto here
skin:
put stow right
put get skin
waitfor you
put stow right
waitfor you
put gird
goto here
pelt:
put stow right
waitfor you
put get pelt
put stow right
waitfor you
put ready weapon
goto here
done:
exit
escaped:
echo IT RAN AWAY! GO GET 'EM!
exit
IF ya use 'em, groovy...if you don't wanna use 'em, don't. :D
put glance
match skin1 longsword in your right hand
match skin2 wand in your right hand
matchwait
skin2:
put stow right
waitfor you
put ready weapon
goto skinwand
skinwand:
put skin %1
put search %1
match wandskinned You skinned
match wandbotched You botched the job
matchwait
wandskinned:
put stow right
waitfor you
put get pelt
waitfor you
put stow right
waitfor you
put get my wand
goto done
wandbotched:
put stow right
waitfor you
put get my wand
waitfor you
goto done
skin1:
put skin %1
put search %1
match skinned You skinned
match botched You botched
matchwait
skinned:
put stow right
put get pelt
put stow right
waitfor you
put ready weapon
botched:
exit
done:
exit
#################################
Picks up whatever and stows it for a wizard in SF:
put glance
match weapon longsword
match wand wand
matchwait
weapon:
put stow right
goto loopt
loopt:
put get %1
put stow right
waitfor you
shift
if_1 goto loopt
goto weapon2
weapon2:
put ready weapon
exit
wand:
put stow right
goto wand2
wand2:
put get %1
waitfor you
put stow right
waitfor you
if_1 goto wand2
put get my wand
exit
######################################
usage: .incant critter spell#. set up to cast at a critter until it dies, skin it, collect the skin, and check for more critters.
WARNING: Script does not terminante just because it does not have a valid target...if you move without exiting the script,
it will attack the next critter it recognizes in whatever room you wind up in. I don't know how to fix that, so any pointers would be appreciated. It currently will recognize rats, kobolds and goblins.
here:
put look
match mpdonothing Also here
match attack You also see a kobold
match attack and a kobold
match attack You also see a kobold,
match attack You also see a goblin
match attack and a goblin
match attack You also see a goblin,
match attack You also see a giant rat
match attack and a giant rat
match attack rat,
matchwait
mphere:
put look
match mpdonothing also here
match attack You also see a
matchwait
mpdonothing:
goto done
attack:
put stance off
put incant %2
put stance guard
match attackwait Wait 1 sec.
match attackwait ...wait
match dead dies
match dead goes still
match attackwait Roundtime
match escaped What were you referring to?
match escaped You have no valid target
match escaped target
match attack ...wait
matchwait
attackwait:
pause 3.25
goto attack
dead:
put skin %1
match skinned You skinned
put search %1
goto here
matchwait
skinned:
put stow right
waitfor You
put look
match skin skin
match pelt pelt
match hide hide
matchwait
hide:
put stow right
waitfor you
put get hide
waitfor you
put stow right
waitfor you
put gird
goto here
skin:
put stow right
put get skin
waitfor you
put stow right
waitfor you
put gird
goto here
pelt:
put stow right
waitfor you
put get pelt
put stow right
waitfor you
put ready weapon
goto here
done:
exit
escaped:
echo IT RAN AWAY! GO GET 'EM!
exit
IF ya use 'em, groovy...if you don't wanna use 'em, don't. :D