/* Install: compile or use the provided amx then drop into your dlls directory of the mod you use. usage: admin_bsay your message here what it does: it will make it look as if your server bot has a brain.. or not.. :) access level: it uses the access level of admin_say Editing: Edit the plugin_serverbot.sma and where it says server bot in snprintf(Text, MAX_TEXT_LENGTH, "Server Bot: %s", Data); make the Server Bot what ever you want. we used snprintf(Text, MAX_TEXT_LENGTH, "Clan ~GOW~ Server Bot: %s", Data); */ /* $Id: plugin_serverbot.sma,v 1.0 2001/11/17 R3AP3R $ */ #include <core> #include <console> #include <string> #include <admin> #include <adminlib> new STRING_VERSION[MAX_DATA_LENGTH] = "2.50.11"; public admin_bsay(HLCommand,HLData,HLUserName,UserIndex) { new Data[MAX_DATA_LENGTH]; new Text[MAX_TEXT_LENGTH]; convert_string(HLData,Data,MAX_DATA_LENGTH); // You can edit the name Server Bot below and make it what ever you want snprintf(Text, MAX_TEXT_LENGTH, "Server Bot: %s", Data); say(Text); return PLUGIN_HANDLED; } public plugin_init() { plugin_registerinfo("Server Bot talk By R3AP3R Nov 17 2001","Talk Through your servers bot.",STRING_VERSION); plugin_registercmd("admin_bsay","admin_bsay",ACCESS_SAY,"admin_bsay <msg>: Makes your message seem to come from your server's bot."); return PLUGIN_CONTINUE; }