<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>ScanJournal - Revision history</title>
		<link>http://wiki.easyuo.com/index.php?title=ScanJournal&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.26.3</generator>
		<lastBuildDate>Wed, 10 Jun 2026 07:03:47 GMT</lastBuildDate>
		<item>
			<title>Seg at 07:30, 28 October 2007</title>
			<link>http://wiki.easyuo.com/index.php?title=ScanJournal&amp;diff=5415&amp;oldid=prev</link>
			<guid isPermaLink="false">http://wiki.easyuo.com/index.php?title=ScanJournal&amp;diff=5415&amp;oldid=prev</guid>
			<description>&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{command header|client}}&lt;br /&gt;
{{body|scanJournal {index}|The scanJournal command scans the users journal and puts the matching string into the [[journal|&amp;amp;#0035;journal]] system variable. The system variable [[jColor|&amp;amp;#0035;jColor]] is updated with the line's color. &lt;br /&gt;
&lt;br /&gt;
The ''index'' specifies which line in the journal to use. 1 is the bottom line, 2 is the second to the last line and so on. If the index is 1000 or over it is considered a [[jIndex|&amp;amp;#0035;jIndex]] value.}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; example 1 (old way)&lt;br /&gt;
&lt;br /&gt;
waitForAttack:&lt;br /&gt;
scanjournal 1&lt;br /&gt;
if is_attacking_you in #journal&lt;br /&gt;
  msg guards $&lt;br /&gt;
goto waitForAttack&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
; example 2 (new way) (won't skip lines like the old way will)&lt;br /&gt;
&lt;br /&gt;
set %jrnl #jindex&lt;br /&gt;
while #true&lt;br /&gt;
   {&lt;br /&gt;
   if #jindex &amp;gt; %jrnl&lt;br /&gt;
      {&lt;br /&gt;
      set %jrnl %jrnl + 1&lt;br /&gt;
      scanjournal %jrnl&lt;br /&gt;
      if is_attacking_you in #journal&lt;br /&gt;
         event macro 1 0 Guards&lt;br /&gt;
      }&lt;br /&gt;
   }&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Related Commands ==&lt;br /&gt;
{| style=&amp;quot;background:gainsboro; color:black; border: 2px #aaa solid;&amp;quot;&lt;br /&gt;
| Width=250px align=center | [[deleteJournal]] &lt;br /&gt;
|}&lt;br /&gt;
=See Also=&lt;br /&gt;
{{Client}}&lt;/div&gt;</description>
			<pubDate>Sun, 28 Oct 2007 07:30:40 GMT</pubDate>			<dc:creator>Seg</dc:creator>			<comments>http://wiki.easyuo.com/index.php?title=Talk:ScanJournal</comments>		</item>
	</channel>
</rss>