------------------
"The world was dark, people were dying.. there was one single candle, a ray of hope, a shining beacon of light.. then.. I blew it out" reg
------------------
"The world was dark, people were dying.. there was one single candle, a ray of hope, a shining beacon of light.. then.. I blew it out" reg
the counter variable is reset every time you run a script, however the save variable is kept in memory as long as you are running the wizard FE.
The basic script would be.
if_1 goto skip
counter set %s
skip:
match count <deathmessage>
matchwait
count:
counter add
save %c
goto skip
the check script would just be
echo You have released %s undead.
or if you want one complete script, just make another match string for something, like your character thinking, and have it branch off to the echo above and then go back.
the if_1 statement is for the first running of the script. Their will be nothing but gibberish in %s, so you dont want to set the counter to it.
So, the first time you run the counting script, just type .<scriptname> blah -- blah being anything you feel like typing. After that, to continue with your current count just run the script without blah.
reg
Sonic reg
#Counting kills for wights
if_1 goto skip
counter set %s
skip:
match count You hear a sound like a weeping child as a white glow separates itself from the arch wight's body as it rises, disappearing into the heavens.
match howmanydead howmanydead
match swingagain 6 sec
match swing An arch wight is knocked over by the wind
match hasteme You notice that things have returned to their normal speed
matchwait
swing:
put amb wight neck
goto skip
swingagain:
pause .5
goto swing
hasteme:
put 'haste me
goto skip
count:
pause .5
put search wight
counter add
save %c
goto skip
howmanydead:
echo You have released %s undead.
goto skip
It doesn't quite work right for some reason.. for example: It says 'haste me' twice when it recognizes the haste spell has ran out.. it puts amb wight neck twice when it recognizes the wight get callwinded.. and it also pauses about 3-4seconds before it searches the wight (if I kill on the first hit) Can anyone fix this? Thanks!
------------------
"The world was dark, people were dying.. there was one single candle, a ray of hope, a shining beacon of light.. then.. I blew it out" reg
Sonic reg