From WikiChip
Difference between revisions of "mirc/commands/topic"
Maroonbells (talk | contribs) (Created page with "{{mirc title|/topic Command}} The '''/topic command''' enables changing, displaying, or removing the #channel topic, subject to having permissions allowed by the network. ==...") |
(→See also) |
||
Line 28: | Line 28: | ||
== See also == | == See also == | ||
* {{mIRC|$chan}} | * {{mIRC|$chan}} | ||
− | * {{mIRC| | + | * {{mIRC|on topic|ON TOPIC}} |
Revision as of 16:39, 2 May 2023
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
The /topic command enables changing, displaying, or removing the #channel topic, subject to having permissions allowed by the network.
Synopsis
/topic [-r] <#channelname> '[topic_string] /topic -r <#channelname>
Switches
- -r - remove the topic instead
Parameters
- topic string - new content for #channel topic
Example
; set topic //topic $active new topic ; remove topic //topic -r $active ; show current topic //topic $active
Notes:
- Network permissions can deny this command, such as needing to be @op when channel mode +t is set, or not being in channel
- $chan(#channelname).topic continues to report the old string until server sends the RAW event indicating the new topic
- Prior to v7.68 topic could only be deleted like: //topic $active $chr(58)
Compatibility
Added: 3.9