Raised This Month: $ Target: $400
 0% 

Auto-Responder (chat) 0.3


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Xanimos (85)
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-10-2006 , 06:11   Auto-Responder (chat) 0.3
Reply With Quote #1

Auto-Responder (chat) - v0.3, by v3x

Description:
This plugin will allow you to store commands that trigger specified responses in a file. The responses will be displayed to the person that said the phrase and will be printed in green with a beep sound.

Commands:
- reload_responses
When this command is inputted into the client/server console it will reload the file containing the responses.

Editing the plugin:
Towards the top of the plugin you will see some defines like so:
Code:
#define MAX_RESPONSES       64 #define MAX_LEN_CMD     64 #define MAX_LEN_RESPONSE    201 #define FILE_NAME   "auto_responder.ini" #define SOUND_NAME  "buttons/blip1.wav"
Those are the ONLY parts you should edit unless you know what you are doing!

Response format:
Format: "<word>" "<response>" "method"
Method explanation:
"c" - Stands for "contains". If the message contains the trigger word it'll print the response.
"e" - Stands for "equals". If the message is equal to the trigger word it'll print the response.

Quote:
Originally Posted by Examples for auto_responder.ini
"v3x" "v3x is your GOD" "c'
"admin" "To contact an admin say @ and then your message in team chat"
"hack" "Tell an admin if there's a hacker in the server" "c"
"cheat" "Tell an admin if there's a cheater in the server" "c"
"amxx" "This server uses AMX Mod X. Go to http://amxmodx.org for more info." "c"
"amx" "Psh, AMXx > AMX" "e"
"gaben" "Gaben ownz j00" "e"
auto_responder.ini goes in your AMX Mod X configs directory
Attached Files
File Type: zip auto_responder0.3.zip (9.6 KB, 5998 views)
File Type: sma Get Plugin or Get Source (auto_responder0.3.sma - 5267 views - 3.6 KB)
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:41.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode