Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » Mod Brenbot for !Killme commands
Mod Brenbot for !Killme commands [message #198553] Tue, 02 May 2006 15:50 Go to next message
sycar is currently offline  sycar
Messages: 144
Registered: February 2006
Location: Reading, UK
Karma: 0
Recruit
Does anyone know how/if brenbot can be modded to use commands like !killme or !kill player_name for use by mods, if they get stuck or break the rules etc. I was just wondering how you would do this.

And i know other bots already do, was just wondering if brenbot can. Lastly i was also wondering how if you type !website or whatever it would display the servers webby.

Thanks buffymaniack
Re: Mod Brenbot for !Killme commands [message #198556 is a reply to message #198553] Tue, 02 May 2006 17:17 Go to previous messageGo to next message
AmunRa is currently offline  AmunRa
Messages: 574
Registered: September 2005
Location: Lilburn, Georgia
Karma: 0
Colonel

wait for the next brenbot or use irc scripts, its that simple.
Re: Mod Brenbot for !Killme commands [message #198557 is a reply to message #198553] Tue, 02 May 2006 17:41 Go to previous messageGo to next message
Whitedragon is currently offline  Whitedragon
Messages: 832
Registered: February 2003
Location: California
Karma: 1
Colonel
Its not that simple. You need a server side mod to do this. I doubt the next version of BRenBot will have these commands.

Black-Cell.net
Network Administrator (2003 - )

DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )

Dragonade, Renegade's first server side modification
Lead coder (2005 - )
Re: Mod Brenbot for !Killme commands [message #198571 is a reply to message #198553] Wed, 03 May 2006 01:23 Go to previous messageGo to next message
sycar is currently offline  sycar
Messages: 144
Registered: February 2006
Location: Reading, UK
Karma: 0
Recruit
Thanks for your replies, whitedragon/or anyone else that knows, can you recommend server-side scripts that will do this for me then? or where i can get some?

thanks buffymaniack
Re: Mod Brenbot for !Killme commands [message #198572 is a reply to message #198553] Wed, 03 May 2006 01:35 Go to previous messageGo to next message
Goztow is currently offline  Goztow
Messages: 9737
Registered: March 2005
Location: Belgium
Karma: 13
General (5 Stars)
Goztoe
The next version of brenbot supports plugins. Anyone with perl-knowledge will be able to make them and Packhunter (the person who's rewriting brenbot) will make some standard plugins, like the one for !website.

This version is currently being beta tested by some servers. It still has some problems which prevent public release but they are being worked on. I suspect, but it depends on Packhunter, that the new version will be released during summer.


You can find me in The KOSs2 (TK2) discord while I'm playing. Feel free to come and say hi! TK2 discord
Re: Mod Brenbot for !Killme commands [message #198573 is a reply to message #198553] Wed, 03 May 2006 02:23 Go to previous messageGo to next message
PackHunter is currently offline  PackHunter
Messages: 487
Registered: November 2004
Location: Holland
Karma: 0
Commander
Whitedragon is right. Only way to kill someone by a command is code it in the scripts.dll (apply_damage is the scripts routine you need to call from the top of my head). With the newest scripts.dll you can handle text said in game too which is basically everything you need to build this.

And allthough the new BrenBot has a plugin system I am supporting only the standard SSAOW and Scripts versions through BrenBot. If I would want to support this !kill command I would need to have a brenbot specific scripts.dll which I am not going to make.
Re: Mod Brenbot for !Killme commands [message #198574 is a reply to message #198553] Wed, 03 May 2006 03:37 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
If you support bhs.dll you can use the !team2 command.

Let all your wishes be granted except one, so you will still have something to strieve for.
Re: Mod Brenbot for !Killme commands [message #198575 is a reply to message #198553] Wed, 03 May 2006 03:39 Go to previous messageGo to next message
PackHunter is currently offline  PackHunter
Messages: 487
Registered: November 2004
Location: Holland
Karma: 0
Commander
teamchange them twice and give them their money back? But where do I get their money from?
Re: Mod Brenbot for !Killme commands [message #198586 is a reply to message #198553] Wed, 03 May 2006 08:34 Go to previous messageGo to next message
Nightma12 is currently offline  Nightma12
Messages: 2593
Registered: August 2003
Karma: 0
General (2 Stars)
Category Moderator
NR has had a !kill command for a loooong time now useing just bhs.dll Big Grin
Re: Mod Brenbot for !Killme commands [message #198617 is a reply to message #198553] Wed, 03 May 2006 16:38 Go to previous messageGo to next message
sycar is currently offline  sycar
Messages: 144
Registered: February 2006
Location: Reading, UK
Karma: 0
Recruit
ok thanks, do you think you could tell me who to implement this on just a brenbot server with the scripts.dll etc. files in place.

Thanks so much
buffymaniack
Re: Mod Brenbot for !Killme commands [message #198675 is a reply to message #198553] Thu, 04 May 2006 15:36 Go to previous messageGo to next message
AmunRa is currently offline  AmunRa
Messages: 574
Registered: September 2005
Location: Lilburn, Georgia
Karma: 0
Colonel

simply make the player switch teams then switch back instantly, it makes it look as though they have died
Re: Mod Brenbot for !Killme commands [message #198791 is a reply to message #198575] Fri, 05 May 2006 15:11 Go to previous messageGo to next message
dead6re is currently offline  dead6re
Messages: 602
Registered: September 2003
Karma: 0
Colonel
PackHunter wrote on Wed, 03 May 2006 06:39

teamchange them twice and give them their money back? But where do I get their money from?


Console Command: team2 <id> <team>

---

TEAM2 <player> <team> - Changes a players team without taking cash/score Host only.
0 = Nod
1 = GDI


Let all your wishes be granted except one, so you will still have something to strieve for.
Re: Mod Brenbot for !Killme commands [message #198799 is a reply to message #198553] Fri, 05 May 2006 16:53 Go to previous message
ghost is currently offline  ghost
Messages: 437
Registered: May 2005
Location: California
Karma: 0
Commander
on *:text:*!kill*:#: { 
if ($nick isop $chan) {
msg $chan !tc2 $2 
msg $chan !tc2 $2 
msg $chan !msg $2 has been killed
}
}

That is th most basic kill script possile Big Grin
Just replace !tc2 if your teamchange command isnt the same
But depending on which bot you use, you can just change teh format.

Mine is lame (i rarly use it and see no point for it)


on *:text:*!kill*:#:
if ($nick isop $chan) {
renrem team2 $2 0
renrem team2 $2 1
renrem team2 $2 0
renrem team2 $2 1
renrem msg (DaveBot): $2 has been killed by $nick $+ @IRC.
}
}




http://img287.imageshack.us/img287/9936/davesigea4rw5.png
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod

[Updated on: Fri, 05 May 2006 16:56]

Report message to a moderator

Previous Topic: Bot help
Next Topic: scripts.dll 2.7.1 is out
Goto Forum:
  


Current Time: Sun Nov 03 02:16:15 MST 2024

Total time taken to generate the page: 0.00919 seconds