 |
Strongclaw Newbie
Joined: 16 Feb 2003 Posts: 5
|
Posted: Sun Feb 16, 2003 4:10 am
Script help |
I need a script or something that will make a little spot on my bar some where that tells me how many kills I have had since the last time i reset it.
Can anyone help me with this?
Ex of when a (n)pc is killed:
You killed <insert name here>.
And if you can make it put the date and time I kill <insert name here> in a txt file that be great!
Thanks! |
|
|
 |
shalimar GURU

Joined: 04 Aug 2002 Posts: 4735 Location: Pensacola, FL, USA
|
Posted: Sun Feb 16, 2003 6:02 am |
#ALIAS {killreset} {#VAR {killed} {0}}
#TRIGGER {You killed} {killed = (@killed + 1)}
#STATUS {You have made @killed kills!}
dunno bout the text file
Shalimar
AIM: shalimarwildcat |
|
|
 |
Strongclaw Newbie
Joined: 16 Feb 2003 Posts: 5
|
Posted: Sun Feb 16, 2003 4:24 pm |
that doesn't work it put this in the bar after i kill something
You have made (0 +1) kills! |
|
|
 |
Emit Magician
Joined: 24 Feb 2001 Posts: 342 Location: USA
|
Posted: Sun Feb 16, 2003 5:57 pm |
try changing
killed = (@killed +1)
to
#add killed 1
--------
moon.icebound.net:9000 |
|
|
 |
Strongclaw Newbie
Joined: 16 Feb 2003 Posts: 5
|
Posted: Sun Feb 16, 2003 6:15 pm |
nope still get the same thing.... Any other ideas?
|
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Sun Feb 16, 2003 7:14 pm |
After making the change Emit suggested, change the contents of the @killed variable to 0.
Kjata |
|
|
 |
Strongclaw Newbie
Joined: 16 Feb 2003 Posts: 5
|
Posted: Sun Feb 16, 2003 7:31 pm |
Nope still does the same thing
|
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Sun Feb 16, 2003 9:08 pm |
What same thing? Display (0 + 1) kills?
If you made the change Emit suggested and changed the variable's value to 0, then this should not happen. Try posting the script you have currently.
Kjata |
|
|
 |
Strongclaw Newbie
Joined: 16 Feb 2003 Posts: 5
|
Posted: Sun Feb 16, 2003 9:53 pm |
I figured the problem.
Is there a way to make the text file like I said in the first post? |
|
|
 |
TonDiening GURU

Joined: 26 Jul 2001 Posts: 1958 Location: Canada
|
Posted: Mon Feb 17, 2003 4:00 am |
Add to your experience tracker in the trigger
#TRIGGER {^You killed (*).} {#NOOP Whatever you had there before and add;#FILE 1 DeathLog.txt;#WRITE 1 {I killed %1 at %time()};#CLOSE 1}
Ton Diening |
|
|
 |
|
|