Bobmuhthol
04-09-2004, 08:41 PM
So I wrote this script to use with Warcliadhm in an attempt to get him some coins while he hunts, and I'd like it to do what it's supposed to as it took a little while to write, but all it does is search kills and go back to waiting for a death message. It hasn't done anything else, except echo YOU SUX SWING AGAIN like twice.
#ratmofo.Cmd
counter set 0
Start:
match swing att
match swing att rat
match swing at
match swing at rat
match swing attack
match swing attack rat
match cast 701
match exit [Town Square Central]
matchwait
swing:
match Youwinz dies.
match Youlozez Roundtime:
matchwait
Youwinz:
pause
put skin rat
wait
put put pelt in my backpack
wait
put search rat
counter add
goto Start
Youlozez:
echo YOU SUX - SWING AGAIN.
goto Start
cast:
match fuckedup Warded off!
match youwinz1 Warding failed!
matchwait
fuckedup:
put mana
match nomanaz Mana Points: 0
match yesmanaz Mana Points:
matchwait
nomanaz:
echo NO MANAZ - YOU SHOULD SWINGZ NOW
goto Start
yesmanaz:
put incant 701
goto cast
youwinz1:
match oneboy A ragged
match twoboy open
match deadboy dies.
matchwait
oneboy:
twoboy:
goto fuckedup
deadboy:
goto Youwinz
exit:
echo YOU SO TOTALLY KILLED THIS MANY RATS: %c
#ratmofo.Cmd
counter set 0
Start:
match swing att
match swing att rat
match swing at
match swing at rat
match swing attack
match swing attack rat
match cast 701
match exit [Town Square Central]
matchwait
swing:
match Youwinz dies.
match Youlozez Roundtime:
matchwait
Youwinz:
pause
put skin rat
wait
put put pelt in my backpack
wait
put search rat
counter add
goto Start
Youlozez:
echo YOU SUX - SWING AGAIN.
goto Start
cast:
match fuckedup Warded off!
match youwinz1 Warding failed!
matchwait
fuckedup:
put mana
match nomanaz Mana Points: 0
match yesmanaz Mana Points:
matchwait
nomanaz:
echo NO MANAZ - YOU SHOULD SWINGZ NOW
goto Start
yesmanaz:
put incant 701
goto cast
youwinz1:
match oneboy A ragged
match twoboy open
match deadboy dies.
matchwait
oneboy:
twoboy:
goto fuckedup
deadboy:
goto Youwinz
exit:
echo YOU SO TOTALLY KILLED THIS MANY RATS: %c