<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.shoutirc.com/index.php?action=history&amp;feed=atom&amp;title=Built-In_Variables</id>
	<title>Built-In Variables - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.shoutirc.com/index.php?action=history&amp;feed=atom&amp;title=Built-In_Variables"/>
	<link rel="alternate" type="text/html" href="https://wiki.shoutirc.com/index.php?title=Built-In_Variables&amp;action=history"/>
	<updated>2026-04-28T21:12:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.shoutirc.com/index.php?title=Built-In_Variables&amp;diff=4316&amp;oldid=prev</id>
		<title>Indy at 19:52, 24 October 2013</title>
		<link rel="alternate" type="text/html" href="https://wiki.shoutirc.com/index.php?title=Built-In_Variables&amp;diff=4316&amp;oldid=prev"/>
		<updated>2013-10-24T19:52:17Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;RadioBot Built-In Variables&lt;br /&gt;
It is intended that in all user-defined messages (eg. ircbot.text) should be able to use these variables.&lt;br /&gt;
It has not been implemented everywhere, so please open a support ticket at [http://www.shoutirc.com ShoutIRC] to let me know if we missed any.&lt;br /&gt;
&lt;br /&gt;
 %color =&amp;gt; Hex Code 0x03, this is the same thing as pressing Ctrl+K in mIRC&lt;br /&gt;
 %bold  =&amp;gt; Hex Code 0x02, this is the same thing as pressing Ctrl+B in mIRC&lt;br /&gt;
 %under%  =&amp;gt; Hex Code 0x1F, this is the same thing as pressing Ctrl+U in mIRC&lt;br /&gt;
 %italic%  =&amp;gt; Hex Code 0x1D, this is the same thing as pressing Ctrl+I in mIRC&lt;br /&gt;
 %action% =&amp;gt; Hex Code 0x01, this is used for building action statements (/me in mIRC) (example: PRIVMSG target :%action%ACTION text%action%)&lt;br /&gt;
 \n     =&amp;gt; Line Feed, this combined with \r are used for making multi-line commands.&lt;br /&gt;
 \r     =&amp;gt; Carriage Return, this combined with \n are used for making multi-line commands.&lt;br /&gt;
  Example: PRIVMSG %chan :blah\r\nPRIVMSG %chan :more blah&lt;br /&gt;
  Please note that to comply with the IRC protocol (see: [[RFC 1459]] and [[RFC 2812]]), you must use \r\n, not just \n.&lt;br /&gt;
&lt;br /&gt;
 %dj    =&amp;gt; The current DJ&lt;br /&gt;
 %song  =&amp;gt; The currently playing song&lt;br /&gt;
 %version =&amp;gt; RadioBot&amp;#039;s version string&lt;br /&gt;
 %build_date =&amp;gt; The date RadioBot was built&lt;br /&gt;
 %build_time =&amp;gt; The time RadioBot was built&lt;br /&gt;
 %uptime =&amp;gt; How long RadioBot has been running&lt;br /&gt;
 %djnick% =&amp;gt; The nickname of the current live DJ, or the bot&amp;#039;s nickname if a source plugin is playing, or an empty string if there is no DJ&lt;br /&gt;
 %djuser% =&amp;gt; The RadioBot username of the current live DJ, or the bot&amp;#039;s nickname if a source plugin is playing, or an empty string if there is no DJ&lt;br /&gt;
&lt;br /&gt;
 %req   =&amp;gt; Tells whether requests are currently On or Off, in [[Multi Sound Server Mode]], all but the first server will say Off&lt;br /&gt;
 %num   =&amp;gt; In [[Multi Sound Server Mode]], this will be the stream number (0-15), not processed in single server mode&lt;br /&gt;
 %clients =&amp;gt; The number of listeners on your stream(s)&lt;br /&gt;
 %peak  =&amp;gt; The highest number of people that have been on your stream(s) at once&lt;br /&gt;
 %max   =&amp;gt; The maximum # of people who can listen to your stream(s) at once&lt;br /&gt;
&lt;br /&gt;
These variables are available only if you have ratings enabled:&lt;br /&gt;
 %ratings% =&amp;gt; Tells whether the ratings system is enabled or not, will be Off or On.&lt;br /&gt;
 %rating%  =&amp;gt; The rating of the current file, or 0 if it is not rated or the ratings system is off.&lt;br /&gt;
 %votes%   =&amp;gt; The number of votes for the current file, or 0 if it is not rated or the ratings system is off.&lt;br /&gt;
&lt;br /&gt;
These variables are available only if you have AutoDJ loaded:&lt;br /&gt;
&lt;br /&gt;
 %timeleft_milli% =&amp;gt; The number of milliseconds left in the currently playing file, or 0 otherwise.&lt;br /&gt;
 %timeleft_secs% =&amp;gt; The number of seconds left in the currently playing file, or 0 otherwise.&lt;br /&gt;
&lt;br /&gt;
These variables are available only if [[Multi Sound Server Mode]] is enabled:&lt;br /&gt;
 %ss(X).status% =&amp;gt; Tells whether Sound Server X is Online or Offline.&lt;br /&gt;
 %ss(X).dj% =&amp;gt; Shows the current DJ on Sound Server X.&lt;br /&gt;
 %ss(X).song% =&amp;gt; Shows the current song on Sound Server X.&lt;br /&gt;
 %ss(X).clients% =&amp;gt; Shows the current listener count on Sound Server X.&lt;br /&gt;
 %ss(X).peak% =&amp;gt; Shows the peak listener count on Sound Server X.&lt;br /&gt;
 %ss(X).max% =&amp;gt; Shows the maximum possible listener count on Sound Server X.&lt;br /&gt;
 The X lines up with the number in the SS/ServerX section, so SS/Server0 would be %ss(0).whatever%&lt;br /&gt;
&lt;br /&gt;
{{radiobot}}&lt;/div&gt;</summary>
		<author><name>Indy</name></author>
	</entry>
</feed>