how to send private message in rulk irc three bots
http://forum.vc-mp.org/?topic=1695.msg12125#msg12125
Send "NOTICE " + USER + " " + TEXT + "\n" using the sockets.
Quote from: Xmair on Jul 08, 2016, 05:50 AMSend "NOTICE " + USER + " " + TEXT + "\n" using the sockets.
That's not a PM, that's a notice.
Just use PRIVMSG like you would for channels, but instead send it to a nickname.
Didn't properly read it, thought he was asking for notices.
trying this function not working
function EchoNotice( USER, TEXT )
{
local
BotID = FindNexBotId();
// Send the data to IRC.
socket[ BotID ].Send("NOTICE " + USER + " " + TEXT + "\n");
}
Help!!!!!!!!!!
What's the error?
Quote from: Xmair on Jul 09, 2016, 05:22 PMWhat's the error?
Nothing, he wants to PM, personal chat using bot.
Quote from: KAKAN on Jul 09, 2016, 05:23 PMQuote from: Xmair on Jul 09, 2016, 05:22 PMWhat's the error?
Nothing, he wants to PM, personal chat using bot.
So? That code should work fine. Hence the question, what's the error...
Quote from: Thijn on Jul 09, 2016, 07:12 PMQuote from: KAKAN on Jul 09, 2016, 05:23 PMQuote from: Xmair on Jul 09, 2016, 05:22 PMWhat's the error?
Nothing, he wants to PM, personal chat using bot.
So? That code should work fine. Hence the question, what's the error...
maybe the syntax for that is: /MSG NICK TEXT ?
Quote from: KAKAN on Jul 10, 2016, 04:00 AMQuote from: Thijn on Jul 09, 2016, 07:12 PMQuote from: KAKAN on Jul 09, 2016, 05:23 PMQuote from: Xmair on Jul 09, 2016, 05:22 PMWhat's the error?
Nothing, he wants to PM, personal chat using bot.
So? That code should work fine. Hence the question, what's the error...
maybe the syntax for that is: /MSG NICK TEXT ?
No. When ever you chat, your irc client sends a socket with 'PRIVMSG #CHANNEL TEXT'.
What do you think that means?
Quote from: Xmair on Jul 12, 2016, 01:42 PMWhat do you think that means?
if i know whats its means so i will solve it my self but about think this type of errors cause due to if a function not defined or if player not available.
Quote from: Hercules on Jul 13, 2016, 08:45 AMQuote from: Xmair on Jul 12, 2016, 01:42 PMWhat do you think that means?
if i know whats its means so i will solve it my self but about think this type of errors cause due to if a function not defined or if player not available.
"USER DOES NOT EXIST" That means the user you're trying to contact to is dead.
For ex: My name
was KAKAN, I change it to NAKAK. So, now, if you do: /MSG KAKAN HEY BICH it won't work.
Quote from: KAKAN on Jul 13, 2016, 08:59 AMQuote from: Hercules on Jul 13, 2016, 08:45 AMQuote from: Xmair on Jul 12, 2016, 01:42 PMWhat do you think that means?
if i know whats its means so i will solve it my self but about think this type of errors cause due to if a function not defined or if player not available.
"USER DOES NOT EXIST" That means the user you're trying to contact to is dead.
For ex: My name was KAKAN, I change it to NAKAK. So, now, if you do: /MSG KAKAN HEY BICH it won't work.
NAKAK = "F**ked you" in Arabic.
Quote from: Omar on Jul 15, 2016, 09:43 PMQuote from: KAKAN on Jul 13, 2016, 08:59 AMQuote from: Hercules on Jul 13, 2016, 08:45 AMQuote from: Xmair on Jul 12, 2016, 01:42 PMWhat do you think that means?
if i know whats its means so i will solve it my self but about think this type of errors cause due to if a function not defined or if player not available.
"USER DOES NOT EXIST" That means the user you're trying to contact to is dead.
For ex: My name was KAKAN, I change it to NAKAK. So, now, if you do: /MSG KAKAN HEY BICH it won't work.
NAKAK = "F**ked you" in Arabic.
ناكك