Tip of the day: Almost every channel mode can be disabled. Don't like halfops? Use blacklist-module chanmodes/halfop;

Server protocol:TOPIC command

From UnrealIRCd documentation wiki
Jump to navigation Jump to search

The TOPIC command is used during sync to communicate what topic is set on a channel. It can also be used for setting the topic after the servers have synced.

Syntax[edit]

 TOPIC channel set-by set-when :Welcome to #channel! This is a topic 

Where:

  • channel - The name of the channel.
  • set-by - The name/nick of the person who set the topic. You can set this to any valid nick and it will show on IRC as having been set by that user in a '/TOPIC #channel' output.
  • set-when - The UNIX timestamp referring to when the topic was set.

Example[edit]

 TOPIC #PossumsOnly Valware 1660830802 :If you are not a possum, stay out!