<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://elanthipedia.play.net/index.php?action=history&amp;feed=atom&amp;title=YASSE_Hunt_%28script%29</id>
	<title>YASSE Hunt (script) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://elanthipedia.play.net/index.php?action=history&amp;feed=atom&amp;title=YASSE_Hunt_%28script%29"/>
	<link rel="alternate" type="text/html" href="https://elanthipedia.play.net/index.php?title=YASSE_Hunt_(script)&amp;action=history"/>
	<updated>2026-04-25T12:10:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.12</generator>
	<entry>
		<id>https://elanthipedia.play.net/index.php?title=YASSE_Hunt_(script)&amp;diff=444536&amp;oldid=prev</id>
		<title>KASHNA: added category of &quot;Utility&quot;</title>
		<link rel="alternate" type="text/html" href="https://elanthipedia.play.net/index.php?title=YASSE_Hunt_(script)&amp;diff=444536&amp;oldid=prev"/>
		<updated>2016-05-23T19:10:33Z</updated>

		<summary type="html">&lt;p&gt;added category of &amp;quot;Utility&amp;quot;&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 14:10, 23 May 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&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;{{Script&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;{{Script&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;div&gt;|fe=YASSE&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;|fe=YASSE&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;|cat=&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;combat&lt;/del&gt;&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;|cat=&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Combat, Utility&lt;/ins&gt;&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;div&gt;|auth=[[User:Antendren|Antendren]]&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;|auth=[[User:Antendren|Antendren]]&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;div&gt;}}&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;}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>KASHNA</name></author>
	</entry>
	<entry>
		<id>https://elanthipedia.play.net/index.php?title=YASSE_Hunt_(script)&amp;diff=189736&amp;oldid=prev</id>
		<title>Maintenance script: Created page with &#039;{{Script |fe=YASSE |cat=combat |auth=Antendren }}  ==Description== Puts &quot;hunt&quot;, then finds the room with the most critters and no PCs and hunts to the last cri…&#039;</title>
		<link rel="alternate" type="text/html" href="https://elanthipedia.play.net/index.php?title=YASSE_Hunt_(script)&amp;diff=189736&amp;oldid=prev"/>
		<updated>2011-09-09T02:09:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;#039;{{Script |fe=YASSE |cat=combat |auth=&lt;a href=&quot;/index.php?title=User:Antendren&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:Antendren (page does not exist)&quot;&gt;Antendren&lt;/a&gt; }}  ==Description== Puts &amp;quot;hunt&amp;quot;, then finds the room with the most critters and no PCs and hunts to the last cri…&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Script&lt;br /&gt;
|fe=YASSE&lt;br /&gt;
|cat=combat&lt;br /&gt;
|auth=[[User:Antendren|Antendren]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
Puts &amp;quot;hunt&amp;quot;, then finds the room with the most critters and no PCs and hunts to the last critter in that room.  When it gets there, if the room does have a PC, it moves away until it finds a room with no PCs, then tries again.  If, during the RT for hunt, a critter starts to advance on you, the script will end.&lt;br /&gt;
&lt;br /&gt;
==Syntax==&lt;br /&gt;
&lt;br /&gt;
Run as .hunt&lt;br /&gt;
&lt;br /&gt;
No arguments used.&lt;br /&gt;
&lt;br /&gt;
==Script==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
action &amp;quot;to advance on you&amp;quot; setvariable CRITTER-IN-ROOM yes&lt;br /&gt;
action &amp;quot;You&amp;#039;ll need to disengage first.&amp;quot; goto END&lt;br /&gt;
action &amp;quot;Your prey seems to have completely vanished.&amp;quot; goto START&lt;br /&gt;
action &amp;quot;You don&amp;#039;t have that target currently available.&amp;quot; goto START&lt;br /&gt;
action &amp;quot;You&amp;#039;ll need to be in the area you found the tracks in order to hunt along them.&amp;quot; goto START&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
START:&lt;br /&gt;
	setvariable firstChoice &amp;quot;&amp;quot;&lt;br /&gt;
	setvariable numFoes 0&lt;br /&gt;
&lt;br /&gt;
	setvariable CRITTER-IN-ROOM no&lt;br /&gt;
&lt;br /&gt;
	put hunt&lt;br /&gt;
	record until &amp;quot;Roundtime&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# FINDS THE START OF A ROOM.&lt;br /&gt;
ROOM-FIND:&lt;br /&gt;
	read recorded&lt;br /&gt;
	if %l contains &amp;quot;To the&amp;quot; goto PC-CHECK&lt;br /&gt;
	if %l contains &amp;quot;Roundtime&amp;quot; goto HUNT&lt;br /&gt;
	if %l contains &amp;quot;You were unable to locate any followable tracks.&amp;quot; goto NOTHING&lt;br /&gt;
	goto ROOM-FIND&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# CHECKS IF THE ROOMS HAS A PC.  RETURNS TO ROOM-FIND IF SO.&lt;br /&gt;
PC-CHECK:&lt;br /&gt;
	counter set 0&lt;br /&gt;
	read recorded&lt;br /&gt;
	if %l contains &amp;quot;)   a hidden&amp;quot; goto ROOM-FIND&lt;br /&gt;
	if %l contains &amp;quot;)   a &amp;quot; goto CRITTER-COUNT&lt;br /&gt;
	if %l contains &amp;quot;)   an &amp;quot; goto CRITTER-COUNT&lt;br /&gt;
	goto ROOM-FIND&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# COUNTS THE NUMBER OF CRITTERS IN THE ROOM.  PUTS THE HUNT-NUMBER OF THE CRITTER IN $TEMP$.&lt;br /&gt;
