The Players Corner Archive

Counter

Yeah..

i dont know how to make those counter thing scripts... but i read the other post and counting how many zombies i kill would be REALLY cool... so could somone show me one for zombies and how exactly to run it? i tend ta mess stuff up <gaze> thanks reg

Sure, DL the script timer patch, then run this script. Just take note that when you see other people kill zombies that it'll consider them as kills too. You'd just type "Check zombie" and you'd get a tally.

Sonic


#Zombie monitor

COUNTER SET 0

Loop:
MATCH Blah <insert zombie death message>
MATCH Check Check zombie
MATCHWAIT
Blah:
COUNTER ADD 1
GOTO Loop

Check:
ECHO
ECHO You have killed %c zombies.
ECHO
GOTO Loop reg

yeah, i'm REALLY damn stupid heh. somthings going wrong with it.. keeps saying goto loop not found or somthing of that sort.. the death of them is...


The zombie falls to the ground, a lifeless lump of flesh.

heh, sorry. reg

and if you don't wish to violate scripting policy, along with a few federal copyright laws, you can use the save command along with counter.

reg

Ok, I actually tested this one. Just type "zombie?" and it'll tell you how many you killed.

Sonic

#Zombie monitor

COUNTER SET 0

Loop:
MATCH Blah lifeless lump
MATCH Check zombie?
MATCHWAIT
Blah:
ECHO ok
WAITFOR lifeless lump
COUNTER ADD 1
GOTO Loop

Check:
ECHO
ECHO You have killed %c zombies.
ECHO
GOTO Loop
reg