[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
#2

Nice [FS] i will try it
Reply
#3

Nice!
Reply
#4

Thanks guys, i edited the first post with a big 'NOTE:' so have a read
Reply
#5

Lol, i remember my first chat bot
Reply
#6

Ahh Shit Crapsticks, i thought it was unique
Reply
#7

Nothing unique anymore . I haven't tested yours, but its more advanced than mine i think. Basically the same process
Reply
#8

Quote:
Originally Posted by yom
Nothing unique anymore . I haven't tested yours, but its more advanced than mine i think. Basically the same process
Yeah same process, but mine has more stuff :P
Reply
#9

i helped with the beta tesings
Reply
#10

Yes indeed you did scar
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)