Structure
A CTCP message is implemented as a PRIVMSG
or NOTICE
where the first and last characters of the message are ASCII value 0x01. Additionally, characters which would not be allowed in the IRC protocol are escaped. Since a NOTICE
as the standard should not generate another NOTICE
as a reply, CTCP messages are sent as PRIVMSG
and the reply is implemented with a NOTICE
instead of a PRIVMSG
.
A CTCP query is initiated on most clients as follows:
CTCPWhere VERSION
), and
Read more about this topic: Client-to-client Protocol
Famous quotes containing the word structure:
“In the extent and proper structure of the Union, therefore, we behold a republican remedy for the diseases most incident to republican government.”
—James Madison (17511836)
“The syntactic component of a grammar must specify, for each sentence, a deep structure that determines its semantic interpretation and a surface structure that determines its phonetic interpretation.”
—Noam Chomsky (b. 1928)
“It is difficult even to choose the adjective
For this blank cold, this sadness without cause.
The great structure has become a minor house.
No turban walks across the lessened floors.
The greenhouse never so badly needed paint.”
—Wallace Stevens (18791955)