How to Put two bots into 1 group
#1

@sup all, I want to know how to put two bots in one group I got already took an idea about it but I need more explain
here it is :
pawn Код:
//====================================IRC=======================================
#define BOT_1_NICKNAME "CandyBot"// This is the name that everyone will see
#define BOT_1_REALNAME "SFTDM"// This is the name that will only be visible in a whois
#define BOT_1_USERNAME "SFTDM"// This will be in front of the hostname (username@hostname)
#define BOT_2_NICKNAME "StreetyBot"// This is the name that everyone will see
#define BOT_2_REALNAME "SFTDM2"// This is the name that will only be visible in a whois
#define BOT_2_USERNAME "SFTDM2"// This will be in front of the hostname (username@hostname)
#define BOT_3_NICKNAME "SpyBot"
#define BOT_3_REALNAME "SFTDM3"
#define BOT_3_USERNAME "SFTDM3"
#define IRC_SERVER "irc.bttdm.com"
#define IRC_PORT 6667
#define IRC_CHANNEL "#sfirc[3x]"
#define IRC_ADMINCHANNEL "#sfirc[3x].oper"

#define MAX_BOTS 3// Maximum number of bots in the filterscript
#define MAX_SERVER_PLAYERS MAX_PLAYERS// Maximum number of players in the server

new gBotID[MAX_BOTS], gGroupID, gGroupID2;
I want to make bot 1 and bot 2 in one group

so anything it says it appear like this

CandyBot:
StreetyBot:
CandyBot:
StreetyBot:
CandyBot:


- Thanks inadvance
Reply
#2

Bot_1 and Bot_2 into gGroupID ..
Reply
#3

Quote:
Originally Posted by ******
Посмотреть сообщение
I still don't know what you mean by "in" a group - what group system are you using? The lack of a "Group:" tag tells me it isn't y_groups, but I can't determine any more than that.
I think he meant 2 IRC bots in same irc chat room.
Reply
#4

yes ...
Reply
#5

The example filterscript that is included with the plugin demonstrates it quite well.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)