Tip of the day: The Security article gives hands-on tips on how to deal with drone attacks, flooding, spammers, (D)DoS and more.

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

 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

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