Mod Brenbot for !Killme commands [message #198553] |
Tue, 02 May 2006 15:50 |
|
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 #198557 is a reply to message #198553] |
Tue, 02 May 2006 17:41 |
|
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 #198572 is a reply to message #198553] |
Wed, 03 May 2006 01:35 |
|
Goztow
Messages: 9738 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 |
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 #198791 is a reply to message #198575] |
Fri, 05 May 2006 15:11 |
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 |
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
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.
}
}
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
[Updated on: Fri, 05 May 2006 16:56] Report message to a moderator
|
|
|