Quote:
Originally Posted by » Pawnst★r «
pawn Код:
ircIsOp(conn, channel[], user[]) { new ircLevel[4]; ircGetUserLevel(conn, channel, user, ircLevel); if(!strcmp(ircLevel, "~", true, 1) || !strcmp(ircLevel, "&", true, 1) || !strcmp(ircLevel, "@", true, 1)) return 1; return 0; }
|
My point is that IG you make /irc [text] and it checks is on that channel any operator, if not, then Sendclientmessage return true;
How do i do that? if(ircIsOp) ?