<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=%24str</id>
	<title>$str - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=%24str"/>
	<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$str&amp;action=history"/>
	<updated>2026-05-15T01:04:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://script.quakenet.org/wiki/index.php?title=$str&amp;diff=4479&amp;oldid=prev</id>
		<title>Shenghi at 22:17, 29 March 2006</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$str&amp;diff=4479&amp;oldid=prev"/>
		<updated>2006-03-29T22:17:23Z</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;Returns text repeated N times.&lt;br /&gt;
&lt;br /&gt;
 $str(text,N)&lt;br /&gt;
== Example ==&lt;br /&gt;
 [[echo]] -ag $str(test,5)&lt;br /&gt;
The above example would have &amp;#039;&amp;#039;testtesttesttesttest&amp;#039;&amp;#039; as output.&lt;br /&gt;
== Example ==&lt;br /&gt;
 [[alias]] moo {&lt;br /&gt;
   [[var]] %i = $rand(5,10), %moo = m00&lt;br /&gt;
   [[while loops|while]] (%i) {&lt;br /&gt;
     [[var]] %moo = %moo $+ $iif($right(%moo,1) == o,$str(0,$rand(1,3)),$str(o,$rand(1,3)))&lt;br /&gt;
     [[dec]] %i&lt;br /&gt;
   }&lt;br /&gt;
   [[echo]] -ag %moo&lt;br /&gt;
 }&lt;br /&gt;
Above is a more complicated example of using $str. In conjuction with [[$rand]] it adds a random number of &amp;#039;&amp;#039;o&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;&amp;#039;&amp;lt;/nowiki&amp;gt;s and &amp;#039;&amp;#039;0&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;&amp;#039;&amp;lt;/nowiki&amp;gt;s to the word &amp;#039;&amp;#039;m00&amp;#039;&amp;#039;.&lt;br /&gt;
Some possible outputs for this alias are:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;m00o000o0o&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;m00oo0oo000ooo00ooo000ooo&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;#039;&amp;#039;m00oo0oo0ooo00&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
[[Category:Text and Number Identifiers]]&lt;/div&gt;</summary>
		<author><name>Shenghi</name></author>
	</entry>
</feed>