Nagyon szép...
Dehogy* You have joined IRC Channel %d as the Administrator.Ja várj így jobb:
new channel; channel = number; channel += 1;
PlayersChannel[playerid] = number;
IRCInfo[PlayersChannel[playerid]][iPlayers] += 1;
new wstring[128];
format(string, sizeof(string), \"%s\", sendername);
strmid(wstring, string, 0, strlen(string), 255);
if(strcmp(IRCInfo[number][iAdmin],wstring, true ) == 0 )
{
format(string, sizeof(string), \"* You have joined IRC Channel %d as the Administrator.\", channel);
SendClientMessage(playerid, COLOR_YELLOW, string);
}
else
{
format(string, sizeof(string), \"* You have joined IRC Channel %d, Admin: %s.\", channel, IRCInfo[number][iAdmin]);
SendClientMessage(playerid, COLOR_YELLOW, string);
}
format(string, sizeof(string), \"MOTD: %s.\", IRCInfo[number][iMOTD]);
SendClientMessage(playerid, COLOR_YELLOW, string);
format(string, sizeof(string), \"* %s has joined the Channel.\", sendername);
SendIRCMessage(number, COLOR_GREEN, string);