IRC Plugin problem
#1

Fixed
Reply
#2

Okay here is a Simple GMX command that will help you.

Код:
IRCCMD:gmx(botid, channel[], user[], host[], params[])
{
	if (IRC_IsAdmin(botid, channel, user))
	{
				new
					msg[128];
				format(msg, sizeof(msg), "The server was restarted by Admin %s.", user);
				IRC_GroupSay(gGroupID, channel, msg);
				SendRconCommand("gmx");
				SendClientMessageToAll(0xFF0000FF, msg);
	}
	return 1;
}
Reply
#3

yea but where do i put it to make it work? how do i put it in the script so that it works, i am totally new to this....
Reply
#4

Search for IRCCMD and you'll find where to.
Reply
#5

i mean where do i put the cmd to make it work in my script because it does not work. How do i make it work, ik it has to be called somewhere
Reply
#6

Do you use incognitos plugin?
Reply
#7

Ok, You Put That somwhere after OnplayercommandText
Reply
#8

I have solved the problem lol i wasnt typing the command char in the irc :P
Reply
#9

rofl, :@
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)