CRITTER-COUNT:&lt;br /&gt;
	setvariable temp %l&lt;br /&gt;
	if $temp$ contains &amp;quot;)   a &amp;quot;&lt;br /&gt;
		calculate temp pos &amp;quot;)   a &amp;quot;&lt;br /&gt;
	else&lt;br /&gt;
		calculate temp pos &amp;quot;)   an &amp;quot;&lt;br /&gt;
	calculate temp left %result&lt;br /&gt;
	calculate temp right 2&lt;br /&gt;
	counter inc&lt;br /&gt;
	read recorded&lt;br /&gt;
	if %l eq &amp;quot;&amp;quot; goto ROOM-COMPARE&lt;br /&gt;
	goto CRITTER-COUNT&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# COMPARES THE JUST COUNTED ROOM TO THE BEST FOUND SO FAR.  IF IT&amp;#039;S BETTER, STORES THE HUNT-NUMBER OF THE LAST CRITTER IN THAT ROOM.&lt;br /&gt;
ROOM-COMPARE:&lt;br /&gt;
	if_c &amp;gt; $numFoes$&lt;br /&gt;
		begin&lt;br /&gt;
		setvariable firstChoice $temp$&lt;br /&gt;
		setvariable numFoes %c&lt;br /&gt;
		end&lt;br /&gt;
	goto ROOM-FIND&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# IF THERE&amp;#039;S A CRITTER IN YOUR ROOM, ENDS THE SCRIPT.&lt;br /&gt;
# OTHERWISE, HUNTS TO THE LAST CRITTER IN THE BEST ROOM, ASSUMING YOU FOUND ANY.&lt;br /&gt;
# IF THERE&amp;#039;S ALREADY A PC THERE, GOES TO MOVE-AWAY.&lt;br /&gt;
HUNT:&lt;br /&gt;
	if $CRITTER-IN-ROOM$ eq &amp;quot;yes&amp;quot; goto END&lt;br /&gt;
	if $firstChoice$ eq &amp;quot;&amp;quot; goto NOTHING&lt;br /&gt;
&lt;br /&gt;
	put hunt $firstChoice$&lt;br /&gt;
	waitfor You move to hunt down your prey&lt;br /&gt;
	pause 2&lt;br /&gt;
	if %alsohere ne &amp;quot;&amp;quot;&lt;br /&gt;
		goto MOVE-AWAY&lt;br /&gt;
	goto END&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# YOU WERE UNABLE TO FIND AN UNCLAIMED ROOM WITH CRITTERS.  BY DEFAULT, THE SCRIPT RESTARTS.  MAYBE HAVE IT DO SOMETHING ELSE?&lt;br /&gt;
NOTHING:&lt;br /&gt;
	goto START&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
