<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.en.stne.net/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.en.stne.net/index.php?action=history&amp;feed=atom&amp;title=Scripting%3ATanker_Control</id>
		<title>Scripting:Tanker Control - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.en.stne.net/index.php?action=history&amp;feed=atom&amp;title=Scripting%3ATanker_Control"/>
		<link rel="alternate" type="text/html" href="http://wiki.en.stne.net/index.php?title=Scripting:Tanker_Control&amp;action=history"/>
		<updated>2026-04-08T14:20:39Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://wiki.en.stne.net/index.php?title=Scripting:Tanker_Control&amp;diff=79023&amp;oldid=prev</id>
		<title>Jacksfh at 12:23, 22 April 2014</title>
		<link rel="alternate" type="text/html" href="http://wiki.en.stne.net/index.php?title=Scripting:Tanker_Control&amp;diff=79023&amp;oldid=prev"/>
				<updated>2014-04-22T12:23:19Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:23, 22 April 2014&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The portal will only do anything if the owner of the ship is the person using the portal.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The portal will only do anything if the owner of the ship is the person using the portal.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Script originally created by Glest Durnham (6609), edited by &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Jacksfh &lt;/del&gt;(60589) to include extra ships e.g. Gathering Station&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Script originally created by Glest Durnham (6609), edited by &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Jacus &lt;/ins&gt;(60589) to include extra ships e.g. Gathering Station&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Script Code==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Script Code==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jacksfh</name></author>	</entry>

	<entry>
		<id>http://wiki.en.stne.net/index.php?title=Scripting:Tanker_Control&amp;diff=5376&amp;oldid=prev</id>
		<title>Jacksfh at 10:15, 6 April 2012</title>
		<link rel="alternate" type="text/html" href="http://wiki.en.stne.net/index.php?title=Scripting:Tanker_Control&amp;diff=5376&amp;oldid=prev"/>
				<updated>2012-04-06T10:15:10Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 10:15, 6 April 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 65:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 65:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;  }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;  }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Note|Feature pack &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;in &lt;/del&gt;required to be able to use this script.}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Note|Feature pack &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;is &lt;/ins&gt;required to be able to use this script.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Scripting]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Scripting]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jacksfh</name></author>	</entry>

	<entry>
		<id>http://wiki.en.stne.net/index.php?title=Scripting:Tanker_Control&amp;diff=5254&amp;oldid=prev</id>
		<title>Jacksfh at 18:32, 12 January 2012</title>
		<link rel="alternate" type="text/html" href="http://wiki.en.stne.net/index.php?title=Scripting:Tanker_Control&amp;diff=5254&amp;oldid=prev"/>
				<updated>2012-01-12T18:32:38Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:32, 12 January 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 65:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 65:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;  }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;  }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;{{Note|Feature pack in required to be able to use this script.}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Scripting]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Category:Scripting]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jacksfh</name></author>	</entry>

	<entry>
		<id>http://wiki.en.stne.net/index.php?title=Scripting:Tanker_Control&amp;diff=5253&amp;oldid=prev</id>
		<title>Jacksfh at 18:30, 12 January 2012</title>
		<link rel="alternate" type="text/html" href="http://wiki.en.stne.net/index.php?title=Scripting:Tanker_Control&amp;diff=5253&amp;oldid=prev"/>
				<updated>2012-01-12T18:30:13Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:30, 12 January 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;  {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;  // Make sure it's a deuterium tanker.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;  // Make sure it's a deuterium tanker.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;  If (curShip.TypeName = &amp;quot;Indus&amp;quot; OR curShip.TypeName = &amp;quot;Kale&amp;quot; OR curShip.TypeName = &amp;quot;Indus prototype&amp;quot; OR curShip.TypeName = &amp;quot;Rigel&amp;quot; OR curShip.TypeName = &amp;quot;Gathering Station&amp;quot; &amp;lt;br&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;OR curShip.TypeName = &amp;quot;Constitution&amp;quot; &lt;/del&gt;OR curShip.TypeName = &amp;quot;Atria&amp;quot; OR curShip.TypeName = &amp;quot;DY-500&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;  If (curShip.TypeName = &amp;quot;Indus&amp;quot; OR curShip.TypeName = &amp;quot;Kale&amp;quot; OR curShip.TypeName = &amp;quot;Indus prototype&amp;quot; OR curShip.TypeName = &amp;quot;Rigel&amp;quot; OR curShip.TypeName = &amp;quot;Gathering Station&amp;quot; &amp;lt;br&amp;gt; OR curShip.TypeName = &amp;quot;Atria&amp;quot; OR curShip.TypeName = &amp;quot;DY-500&amp;quot;)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;  {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp;  {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  // Save initial information&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;  // Save initial information&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jacksfh</name></author>	</entry>

	<entry>
		<id>http://wiki.en.stne.net/index.php?title=Scripting:Tanker_Control&amp;diff=5222&amp;oldid=prev</id>
		<title>Jacksfh at 15:08, 1 January 2012</title>
		<link rel="alternate" type="text/html" href="http://wiki.en.stne.net/index.php?title=Scripting:Tanker_Control&amp;diff=5222&amp;oldid=prev"/>
				<updated>2012-01-01T15:08:38Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 15:08, 1 January 2012&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 colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;{{menu}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;{{ScriptingMenu}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Deuterium Tanker Control==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;==Deuterium Tanker Control==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 63:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 65:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;  }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp;&amp;nbsp;  }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;nbsp; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Scripting]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Jacksfh</name></author>	</entry>

	<entry>
		<id>http://wiki.en.stne.net/index.php?title=Scripting:Tanker_Control&amp;diff=5221&amp;oldid=prev</id>
		<title>Jacksfh: Created page with &quot;==Deuterium Tanker Control==  Upon entering the portal, all deuterium tankers in the sector (the sector that the ship is in on wich the portal is set up) will use maximum energy ...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.en.stne.net/index.php?title=Scripting:Tanker_Control&amp;diff=5221&amp;oldid=prev"/>
				<updated>2012-01-01T15:06:16Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Deuterium Tanker Control==  Upon entering the portal, all deuterium tankers in the sector (the sector that the ship is in on wich the portal is set up) will use maximum energy ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Deuterium Tanker Control==&lt;br /&gt;
