Can we have a returned message to the player who sends a /ircpm to someone?
because now it returns 1; but if you forget it could be spammed
something like (this needs adaptation, since I don't know the actual /ircpm code)
if(!strcmp(cmdtext, "/ircpm", true))
{
if(cmdtext[] == 0) {
SendClientMessage(playerid, 0xFF0000FF, "USAGE: /ircpm [msg]");
return 1;
}
new string[128];
GetPlayerName(playerid, string, sizeof(string));
format(string, sizeof(string), "PM to IRC sent: %s", string);
SendClientMessage(playerid,COLOR, string);
return 1;
}
Also a command to see donator commands ingame:
if(strcmp(cmdtext, "/commandtoseedonatorcommands", true)==0)
{
SendClientMessage(playerid,COLOR_YELLOW, "Donator Commands: /nos, /setspawn, /resetspawn, /flowers, /donators, /ircpm");
}