IRC bot for Steam (chanbot)
5 Attachment(s)
ChanBot v0.2.0 - 08/22
This plugin requires the socket module to be enabled. Also, note that you are required to modify the provided ircbot.ini file. Functions: This is a basic but functional plugin, that should be running for all mods. Its sole function is to tell: 1) What game (mod) is the server running? 2) What map is currently playing? 3) How many players are currently online? Commands: In irc, when bot is connected - type: !server - for list of server information Features: Automaticly joins #channel Changes nick if selected nick is taken Responds to command: !server All variables stored in a ini file New: framework for third party plugins [img]http://img80.**************/img80/79/bot1tb.jpg[/img] If you are interested in modifying this, you will find good information on the IRC protocol at: http://www.irchelp.org/irchelp/rfc/rfc2812.txt Cheers Developers: By request i have created a sort of a framework to this plugin, that works by using callfuncs. Sample code Code:
You have to include the irc.inc file from your plugin, and call init_irc(plugin_name[]) from plugin_init. You also have to have a public function "irc_in(irc_message[])" irc_in will recive the commands from irc, such as "!mycommand" or "!someothercommand". Using irc_outmessage you can make the irc bot send public channel messages. |
theres alot of this scripts :) on irc forums but nice one
|
Nice work, please attach the sma only as well as the zip and I will approve...
Josh |
Done, and thanks :)
|
Typo ;)
Code:
p.s. brackets aren't nesscary, since your only using one line... |
Quote:
Edit: Thanks for approving the plugin Geesu :) |
Re: IRC bot for Steam (chanbot)
Somebody can help me ...i need for us chann Cup Bot like a Xtreme-Jumps @ Quakanet.org ... please help us
Thanks! |
Re: IRC bot for Steam (chanbot)
Hmm.. the irc menu thing isnt even coming up for me.. :(
|
Re: IRC bot for Steam (chanbot)
:( we very need this Cup Bot :/ please ..
|
Re: IRC bot for Steam (chanbot)
Quote:
|
All times are GMT -4. The time now is 05:53. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.