Difference between revisions of "Topic"
From Scriptwiki
(Added a dot.) |
m (removed commands category, typos, tweak) |
||
Line 1: | Line 1: | ||
Changes or receives the topic of the channel. | Changes or receives the topic of the channel. | ||
/topic <#channel> [:[newtopic]] | /topic <#channel> [:[newtopic]] | ||
− | *<nowiki>#channel</nowiki> is a comma seperated list of one or more channels. | + | * ''<nowiki>#channel</nowiki>'' is a comma seperated list of one or more channels. |
− | *newtopic is the topic you want to set. | + | * ''newtopic'' is the topic you want to set. |
− | Using /topic without last parameter receives the topics of all | + | Using /topic without last parameter receives the topics of all specified channels. |
− | With the last parameter, you set the topic of all | + | With the last parameter, you set the topic of all specified channels. If [[Mode|chanmode +t]] is set, you need to be an operator (+o) to do this. |
When re-setting the same topic, the change is only shown to you and for whom it changes, which allows resynching the topic without showing unneeded topic changes. | When re-setting the same topic, the change is only shown to you and for whom it changes, which allows resynching the topic without showing unneeded topic changes. | ||
== Example == | == Example == | ||
− | + | topic #help.script,#quakenet | |
− | + | Retrieves the current topic #help.script and #quakenet. | |
− | + | ||
− | + | ||
+ | topic #help.script [[$cr]] | ||
+ | [[Quote|quote]] topic #help.script : | ||
Clears the topic of #help.script. | Clears the topic of #help.script. | ||
− | + | ||
− | Sets the topic of #help.script to Welcome to #help.script. | + | |
+ | topic #help.script Welcome to #help.script | ||
+ | Sets the topic of #help.script to ''Welcome to #help.script''. | ||
== See Also == | == See Also == | ||
{{Relatedraws|topic}} | {{Relatedraws|topic}} | ||
− | [[Category:Basic IRC commands | + | [[Category:Basic IRC commands]] |
Revision as of 20:56, 26 November 2005
Changes or receives the topic of the channel.
/topic <#channel> [:[newtopic]]
- #channel is a comma seperated list of one or more channels.
- newtopic is the topic you want to set.
Using /topic without last parameter receives the topics of all specified channels.
With the last parameter, you set the topic of all specified channels. If chanmode +t is set, you need to be an operator (+o) to do this.
When re-setting the same topic, the change is only shown to you and for whom it changes, which allows resynching the topic without showing unneeded topic changes.
Example
topic #help.script,#quakenet
Retrieves the current topic #help.script and #quakenet.
topic #help.script $cr quote topic #help.script :
Clears the topic of #help.script.
topic #help.script Welcome to #help.script
Sets the topic of #help.script to Welcome to #help.script.