Power Bot Chat

Post Reply
greenie
Full Member
Full Member
Posts: 1815
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Nu

Power Bot Chat

Post by greenie »

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.

get plugin
get source
Post Reply

Return to “Admin Commands”