Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Technical Support » Win32 FDS » Brenbot script's
Brenbot script's [message #198268] Sun, 30 April 2006 02:32 Go to next message
seraphim is currently offline  seraphim
Messages: 12
Registered: April 2006
Karma: 0
Recruit
Does anyone have a script or something, where it can record, How many kills each harvester gets each game, then in the br annouce have it tally up and say how many each teams harvy has got so far this week/month. (have it displayed in irc and game channel)

Also you know how Brenbot can report to the irc channel with information about who killed who, and with what troop, is there anyway to make it also say with what weapon?.

there just some questions ive collected from a few of my server mods.

thanks for any help that gets given
Re: Brenbot script's [message #198297 is a reply to message #198268] Sun, 30 April 2006 10:46 Go to previous messageGo to next message
AmunRa is currently offline  AmunRa
Messages: 574
Registered: September 2005
Location: Lilburn, Georgia
Karma: 0
Colonel

either use mIRC, or wait for the next brenbot for plugin support Smile
Re: Brenbot script's [message #198340 is a reply to message #198268] Sun, 30 April 2006 20:03 Go to previous messageGo to next message
seraphim is currently offline  seraphim
Messages: 12
Registered: April 2006
Karma: 0
Recruit
i might wait for the next Brenbot, cause i down want to write no irc scripts and all the other mod's/admins in the server dont want to do it either.

but if anyone does have anything please say
Re: Brenbot script's [message #198361 is a reply to message #198268] Mon, 01 May 2006 02:40 Go to previous message
seraphim is currently offline  seraphim
Messages: 12
Registered: April 2006
Karma: 0
Recruit
Well, I wrote a script and it was a bit dodgy and wasnt working that well, so NEZ took a look and Then wrote this new one for me. Anyway After Testing it works.

Ok how to install.

In your BRENBOT annouce file add the line !harvy
Now. In your Irc server, add the script, ill post it below.
But change the channel name from adaRenServer to your channel name, And also where it says ServerBot, change that to your server bots name.

anyway Heres the script.

------------------------------------------------------------ -

; Havester Kill Counter v1.0.2
;
; Written By NoEvidenZ


;Increment totals
on *:TEXT:*was ran over by the Nod Harvester.:#adaRenServer: {
if ($nick == ServerBot) {
/inc %nodHarvy 1
}
}
on *:TEXT:*was ran over by the GDI Harvester.:#adaRenServer: {
if ($nick == ServerBot) {
/inc %gdiHarvy 1
}
}

;Output totals
on *:TEXT:*!harvy:#adaRenServer: {
if (%gdiHarvy > 0) {
/msg $chan 4GDI Harvester has killed %gdiHarvy people.
/msg $chan !msg GDI Harvester has killed %gdiHarvy people.
}
else {
/msg $chan 4GDI Harvester has not killed anyone yet.
/msg $chan !msg GDI Harvester has not killed anyone yet.
}
if (%nodHarvy > 0) {
/msg $chan 4Nod Harvester has killed %nodHarvy people.
/msg $chan !msg Nod Harvester has killed %nodHarvy people.
}
else {
/msg $chan 4Nod Harvester has not killed anyone yet.
/msg $chan !msg Nod Harvester has not killed anyone yet.
}
}

;Reset totals for new round
on *:TEXT:Loading level*:#adaRenServer: {
if ($nick == ServerBot) {
/set %nodHarvy 0
/set %gdiHarvy 0
}
}

------------------------------------------------------------ -----

*updated removed the addind when said bug.
*updated Fixed the only displaying GDI bug

[Updated on: Mon, 01 May 2006 03:50]

Report message to a moderator

Previous Topic: Nat help
Next Topic: Need an FDS serial
Goto Forum:
  


Current Time: Wed May 08 15:49:19 MST 2024

Total time taken to generate the page: 0.00585 seconds