16.11.2014, 05:37
Hello Everyone,I want a Little Help about IRC. I am Using IRC on My SAMP Server but Only I Can Chat (Owner / op) on IRC using !say but that Command not works on other member even they registerred and identifyed.
Here is my !say Code -
I want that Command for other Members who registerred,not Only for op / Owners.
Here is my !say Code -
Код:
IRCCMD:say(botid, channel[], user[], host[], params[])
{
// Check if the user has at least voice in the channel
if (IRC_IsVoice(botid, channel, user))
{
// Check if the user entered any text
if (!isnull(params))
{
// Echo the formatted message
new msg[112];
format(msg,sizeof(msg), "(IRC) %s: %s", user, params);
SendClientMessageToAll(COLOR_LIGHTBLUE, msg);
format(msg, sizeof(msg),"(IRC) %s: %s", user, params);
Say(channel,msg);
}
}
return 1;
}

