Difference between revisions of "Topic"

From Scriptwiki
Jump to: navigation, search
m (removed commands category, typos, tweak)
m
 
(One intermediate revision by one other user not shown)
Line 11: Line 11:
 
== Example ==
 
== Example ==
 
  topic #help.script,#quakenet
 
  topic #help.script,#quakenet
Retrieves the current topic #help.script and #quakenet.
+
Retrieves the current topic on #help.script and #quakenet.
  
  
 
  topic #help.script [[$cr]]
 
  topic #help.script [[$cr]]
 
  [[Quote|quote]] topic #help.script :
 
  [[Quote|quote]] topic #help.script :
Clears the topic of #help.script.
+
Are two different ways of clearing the topic on #help.script.
  
  
 
  topic #help.script Welcome to #help.script
 
  topic #help.script Welcome to #help.script
Sets the topic of #help.script to ''Welcome to #help.script''.
+
Sets the topic on #help.script to ''Welcome to #help.script''.
  
 
== See Also ==
 
== See Also ==
{{Relatedraws|topic}}
+
* {{Relatedraws|topic}}
 +
* [[On topic|On topic event]]
 +
 
 
[[Category:Basic IRC commands]]
 
[[Category:Basic IRC commands]]

Latest revision as of 08: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