Jump to content

Recommended Posts

Posted

See This Live on GameSurge in #Gatheone hosted by me.

 

HOW TO INSTALL:

 

Step 1: Download the .amxx file (Named irc.amxx)

 

Step 2: Add the plugin to your /addons/amxmodx/plugins folder and to your plugins.ini in /addons/amxmodx/configs folder.

 

Step 3: Configure your IRC bot by putting these cvars (Look below this) in your amxx.cfg

________________

 

REQUIRED CVARS - These must be set (in amxx.cfg or server.cfg)

________________

irc_server "irc_network_address" - The IRC server's address to connect to (For example; "irc.gamesurge.net")

irc_port "port_here" - The irc server's port (normally 6667)

irc_nick "your_bot_nick_here" The nickname the bot will use on IRC (For example; "ServerBot")

irc_username "bot_username_here" - Name that shows when someone /whois or ucentral's you

irc_channel "#your_chan_here" - Channel to join

irc_msg_usecolors (default 1; 0|1) - Makes messges from HLDS in IRC colored based on team. If you're channel restricts colors, set this to 0. If you don't run CS, set this to 0.

________________

 

OPTIONAL CVARS - You may want to set these

________________

irc_identify (default 0; 0|1) - If you have a nickserv/auth account, set this to "1"

irc_ident (default "") - If you have a nickserv/auth account set this to "authserv auth [account] [password]"

irc_map_change (default 1; 0|1) - Display Server name, ip, map and players connected on map change and server start.

irc_show_joins (default 1; 0|1) - Show a message when someone joins the server

irc_to_hlds_say_auto (default 1; 0|1) - Automatically transfer messages from IRC to HLDS

irc_from_hlds_say_auto (default 1; 0|1) - Automatically transfer messages from HLDS to IRC

irc_to_hlds_say_activator (default "!hlds") - If irc_to_hlds_say_auto is disabled (set to 0) then only messages which contain what this cvar is set to will be sent to HLDS from IRC.

irc_from_hlds_say_activator (default "!irc") - If irc_from_hlds_say_auto is disabled (set to 0) then only messages which contain what this cvar is set to will be sent from HLDS to IRC.

irc_msg_srvjoin (default "$name ($steamid) has joined the server") - Set the message that will be displayed in IRC when a player joins the server. Set to "" to disable.

irc_msg_srvpart (default "$name ($steamid) has left the server") - Set the message that will be displayed in IRC when a player leaves the server. Set to "" to disable.

irc_msg_startup (default "$servername - $ip Current Map: $map $curplayers / $maxplayers players") - Set the message that will be displayed in IRC when the server starts up or changes map. Set to "" to disable.

 

Variables you can use for irc_msg_serv(join/part)

$name - Person's name

$steamid - Person's steamid

$team - Person's team

$teamn - Person's team number

$connected - How long they have been connected

$access - Persons access

 

Variables you can use for irc_msg_startup

$servername - Name of the server

$ip - IP of the server

$map - Name of the current map

$curplayers - Current number of players on the server

$maxplayers - Maximum players allowed on server

________________

 

COMMANDS

________________

 

In-game Commands:

irc connect - Connect to irc

irc disconnect - Disc from irc

irc say - Send message to irc

irc help - Get help

 

IRC Commands:

 

In Channel:

-@cmds/@commands/@info/@help - Displays a list of commands usable in channel.

-@players - Lists the players currently in the server.

-@map - Display the current map.

-@nextmap - Display the next map in the map cycle.

-@timeleft - Display the time left on the current map.

-@ip - Display the IP of the server.

-@status - Display the same information contained in the start up message.

Admins can use any commands available to them as if they were in the server. (e.g. If an admin has ADMIN_BAN access, they could do @amx_ban player in channel and it will ban player from the server.)

 

Commands That You PM To The Bot

-cmds/commands/info/help - Displays a list of commands usable in channel.

-players - Lists the players currently in the server.

-map - Display the current map.

-nextmap - Display the next map in the map cycle.

-timeleft - Display the time left on the current map.

-ip - Display the IP of the server.

-status - Display the same information contained in the start up message.

-login <username> <password> - Log in to the bot so you can use admin commands.

-logout - Log out from the bot.

Admins can use any commands available to them as if they were in the server. (e.g. If an admin has ADMIN_BAN access, they could PM amx_ban player to the bot and it will ban player from the server.)

 

________________

 

HOW TO ADD ADMINS

________________

 

Edit your ircadmins.ini (It will be created in /addons/amxmodx/configs after the first time you run the plugin. If you don't see it, make sure the plugin is properly installed and then restart or change map on the server, then check again.)

 

Make sure to put it in this format:

"username" "password" "flags" "unique id"

 

Flags should be the same as users.ini or your amxbans admins config

Unique ID is an arbitrary number (it can be anything you want), just make sure that no two admins have the same ID.

 

Download Plugin

Download Source

 

I want also to thanks some of my friends for some of the coding who arent members here but anyway.

Worked on it for 1 week.

I was selling it but i decided to share it here for ya!

Posted

Very nice share, I don't play cs but I can see from the description that it is a very good one.

  • 3 months later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...