CTCP Version replies and blocking bots
In a RAW debug window I get this for VERSION and other CTCP events.aquanight wrote:Huh? All CTCPs use PRIVMSG and NOTICE...
PRIVMSG :\1PING 123\1 - CTCP request
NOTICE :\1PING 123\1 - CTCP reply
Code: Select all
-> my.irc.server.address.org PRIVMSG nick :VERSION
<- :[email protected] PRIVMSG nick :VERSION
<- :[email protected] NOTICE nick :VERSION mIRC v6.16 Khaled Mardam-Bey
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ
A /me is sent like this:
:w00t PRIVMSG #test :\1ACTION makes toast\1
A version request is:
:w00t PRIVMSG blahbot :\1VERSION\1
(from memory). So all CTCP does is piggyback on top of privmsg, right? Feel free to correct me.
:w00t PRIVMSG #test :\1ACTION makes toast\1
A version request is:
:w00t PRIVMSG blahbot :\1VERSION\1
(from memory). So all CTCP does is piggyback on top of privmsg, right? Feel free to correct me.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Oh! Thanks, I've only ever looked at the request side of things (never needed to see replies) but I'll file that away for when I do 
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Which was shown in my code from my last postcodemastr wrote:w00t, no, a CTCP request uses PRIVMSG. A CTCP reply uses NOTICE.
Configuration - https://www.unrealircd.org/docs/Configuration
FAQ - https://www.unrealircd.org/docs/FAQ
FAQ - https://www.unrealircd.org/docs/FAQ