IRCCMD wrong?
#6

pawn Код:
IRCCMD:pblacklisted(botid, channel[], user[], host[])
{ // <<<<<<<<<< That was ) not {
    if(!IRC_IsOp(IRC_EchoConnection[0], EchoChan, user)) return AccessDenied(user);
    new pbl[64]; // Create the string to store the read text in
    new File:connections = fopen("/LogS/connections.txt", io_read); // Open the file
    fread(connections, pbl); // Fread from the file and store what's read in 'string'
    fclose(connections); // Close the file
    format(msg,95,"5>> List of blacklisted people: %s",pbl); // Print what was read
    IRC_GroupSay(IRC_Group,EchoChan,msg);
    return 1;
}
Reply


Messages In This Thread
IRCCMD wrong? - by Face9000 - 17.11.2010, 09:35
Re: IRCCMD wrong? - by Face9000 - 18.11.2010, 11:23
Re: IRCCMD wrong? - by Mean - 18.11.2010, 11:25
Re: IRCCMD wrong? - by thiaZ_ - 18.11.2010, 11:28
Re: IRCCMD wrong? - by selten98 - 18.11.2010, 11:29
Re: IRCCMD wrong? - by Calgon - 18.11.2010, 11:33
Re: IRCCMD wrong? - by Face9000 - 18.11.2010, 12:15

Forum Jump:


Users browsing this thread: 1 Guest(s)