[FilterScript] [FS] Chat Bot
#1

Chat Bot 0.3

Hello All, its been a very long while since i released anything and i began to feel left out.
Heres some info about Chat Bot:

What is Chat Bot?
Well, Chat Bot is a Filterscript i made to simulate a talking robot on any server, and before i continue, i wanna make sure that people dont get confused, this is a CHAT Bot not a bot like everyone fantisises over.

What can i do with it?
Currently, you can say the bots name (for example, Fluffy) like "DragSta: Fluffy?", Saying that will make the bot say one of your customised responces from the array in the configurations part of the script.

If you say the bots name then a Colon ( : ) (like "DragSta: Fluffy:" you will get Another response from the EmptyQuestion array, with something like "U genna ask a question or not?", if you DO include a question ("DragSta: Fluffy: Will i eat pie soon?" for example) the bot will become a 'magic eight ball' and reply from one of the answers in the Answer Array.

You can also ask the bot how old it is by asking the bot (with "DragSta: Fluffy: ") the question defined at the top of the script (#define AgeQuestion).

Any commands?
Yes:
/bothelp - For all, just some info
/bot [name/age/say/raw/toggle] - Admin commands.

/bot explained:

/bot name - Set the bots name
/bot age - Set the bots age
/bot say - make the bot say something
/bot raw - Make the bot execute a command, like /me for example
/bot toggle - Turns the bot on or off.


How Do i use it?
Ok, so here are the simple steps to get the Chat bot going on your server

1. Download the FS from one of the linkes below (or copy it from pastebin)
2. Open up chat.pwn and look at the top of the script, youll see some configurable stuff, tweek this to what you want, its stuff like, Bot name, Age, etc...
3. Once you have configured the bot, Compile the script.
4. Copy the newly compiled chat.amx file to your servers filterscripts directory.
5. Open up your servers server.cfg file, add 'chat' to the filterscripts line.
6. Restart/start your server
7. Have fun!

NOTE: If you use a custom colour system in your gamemode, you MUST Comment out #define ColourSync in the configurations part of the script otherwise it will probably stop your gamemode colour system working, ColourSync is in this FS because GetPlayerColor doesnt work until SetPlayerColor is. So, i asked ****** for a list of the player colours, and he kindly gave them to me (So credits to him for them!) And i set the player colours the same as sa-mp would, but with SetPlayerColor, which causes GetPlayerColor to work.

Downloads:

Tagnet22
Sampnet


Edit: Updated download links, fixed a small bug!

Other stuff:
Please post ALL Bugs and suggestions in here!



Thanks,
DragSta
Reply


Messages In This Thread
[FS] Chat Bot - by domidom - 10.12.2007, 18:44
Re: [FS] Chat Bot - by Khaled - 10.12.2007, 18:46
Re: [FS] Chat Bot - by Grove - 10.12.2007, 18:46
Re: [FS] Chat Bot - by domidom - 10.12.2007, 18:49
Re: [FS] Chat Bot - by yom - 10.12.2007, 18:50
Re: [FS] Chat Bot - by domidom - 10.12.2007, 18:52
Re: [FS] Chat Bot - by yom - 10.12.2007, 18:57
Re: [FS] Chat Bot - by domidom - 10.12.2007, 19:34
Re: [FS] Chat Bot - by scar - 11.12.2007, 15:17
Re: [FS] Chat Bot - by domidom - 11.12.2007, 15:17

Forum Jump:


Users browsing this thread: 1 Guest(s)