&lt;br /&gt;
Upon entering the portal, all deuterium tankers in the sector (the sector that the ship is in on wich the portal is set up) will use maximum energy to collect deuterium. It will then report how much deuterium each tanker collected.&lt;br /&gt;
&lt;br /&gt;
If a tanker is docked, it will first undock and dock again after collecting deuterium.&lt;br /&gt;
&lt;br /&gt;
The portal will only do anything if the owner of the ship is the person using the portal.&lt;br /&gt;
&lt;br /&gt;
Script originally created by Glest Durnham (6609), edited by Jacksfh (60589) to include extra ships e.g. Gathering Station&lt;br /&gt;
&lt;br /&gt;
==Script Code==&lt;br /&gt;
 #UseInterface Web, ShipPortal;&lt;br /&gt;
 &lt;br /&gt;
 Var scriptName As String = &amp;quot;Tanker Control&amp;quot;;&lt;br /&gt;
  &lt;br /&gt;
 If(GuestUser.UserID = MyShip.UserID)&lt;br /&gt;
 {&lt;br /&gt;
   Var curShip As CShip;&lt;br /&gt;
   Var curMyShip As CMyShip;&lt;br /&gt;
   Var dockedTo As Integer = - 1;&lt;br /&gt;
   Var oldQuantity As Integer = 0;&lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
   // Loop all ships in the sector&lt;br /&gt;
   For (Each curShip In MyShip.SRS)&lt;br /&gt;
   {&lt;br /&gt;
     // Make sure we own it&lt;br /&gt;
     If (curShip.UserID = MyShip.UserID)&lt;br /&gt;
     {&lt;br /&gt;
       // Make sure it's a deuterium tanker.&lt;br /&gt;
       If (curShip.TypeName = &amp;quot;Indus&amp;quot; OR curShip.TypeName = &amp;quot;Kale&amp;quot; OR curShip.TypeName = &amp;quot;Indus prototype&amp;quot; OR curShip.TypeName = &amp;quot;Rigel&amp;quot; OR curShip.TypeName = &amp;quot;Gathering Station&amp;quot; &amp;lt;br&amp;gt; OR curShip.TypeName = &amp;quot;Constitution&amp;quot; OR curShip.TypeName = &amp;quot;Atria&amp;quot; OR curShip.TypeName = &amp;quot;DY-500&amp;quot;)&lt;br /&gt;
       {&lt;br /&gt;
         // Save initial information&lt;br /&gt;
         curMyShip = New CMyShip(curShip.ShipID);&lt;br /&gt;
         dockedTo = - 1;&lt;br /&gt;
         oldQuantity = curMyShip.StockRoom.Amount(EGoodsType.Deuterium);&lt;br /&gt;
         &lt;br /&gt;
         // Save docking information and undock&lt;br /&gt;
         If (curMyShip.Docked)&lt;br /&gt;
         {&lt;br /&gt;
           dockedTo = curMyShip.DockedToShipID;&lt;br /&gt;
           curMyShip.Action.Undock();&lt;br /&gt;
         }&lt;br /&gt;
         &lt;br /&gt;
         // Perform the action&lt;br /&gt;
         curMyShip.Action.CollectDeuterium(2000);&lt;br /&gt;
         &lt;br /&gt;
         // Calculate the result&lt;br /&gt;
         Var collected As Integer = curMyShip.StockRoom.Amount(EGoodsType.Deuterium) - oldQuantity;&lt;br /&gt;
         &lt;br /&gt;
        // Re-dock&lt;br /&gt;
         If (dockedTo &amp;gt; - 1)&lt;br /&gt;
         {&lt;br /&gt;
           curMyShip.Action.DockTo(dockedTo);&lt;br /&gt;
         }&lt;br /&gt;
         &lt;br /&gt;
         // Output result&lt;br /&gt;
         Response.Add(curMyShip.Name &amp;amp; &amp;quot; (NCC &amp;quot; &amp;amp; curMyShip.ShipID &amp;amp; &amp;quot;) collected &amp;quot; &amp;amp; collected &amp;amp; &amp;quot; Deuterium.&amp;quot;);&lt;br /&gt;
         Response.Add(New CHtmlBreak());&lt;br /&gt;
         &lt;br /&gt;
       }&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;/div&gt;</summary>
		<author><name>Jacksfh</name></author>	</entry>

	</feed>