[FilterScript] FuNk's Bot System [fBOT]
#1

Introduction

Hey guys Today i make a Bot System ! here are some Commands and Feautures

Feutures


*Random Message System
*Talking Bot System
*You can Easily Change BOTNAME and BOTCOLOR in script
*You can add your own Random Messages
*You can Increase/Decrease The random message time

Commands


/Botsay ( Text )

Images


















Adding Random Messages


1) Goto line 38 Press "Enter"
2) Then Paste your message Like
Code:
"Change This.",
3) Note if your pasting an random message on Last line so dont use comma and remove the above line comma.

Adding When Player Type Something Bot Will Reply


1)Goto Line 91 Press "Enter" And then use this Code
2)
Code:
  
    if(!strcmp(text, "Hello "BOTNAME" how are you?", true))
    {
    format(string, sizeof(string), ""BOTCOLOR""BOTNAME": im good %s ",GetName(playerid));
    SendClientMessageToAll(-1 , string);
    }
It Will Return That When You type
FuNkY:Hi John How are you? /// John is the name of the bot
John: im good FuNkY
3) and if u want it to make Like if u say Hi , Hey , Sup bot will reply same so use this code !
Code:
        if(!strcmp(text, "hi "BOTNAME"", true)|| !strcmp(text, "hey "BOTNAME"", true)|| !strcmp(text, "hey "BOTNAME"?", true)|| !strcmp(text, "hi "BOTNAME"?", true))
	{
        format(string, sizeof(string), ""BOTCOLOR""BOTNAME": hi %s ",GetName(playerid));
        SendClientMessageToAll(-1 , string);
        }
Changing Bot Name

1)Open your script you'll see #define BOTNAME "John" at line 15
2)Change it to #define BOTNAME "YourBotName"
3)Your Done

Changing Bot Color

1) Open your script you'll see #define BOTCOLOR "{d4d4d4}" at line 16
2)Change it to #define BOTCOLOR "{YourRGBColor}" if u dont know RGB colors then try colorpicker.com
3)Your Done

Changing Random Message Time


1)Open your script you'll see #define AUTOMSGTIME 300000 at line 17
2)Change it to #define AUTOMSGTIME YourTime Use This Method if u dont know SA-MP time Method when you multiply 60 by 2 you'll get 120 hah? and now add 3 Zero ( 0 ) to it eg. 120000
3)Your Done

Download

https://www.mediafire.com/?gtcpkpwju93a8hv

http://pastebin.com/si8T5QUZ


Credits

FuNkYheGreat -- For Making This FilterScript
ZeeX -- For ZCMD
Emmet_ -- For Sscanf2
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)