Hello everyone, I need help. I created a chatbot in PHP, it can read messages, but when I send, it does not appear on channel chat stream. I am using simple socket_write PHP function. please help.
Check the following
- the token you are using has
- you are sending a PRIVMSG to
#ChannelNamechannels are all lower case
- use raw logging to log all messages sent by the server
- your lines end in CLRF (which
socket_writemight handle for you I don’t recal off hand)
Thank you Barry, you saved me. I missed #channelname, I was using channelname without #.
Can you also help me with, how I can get user detail who is sending messages.
Parse the incoming IRC Log line and tokenise.
Then extract what you need.
Thanks Barry. This solved my puzzle.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.