The CMM bot

All the latest news and information will be announced here
Post Reply
User avatar
Rylius
King wiki
Posts: 232
Joined: Wed Aug 17, 2011 8:14 pm
Location: Germany
Contact:

The CMM bot

Post by Rylius »

We now have a bot in our lovely IRC channel, yay!

He responds to the following commands:
!time - tells you the almighty server time
!status [ip:port] - Shows server name, map name and lists all players. If no IP is given, checks on the CMM server
!server - returns the CMM UrT server ip
!forum - returns the URL to this forum
!wiki - returns the URL to the CMM Wiki
!die - dies
!rcon - sends rcon commands to the CMM UrT server
!vrcon - same as !rcon, but returns the server output too (spammy!)

Besides all that, he also spams new posts from the forum into the channel. :)

Technical stuff ahead
CMMBot is written in Java on top of the PircBot library and licensed under GPL v3. (It sucks, I know)
http://hazewood.de/files/cmmbot-1.1-source.zip
(zip also contains a NetBeans project)
Rain - Blog - deviantArt
<Delirium> I did like a reverse jizz
<Delirium> in my pants
<Delirium> my jeans went into my sack
<Delirium> through my dick

User avatar
LynXIII
Posts: 54
Joined: Thu Aug 25, 2011 3:28 pm
Location: DE

Re: The CMM bot

Post by LynXIII »

Great work, nice tool!

But can anyone make it !die ? if yes, will it return by itself shorty after?

Edit: and maybe add the commands here, too: http://www.custommapmakers.org/wiki/index.php/IRC

flajeen
Posts: 289
Joined: Wed Aug 17, 2011 7:13 pm
Location: Évora, Portugal

Re: The CMM bot

Post by flajeen »

there should be a !shutup command.
Image

User avatar
Rylius
King wiki
Posts: 232
Joined: Wed Aug 17, 2011 8:14 pm
Location: Germany
Contact:

Re: The CMM bot

Post by Rylius »

It did start spamming shit, did it? lol
Rain - Blog - deviantArt
<Delirium> I did like a reverse jizz
<Delirium> in my pants
<Delirium> my jeans went into my sack
<Delirium> through my dick

Post Reply