Need help in IRC
#1

Hello , i Got a script got an IRC with its cmds but when i open this IRC it says "I am not allowed to use this cmd" although i registed this irc channel and owner in it
Reply
#2

Can you paste the commands here?
Reply
#3

pawn Код:
IRCCMD:say(botid, channel[], user[], host[], params[])
{
    new
        eText  [ 128 ],
        eString[ 256 ];

    if(!IsEchoChannel(channel)) return iNotice( user, IRC_WRONG_CHANNEL);
    if(!IRC_IsHalfop (botid, channel, user)) return iNotice( user, "** Sorry, but you cannot use this command!");
    if(sscanf(params, "s", eText)) return iEchoUse("!say [ message ]");
    if(strlen(eText) > 100) return iEchoUse("!say [ message ] (MSG TOO LONG)");

    format( eString, sizeof( eString ), "10(ToServer): %s: %s", user, eText);
    iEcho( eString );
    format( eString, sizeof( eString), " {FFFFFF}[Echo] {00FF7F}%s: %s", user, eText);
    SendMessageToAll(COLOR_ADMIN_SPYREPORT, eString);
    return 1;
}
All admin commands like this format
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)