SA-MP Forums Archive
IRC Help [Incognito's Plugin] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: IRC Help [Incognito's Plugin] (/showthread.php?tid=313517)



IRC Help [Incognito's Plugin] - Niko_boy - 26.01.2012

hello world,
Well I have seen it many echo's channels

my question is :
lets look at this first
Quote:
Originally Posted by zeli
Посмотреть сообщение
How could i make that if someone sends a message on the admin chat for example, only ops can see it on the IRC channel?
I have tried it, but i could not solved this problem. Can anyone help?
Quote:
Originally Posted by Lightning[SV]
Посмотреть сообщение
Send the message to: @#channel
u guys seen ^^

I need exactly like that , cause i cant use irc things inside SAMp functions
e.g.
If i do
Quote:

IRC_GroupSay(gGroupID, user, string);

^^ it wont work at all , as it will return undefined symbol for 'user'

and if i try
Quote:

IRC_GroupSay(gGroupID, channel, string);

^^ it too wont working , as it will return undefined symbol for 'channel'

and if i do
Quote:

IRC_GroupSay(gGroupID, IRC_Channel, string);

which works as all things are completely defined in script,
Код:
#define IRC_channel irc.foco.co
But i can figure this part till if i want a message to channel , but failing to make it like sending it to a particular user only not full channel, user i mean e.g.
if some one in game do vip chat it send message to ppl on IRC having +v and above and for admin chat it will be seen by only +h above....

So either any one help me in making
Код HTML:
if(IRC_IsHalfop(gGroupID, user , channel)
(etc.. things work)where both user and channel can be worked ! inside samp functions or atleast user works

IF IT WORKS IT WILL SORT OUT MY FULL PROBLEM !!

,i will post some of my code later !



Re: IRC Help [Incognito's Plugin] - Niko_boy - 26.01.2012

BUMP
SOme One please!!!!!!!!!!!!!!!!!!!!
i figured something that IRC_SendRaw
will do something like that raw message > /msg @#Chann Message
but i tried it and it wasnt working inside bots!other wise when i myself did it, it was fine
help me to create that ?!?
!


Re: IRC Help [Incognito's Plugin] - Niko_boy - 27.01.2012

*&Bot:@#Channel* A MESSAGE HERE.

how to make a bot send a message like that
note it isnt a notice , cause notice make alert sounds!

HELP MEEEEEEEEEEEEEEEE


BUMP!!!