####&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# MOVES IN A RANDOM CARDINAL DIRECTION.  IF NONE ARE VISIBLE, TRIES A DIRECTION AT RANDOM.  ONCE IT FINDS A ROOM WITH NO CRITTERS, RESTARTS.&lt;br /&gt;
MOVE-AWAY:&lt;br /&gt;
	setvariable exits &amp;quot;&amp;quot;&lt;br /&gt;
	counter set 0&lt;br /&gt;
	setvariable temp %roomdescription&lt;br /&gt;
	calculate temp pos obvious&lt;br /&gt;
	calculate temp right %result&lt;br /&gt;
	if %temp contains &amp;quot;north,&amp;quot;&lt;br /&gt;
		begin&lt;br /&gt;
		setvariable exits &amp;quot;$exits$ n&amp;quot;&lt;br /&gt;
		counter inc&lt;br /&gt;
		end&lt;br /&gt;
	if %temp contains &amp;quot;north.&amp;quot;&lt;br /&gt;
		begin&lt;br /&gt;
		setvariable exits &amp;quot;$exits$ n&amp;quot;&lt;br /&gt;
		counter inc&lt;br /&gt;
		end&lt;br /&gt;
	if %temp contains &amp;quot;south,&amp;quot;&lt;br /&gt;
		begin&lt;br /&gt;
		setvariable exits &amp;quot;$exits$ s&amp;quot;&lt;br /&gt;
		counter inc&lt;br /&gt;
		end&lt;br /&gt;
	if %temp contains &amp;quot;south.&amp;quot;&lt;br /&gt;
		begin&lt;br /&gt;
		setvariable exits &amp;quot;$exits$ s&amp;quot;&lt;br /&gt;
		counter inc&lt;br /&gt;
		end&lt;br /&gt;
	if %temp contains &amp;quot; east&amp;quot;&lt;br /&gt;
		begin&lt;br /&gt;
		setvariable exits &amp;quot;$exits$ e&amp;quot;&lt;br /&gt;
		counter inc&lt;br /&gt;
		end&lt;br /&gt;
	if %temp contains &amp;quot; west&amp;quot;&lt;br /&gt;
		begin&lt;br /&gt;
		setvariable exits &amp;quot;$exits$ w&amp;quot;&lt;br /&gt;
		counter inc&lt;br /&gt;
		end&lt;br /&gt;
	if %temp contains &amp;quot;northeast&amp;quot;&lt;br /&gt;
		begin&lt;br /&gt;
		setvariable exits &amp;quot;$exits$ ne&amp;quot;&lt;br /&gt;
		counter inc&lt;br /&gt;
		end&lt;br /&gt;
	if %temp contains &amp;quot;southeast&amp;quot;&lt;br /&gt;
		begin&lt;br /&gt;
		setvariable exits &amp;quot;$exits$ se&amp;quot;&lt;br /&gt;
		counter inc&lt;br /&gt;
		end&lt;br /&gt;
	if %temp contains &amp;quot;northwest&amp;quot;&lt;br /&gt;
		begin&lt;br /&gt;
		setvariable exits &amp;quot;$exits$ nw&amp;quot;&lt;br /&gt;
		counter inc&lt;br /&gt;
		end&lt;br /&gt;
	if %temp contains &amp;quot;southwest&amp;quot;&lt;br /&gt;
		begin&lt;br /&gt;
		setvariable exits &amp;quot;$exits$ sw&amp;quot;&lt;br /&gt;
		counter inc&lt;br /&gt;
		end&lt;br /&gt;
	if %temp contains &amp;quot; out&amp;quot;&lt;br /&gt;
		begin&lt;br /&gt;
		setvariable exits &amp;quot;$exits$ out&amp;quot;&lt;br /&gt;
		counter inc&lt;br /&gt;
		end&lt;br /&gt;
	if $exits$ eq &amp;quot;&amp;quot;&lt;br /&gt;
		begin&lt;br /&gt;
		setvariable exits &amp;quot;n nw w sw s se e ne u d o&amp;quot;&lt;br /&gt;
		counter set 11&lt;br /&gt;
		end&lt;br /&gt;
	action &amp;quot;You are engaged to a&amp;quot; goto RETR&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
MOVE-1:&lt;br /&gt;
	counter rnd %c&lt;br /&gt;
	getword %c $exits$&lt;br /&gt;
	put %w&lt;br /&gt;
	pausetext 3 &amp;quot;Obvious&amp;quot;&lt;br /&gt;
	action &amp;quot;You are engaged to a&amp;quot; CLEAR&lt;br /&gt;
&lt;br /&gt;
	if %alsohere ne &amp;quot;&amp;quot;&lt;br /&gt;
		goto MOVE-AWAY&lt;br /&gt;
&lt;br /&gt;
	goto START&lt;br /&gt;
&lt;br /&gt;
RETR:&lt;br /&gt;
	put retreat&lt;br /&gt;
	goto MOVE-1&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
####&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
END:&lt;br /&gt;
	exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>