Difference between revisions of "Topic"

From Scriptwiki
Jump to: navigation, search
m
 
(3 intermediate revisions by 2 users not shown)
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 spezified channels.
+
Using /topic without last parameter receives the topics of all specified channels.
  
With the last parameter, you set the topic of all spezified channels. If [[Mode|chanmode +t]] is set, you need to be Operator to do this.
+
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
+
  topic #help.script,#quakenet
Receives the current topic #help.script and #quakenet.
+
Retrieves the current topic on #help.script and #quakenet.
  /topic #help.script [[$cr]]
+
 
  /[[Quote|quote]] topic #help.script :
+
 
Clears the topic of #help.script
+
  topic #help.script [[$cr]]
  /topic #help.script Welcome to #help.script
+
  [[Quote|quote]] topic #help.script :
Sets the topic of #help.script to Welcome to #help.script.
+
Are two different ways of clearing the topic on #help.script.
 +
 
 +
 
 +
  topic #help.script Welcome to #help.script
 +
Sets the topic on #help.script to ''Welcome to #help.script''.
  
 
== See Also ==
 
== See Also ==
{{Relatedraws|topic}}
+
* {{Relatedraws|topic}}
[[Category:Basic IRC commands]][[Category:Commands]]
+
* [[On topic|On topic event]]
 +
 
 +
[[Category:Basic IRC commands]]

Latest revision as of 09:09, 2 July 2007

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 on #help.script and #quakenet.


topic #help.script $cr
quote topic #help.script :

Are two different ways of clearing the topic on #help.script.


topic #help.script Welcome to #help.script

Sets the topic on #help.script to Welcome to #help.script.

See Also