Page 1 of 1

The CMM bot

Posted: Sun Aug 28, 2011 8:44 pm
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)

Re: The CMM bot

Posted: Mon Aug 29, 2011 11:39 am
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

Re: The CMM bot

Posted: Mon Aug 29, 2011 11:41 am
by flajeen
there should be a !shutup command.

Re: The CMM bot

Posted: Mon Aug 29, 2011 4:01 pm
by Rylius
It did start spamming shit, did it? lol