<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.easyuo.com/index.php?action=history&amp;feed=atom&amp;title=ScanJournal</id>
		<title>ScanJournal - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.easyuo.com/index.php?action=history&amp;feed=atom&amp;title=ScanJournal"/>
		<link rel="alternate" type="text/html" href="http://wiki.easyuo.com/index.php?title=ScanJournal&amp;action=history"/>
		<updated>2026-04-30T02:01:43Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.26.3</generator>

	<entry>
		<id>http://wiki.easyuo.com/index.php?title=ScanJournal&amp;diff=5415&amp;oldid=prev</id>
		<title>Seg at 07:30, 28 October 2007</title>
		<link rel="alternate" type="text/html" href="http://wiki.easyuo.com/index.php?title=ScanJournal&amp;diff=5415&amp;oldid=prev"/>
				<updated>2007-10-28T07:30:40Z</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;{{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;</summary>
		<author><name>Seg</name></author>	</entry>

	</feed>