Raised This Month: $51 Target: $400
 12% 

Power Bot Chat


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Hawk552 (427)
[DeathTV] Sid 6.7
Member
Join Date: Oct 2007
Old 10-06-2007 , 18:32   Power Bot Chat
Reply With Quote #1

Hello,
I've finished this maybe a month ago and its created some funny situations on my server

Module required: Regex
This plugin replaces the canned chat that comes with bots with anything you want.
You can also talk to players thru bots with amx_botsay
(wth that bot smarttt lol)

documentation:
There are key phrases that will make a bot respond with 1 out of 10(default maximum) combacks. These key phrases can be regular expressions

~~~file structure~~~
(powerbotchat.ini file is created for you)
in configs/powerbotsay.ini, the format is as follows:

regex line
comeback line 1
comeback line 2
etc.. up to 10(default)
<----this is a blank line
regex line, with blank line above
comeback line 1
comeback line 2
etc..

until EOF or MAX_LINES regex lines


I'd like to thank Hawk and the AMX Super coders because I learned from viewing their code. The silly var/func names are my idea.
Attached Files
File Type: sma Get Plugin or Get Source (powerbotchat.sma - 2877 views - 8.6 KB)
__________________
Power Votes Core << Democracy at your fingertips
Get Mortal Kombat Miscstats for CS

Last edited by [DeathTV] Sid 6.7; 11-15-2007 at 00:17.
[DeathTV] Sid 6.7 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 02:36.


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