<?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=%24istok</id>
	<title>$istok - 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=%24istok"/>
	<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$istok&amp;action=history"/>
	<updated>2026-05-14T22:59:38Z</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=$istok&amp;diff=4214&amp;oldid=prev</id>
		<title>Microbe: fixed commenting syntax</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$istok&amp;diff=4214&amp;oldid=prev"/>
		<updated>2005-11-10T13:47:11Z</updated>

		<summary type="html">&lt;p&gt;fixed commenting syntax&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:47, 10 November 2005&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l8&quot;&gt;Line 8:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 8:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ascii value for dot is &amp;#039;&amp;#039;46&amp;#039;&amp;#039;. String where from we are looking &amp;#039;&amp;#039;is a.b.c.d&amp;#039;&amp;#039; and we&amp;#039;re looking for token &amp;#039;&amp;#039;b&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Ascii value for dot is &amp;#039;&amp;#039;46&amp;#039;&amp;#039;. String where from we are looking &amp;#039;&amp;#039;is a.b.c.d&amp;#039;&amp;#039; and we&amp;#039;re looking for token &amp;#039;&amp;#039;b&amp;#039;&amp;#039;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $istok(a.b.c.d, b, 46) returns $true&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  $istok(a.b.c.d, b, 46) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; ;&lt;/ins&gt;returns $true&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note that if we&amp;#039;ll search the same match from the string &amp;#039;&amp;#039;a.b c.d&amp;#039;&amp;#039; with same parameters, $istok(a.b c.d, b, 46) returns $false because now &amp;#039;&amp;#039;b&amp;#039;&amp;#039; belongs to token a.b.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Note that if we&amp;#039;ll search the same match from the string &amp;#039;&amp;#039;a.b c.d&amp;#039;&amp;#039; with same parameters, $istok(a.b c.d, b, 46) returns $false because now &amp;#039;&amp;#039;b&amp;#039;&amp;#039; belongs to token a.b.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Microbe</name></author>
	</entry>
	<entry>
		<id>https://script.quakenet.org/wiki/index.php?title=$istok&amp;diff=905&amp;oldid=prev</id>
		<title>Tovrleaf at 15:44, 15 September 2005</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=$istok&amp;diff=905&amp;oldid=prev"/>
		<updated>2005-09-15T15:44:19Z</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 [[$true]] if token exists, otherwise returns [[$false]].&lt;br /&gt;
&lt;br /&gt;
 $istok(text, token, C)&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;Text&amp;#039;&amp;#039; is the string where we are looking for the match &amp;#039;&amp;#039;token&amp;#039;&amp;#039;. &amp;#039;&amp;#039;C&amp;#039;&amp;#039; stands for ascii value of character that is used as delimiter.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039;: $istokcs() is the case-sensitive version.&lt;br /&gt;
&lt;br /&gt;
Ascii value for dot is &amp;#039;&amp;#039;46&amp;#039;&amp;#039;. String where from we are looking &amp;#039;&amp;#039;is a.b.c.d&amp;#039;&amp;#039; and we&amp;#039;re looking for token &amp;#039;&amp;#039;b&amp;#039;&amp;#039;.&lt;br /&gt;
 $istok(a.b.c.d, b, 46) returns $true&lt;br /&gt;
&lt;br /&gt;
Note that if we&amp;#039;ll search the same match from the string &amp;#039;&amp;#039;a.b c.d&amp;#039;&amp;#039; with same parameters, $istok(a.b c.d, b, 46) returns $false because now &amp;#039;&amp;#039;b&amp;#039;&amp;#039; belongs to token a.b.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;text&amp;#039;&amp;#039; can be anything, figurative constant, [[$1-]] or any parameters, or [[:Category:variables|variables]].&lt;br /&gt;
&lt;br /&gt;
If you would like to check if you&amp;#039;re name is in text the user typed. As separator we use space. Ascii value for it is 32.&lt;br /&gt;
 on *:[[on text|text]]:#help.script:{&lt;br /&gt;
   if ($istok([[$1-]], [[$me]], 32)) {&lt;br /&gt;
     [[beep]]&lt;br /&gt;
     notice [[$me]] Nick $nick just said your name at [[$chan]]&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
* [[$asc]] to get character&amp;#039;s ascii value.&lt;br /&gt;
* [[If-Then-Else]] for more information about if-statements.&lt;br /&gt;
&lt;br /&gt;
[[Category:Token Identifiers]]&lt;/div&gt;</summary>
		<author><name>Tovrleaf</name></author>
	</entry>
</feed>