121 Ident userhost.net +iwg DAqAoB AIAAB :Generic Client. [ READ]: AF B #foobar 947957734 +tink akey AIAAB,AIAAA:v,AZAAA:o :%*!*another@*.ban.com *!*firstname.lastname@example.org [ READ]: AF B #coder-com 947957727 AIAAB,AZAAA:o [ READ]: AF B #another 946101321 AFAAA [ READ]: AF JU * +juped.undernet.org 3600 947958100 :Broken, please fix [ READ]: AF EB [WRITE]: AB EA [ READ]: AF EA[Back]
This chapter provides details of the messages that can be sent after successfully linking to a network, and synchronising the channel/user database.
4.1 Channel state operations
There are a number of messages that can modify the state of a channel, these are:
The MODE message can modify channel modes and bans, and also give or take operator/voice status from channel members.
|p||Sets/Unsets 'Private' Flag.||None.|
|s||Sets/Unsets 'Secret' Flag.||None.|
|m||Sets/Unsets 'Moderated' Flag.||None.|
|n||Sets/Unsets 'External Messages' Flag.||None.|
|t||Sets/Unsets 'Topic Limit' Flag.||None.|
|i||Sets/Unsets 'Invite only' Flag.||None.|
|l||Sets/Unsets 'Channel Limit' Flag.||The channel limit.|
|k||Sets/Unsets 'Channel Key' Flag.||The channel keyword (Password).|
|o||Ops and Deops users.||Numeric of user to be opped.|
|v||Voice||Numeric of user to be voiced.|
N.B: The "MODE" message is also used to modify a client's user modes, not just channel modes. See section 4.2 for details.
The OPMODE message is identical in syntax to the MODE message, however it will only ever have an operator as the source. It is likely that the source of this mode will not have ops in the target channel, but it should succeed never the less.
4.1.3 - JOIN
4.1.4 - PART
4.1.5 - KICK
4.1.6 - TOPIC
4.1.7 - CLEARMODE
4.2.1 - NICK4.3 Channel/Client Messaging.AZAAA N Nick2 9554232304.2.2 - MODEAZAAA M Nick2 :+odi4.2.3 - ACCOUNTAX AC AZAAA oper
The ACCOUNT message provides a way for servers, such as the channel service server, to set the account name information that is associated with a client. Once set, it cannot be unset or changed, and will be propagated in NICK during net bursts using the special user mode +r followed by the account name.
4.3.1 - PRIVMSG[Back]
4.3.2 - NOTICE
4.3.3 - CNOTICE
4.3.4 - CPRIVMSG
5. Programmers reference: Client/Server Structures
This section provides information on the standard Client/Server structures, for easy reference during development.
[..Link to autogenerated struct.html..]
Frequently asked questions.
8. Update History
[2000-01-20]: Initial draft, structure, background info.
[2000-02-13]: Added initial BURST documentation.
[2000-02-14]: Continued BURST documentation / Begin NICK and SERVER documentation.
[2000-02-26]: Continued chapter 5, few example fixes, added token table from msg.h. -Gte.
[2000-03-02]: Added NICK spec. -Gte.
[2000-03-18]: Added JUPE spec. -Kev
[2000-04-10]: Added information about OPMODE and CLEARMODE tokens. -Kev
[2000-04-11]: Started work on chapter 4. -Gte
[2000-06-01]: Changed some info about the max number of clients -Isomer
[2002-01-11]: Wrote a specification for ACCOUNT and noted that a usermode in a NICK message may have an argument. -Kev