[TF] I want to have a kill counter
Brought to you by:
kenkeys
|
From: tinyfugue at attbi.c. (Galvin) - 2003-03-26 22:23:18
|
Doing the kill counter should be fairly simple.
First in the file you have the trigger in.
put something like
/set kills_count 0
So each time the file is loaded it resets the counter.
AS for the trigger, simple.
/def -F -mregexp -f'you delt the killing blow' kill_count_trig = \
/test ++kills_count
and then to check the amount of kills you have you can do this:
/def checkkills = \
/test echo(strcat('You have got ', kills_count, ' kills.'))
The function to delete people from a list i'll leave to someone else.
I do enough coding of my own TF stuff to get into it for other people :)
|