Whats wrong
#4

If i remove the else it sends 2 messages, one just normal and another saying admin


Quote:
Originally Posted by Tanush123
Посмотреть сообщение
Well i cannot script IRC, try doing this
pawn Код:
// Echo the formatted message
            if(!IRC_IsAdmin(botid,channel,user))
            {
            format(msg, sizeof(msg), "02*** %s on IRC: %s", user, params);
            IRC_GroupSay(gGroupID, channel, msg);
            format(msg, sizeof(msg), "*** %s on IRC: %s", user, params);
            SendClientMessageToAll(0xffffffff, msg);
            }
            else if (IRC_IsAdmin(botid, channel, user))
            {
            format(msg, sizeof(msg), "*** Admin %s on IRC: %s", user, params);
            SendClientMessageToAll(0xffffffff, msg);
            }
It works but it doesnt echo it back into IRC
Reply


Messages In This Thread
Whats wrong - by SnG.Scot_MisCuDI - 29.02.2012, 21:18
Re: Whats wrong - by Tanush123 - 29.02.2012, 21:25
Re: Whats wrong - by ryansheilds - 29.02.2012, 21:27
Re: Whats wrong - by SnG.Scot_MisCuDI - 29.02.2012, 21:28
Re: Whats wrong - by Richie© - 29.02.2012, 21:32
Re: Whats wrong - by ryansheilds - 29.02.2012, 21:32
Re: Whats wrong - by SnG.Scot_MisCuDI - 29.02.2012, 21:36
Re: Whats wrong - by ryansheilds - 29.02.2012, 21:46
Re: Whats wrong - by SnG.Scot_MisCuDI - 29.02.2012, 21:49

Forum Jump:


Users browsing this thread: 2 Guest(s)