<?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=Chop_Tree_Squared_%28script%29</id>
	<title>Chop Tree Squared (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=Chop_Tree_Squared_%28script%29"/>
	<link rel="alternate" type="text/html" href="https://elanthipedia.play.net/index.php?title=Chop_Tree_Squared_(script)&amp;action=history"/>
	<updated>2026-04-24T13:52:46Z</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=Chop_Tree_Squared_(script)&amp;diff=467274&amp;oldid=prev</id>
		<title>ALISELYN: Created page with &quot;{{Script |cat=training, crafting, survival |fe=Genie |auth=Aliselyn }}  ==Description== This script will keep the sizes of rare and common lumber that you choose, and the...&quot;</title>
		<link rel="alternate" type="text/html" href="https://elanthipedia.play.net/index.php?title=Chop_Tree_Squared_(script)&amp;diff=467274&amp;oldid=prev"/>
		<updated>2017-04-24T19:08:42Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{Script |cat=training, crafting, survival |fe=Genie |auth=&lt;a href=&quot;/Aliselyn&quot; title=&quot;Aliselyn&quot;&gt;Aliselyn&lt;/a&gt; }}  ==Description== This script will keep the sizes of rare and common lumber that you choose, and the...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Script&lt;br /&gt;
|cat=training, crafting, survival&lt;br /&gt;
|fe=Genie&lt;br /&gt;
|auth=[[Aliselyn]]&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
This script will keep the sizes of rare and common lumber that you choose, and the types. There&amp;#039;s also an option for rare lumber you might not want to always keep, but still have the option to keep if you so desire. For the optional wood to not pick up anything, populate the variable with something such as &amp;quot;none&amp;quot; or &amp;quot;0&amp;quot;, something it can&amp;#039;t match on.&lt;br /&gt;
This script is very similar to my other script, [[Chop Tree (script)]], but it only watches for danger when one of the hints show up. Same as the other script, it will keep going until it exhausts the room, then look carefully for more resources. It&amp;#039;ll end when you have completely exhausted and cannot find any more resources by looking carefully.&lt;br /&gt;
&lt;br /&gt;
==How to Use==&lt;br /&gt;
Start in any room with lumber.&lt;br /&gt;
I have the wood types completely populated for ease of use to choose what you want specifically. Cull it if you wish.&lt;br /&gt;
Choose your container and chopping weapon type and add them to the script. When you start the script, enter anything after the script name to let the script know you want to use the on-site helpers to give you deeds rather than using packets (for example, &amp;lt;.chop 1&amp;gt; or &amp;lt;.chop money&amp;gt;, anything like that should work). If you have a packet on hand, choose the storage place and it will use that instead. Change &amp;quot;wear&amp;quot; and &amp;quot;remove&amp;quot; to &amp;quot;stow&amp;quot; and &amp;quot;wield&amp;quot; or &amp;quot;get&amp;quot; if you don&amp;#039;t wear your axe.&lt;br /&gt;
&lt;br /&gt;
==Script==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
var rareWoodToKeep albarco|azurelle|bloodwood|bocote|cherry|copperwood|crabwood|darkspine|ebony|goldwood|hickory|ilomba|iroko|ironwood|kapok|leori|macawood|mistwood|osage|ramin|redwood|rosewood|sandalwood|silverwood|tamarak|yew&lt;br /&gt;
var commonWoodToKeep alder|apple|ash|aspen|balsa|bamboo|birch|cedar|cypress|durian|elm|fir|hemlock|larch|mahogany|mangrove|maple|moabi|oak|pine|spruce|teak|walnut|willow&lt;br /&gt;
var rareWoodOtional&lt;br /&gt;
var normalSizeToKeep stick|branch|limb|log&lt;br /&gt;
var rareSizeToKeep stick|branch|limb|log&lt;br /&gt;
var deedstore &lt;br /&gt;
var packetstore &lt;br /&gt;
var money 0&lt;br /&gt;
var chopper &lt;br /&gt;
action (danger) goto danger when ^You notice an unusual smell|^A loud cracking sound resonates|^A monotonous buzzing sound&lt;br /&gt;
&lt;br /&gt;
if_1 var money 1&lt;br /&gt;
send watch forest danger&lt;br /&gt;
pause .5&lt;br /&gt;
roomCheck:&lt;br /&gt;
if (%money == 0) then {&lt;br /&gt;
	if (contains(&amp;quot;$roomobjs&amp;quot;, &amp;quot;deed&amp;quot;)) then {&lt;br /&gt;
		send get deed&lt;br /&gt;
		send put my deed in my %deedstore&lt;br /&gt;
		pause .5&lt;br /&gt;
		goto roomCheck&lt;br /&gt;
	}&lt;br /&gt;
	else if matchre (&amp;quot;$roomobjs&amp;quot;, &amp;quot;(%rareWoodToKeep) (%rareSizeToKeep)&amp;quot;) then {&lt;br /&gt;
		var RAREWOOD $1&lt;br /&gt;
		var RARESIZE $2&lt;br /&gt;
		send wear my %chopper&lt;br /&gt;
		pause .5&lt;br /&gt;
		send get packet&lt;br /&gt;
		pause .5&lt;br /&gt;
		goto getRareWood&lt;br /&gt;
	}&lt;br /&gt;
	else if matchre (&amp;quot;$roomobjs&amp;quot;, &amp;quot;(%commonWoodToKeep) (%normalSizeToKeep)&amp;quot;) then {&lt;br /&gt;
		var COMMONWOOD $1&lt;br /&gt;
		var COMMONSIZE $2&lt;br /&gt;
		send wear my %chopper&lt;br /&gt;
		pause .5&lt;br /&gt;
		send get packet&lt;br /&gt;
		pause .5&lt;br /&gt;
		goto getCommonWood&lt;br /&gt;
	}&lt;br /&gt;
	else if matchre (&amp;quot;$roomobjs&amp;quot;, &amp;quot;(%rareWoodOtional) (%rareSizeToKeep)&amp;quot;) then {&lt;br /&gt;
		var OPTIONALWOOD $1&lt;br /&gt;
		var RARESIZE $2&lt;br /&gt;
		send wear my %chopper&lt;br /&gt;
		pause .5&lt;br /&gt;
		send get packet&lt;br /&gt;
		pause .5&lt;br /&gt;
		pause .5&lt;br /&gt;
		echo 1 to keep, 0 to ignore&lt;br /&gt;
		match getOptionalWood 1&lt;br /&gt;
		match danger 0&lt;br /&gt;
		matchwait 8&lt;br /&gt;
		goto chop&lt;br /&gt;
	}&lt;br /&gt;
	else {&lt;br /&gt;
		if ((&amp;quot;$righthandnoun&amp;quot; == &amp;quot;%chopper&amp;quot;) || (&amp;quot;$lefthandnoun&amp;quot; == &amp;quot;%chopper&amp;quot;) then goto chop&lt;br /&gt;
		else {&lt;br /&gt;
			send remove %chopper&lt;br /&gt;
			goto chop&lt;br /&gt;
		}&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
	if matchre (&amp;quot;$roomobjs&amp;quot;, &amp;quot;(%rareWoodToKeep) (%rareSizeToKeep)&amp;quot;) then goto getRareWood&lt;br /&gt;
	else if matchre (&amp;quot;$roomobjs&amp;quot;, &amp;quot;(%rareWoodOtional) (%rareSizeToKeep)&amp;quot;) then goto getOptionalWood&lt;br /&gt;
	else if matchre (&amp;quot;$roomobjs&amp;quot;, &amp;quot;(%commonWoodToKeep) (%normalSizeToKeep)&amp;quot;) then goto getCommonWood&lt;br /&gt;
	else goto chop&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
getRareWood:&lt;br /&gt;
if (%money == 0) then {&lt;br /&gt;
	send get my packet&lt;br /&gt;
	pause .5&lt;br /&gt;
	send push %RAREWOOD %RARESIZE with my packet&lt;br /&gt;
	match nope was just recently mined by someone else&lt;br /&gt;
	matchwait 2&lt;br /&gt;
	pause .5&lt;br /&gt;
	send put my deed in %deedstore&lt;br /&gt;
	send put packet in %packetstore&lt;br /&gt;
	pause .5&lt;br /&gt;
	goto roomCheck&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
	send push %RAREWOOD %RARESIZE&lt;br /&gt;
	waitfor You push&lt;br /&gt;
	pause .5&lt;br /&gt;
	send put my deed in %deedstore&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
getCommonWood:&lt;br /&gt;
if (%money == 0) then {&lt;br /&gt;
	send get my packet&lt;br /&gt;
	pause .5&lt;br /&gt;
	send push %COMMONWOOD %COMMONSIZE with my packet&lt;br /&gt;
	match nope was just recently mined by someone else&lt;br /&gt;
	matchwait 2&lt;br /&gt;
	pause .5&lt;br /&gt;
	send put my deed in %deedstore&lt;br /&gt;
	send put packet in %packetstore&lt;br /&gt;
	pause .5&lt;br /&gt;
	goto roomCheck&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
	send push %COMMONWOOD %COMMONSIZE&lt;br /&gt;
	waitfor You push&lt;br /&gt;
	pause .5&lt;br /&gt;
	send put my deed in %deedstore&lt;br /&gt;
	pause .5&lt;br /&gt;
	goto roomCheck&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
getOptionalWood:&lt;br /&gt;
if (%money == 0) then {&lt;br /&gt;
	send get my packet&lt;br /&gt;
	pause .5&lt;br /&gt;
	echo %OPTIONALWOOD %RARESIZE&lt;br /&gt;
	send push %OPTIONALWOOD %RARESIZE with my packet&lt;br /&gt;
	match nope was just recently mined by someone else&lt;br /&gt;
	matchwait 2&lt;br /&gt;
	pause .5&lt;br /&gt;
	send get %OPTIONALWOOD deed&lt;br /&gt;
	pause .5&lt;br /&gt;
	send put my deed in %deedstore&lt;br /&gt;
	send put packet in %packetstore&lt;br /&gt;
	pause .5&lt;br /&gt;
	goto roomCheck&lt;br /&gt;
}&lt;br /&gt;
else {&lt;br /&gt;
	var OPTIONALWOOD $1&lt;br /&gt;
	var RARESIZE $2&lt;br /&gt;
	send push %OPTIONALWOOD %RARESIZE&lt;br /&gt;
	match nope was just recently mined by someone else&lt;br /&gt;
	matchwait 2&lt;br /&gt;
	pause .5&lt;br /&gt;
	send get %OPTIONALWOOD deed&lt;br /&gt;
	pause .5&lt;br /&gt;
	send put my deed in %deedstore&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
danger:&lt;br /&gt;
pause .5&lt;br /&gt;
send watch forest danger&lt;br /&gt;
match danger unable&lt;br /&gt;
match chop Roundtime:&lt;br /&gt;
matchwait&lt;br /&gt;
&lt;br /&gt;
nothing:&lt;br /&gt;
pause .5&lt;br /&gt;
send watch forest careful&lt;br /&gt;
match chop marker to direct&lt;br /&gt;
matchre end no additional resources|no additional trees&lt;br /&gt;
matchwait&lt;br /&gt;
&lt;br /&gt;
chop:&lt;br /&gt;
pause .5&lt;br /&gt;
send chop tree&lt;br /&gt;
matchre roomCheck stick|branch|limb|log&lt;br /&gt;
matchre nothing rotted core|unable to find a tree|fail to find&lt;br /&gt;
match chop Roundtime:&lt;br /&gt;
matchwait&lt;br /&gt;
&lt;br /&gt;
nope:&lt;br /&gt;
send put my packet in my %packetstore&lt;br /&gt;
send remove my %chopper&lt;br /&gt;
goto chop&lt;br /&gt;
&lt;br /&gt;
end:&lt;br /&gt;
send wear my %chopper&lt;br /&gt;
echo TIME TO CHANGE ROOMS!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>ALISELYN</name></author>
	</entry>
</feed>