<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FSzqecs%2FKaohsiung%2Ffunctions</id>
	<title>Module:Sandbox/Szqecs/Kaohsiung/functions - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3ASandbox%2FSzqecs%2FKaohsiung%2Ffunctions"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Szqecs/Kaohsiung/functions&amp;action=history"/>
	<updated>2026-05-26T13:13:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Sandbox/Szqecs/Kaohsiung/functions&amp;diff=146257&amp;oldid=prev</id>
		<title>imported&gt;Szqecs at 15:44, 21 January 2018</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Sandbox/Szqecs/Kaohsiung/functions&amp;diff=146257&amp;oldid=prev"/>
		<updated>2018-01-21T15:44:08Z</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;function r_count_func(...)&lt;br /&gt;
	if arg[n] then&lt;br /&gt;
		return (arg[n] - 1) / 3&lt;br /&gt;
	else&lt;br /&gt;
		return 1&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function interpret(_, x, y, z)&lt;br /&gt;
	line = x&lt;br /&gt;
	position = z&lt;br /&gt;
	if x == &amp;#039;r&amp;#039; then&lt;br /&gt;
		if type(tonumber(y)) == &amp;#039;number&amp;#039; then&lt;br /&gt;
			local y = tonumber(y)&lt;br /&gt;
			if y &amp;lt; 5 then&lt;br /&gt;
				index = y - 2&lt;br /&gt;
			elseif y &amp;gt; 22 then&lt;br /&gt;
				index = y&lt;br /&gt;
			else&lt;br /&gt;
				index = y - 1&lt;br /&gt;
			end&lt;br /&gt;
		elseif y == &amp;#039;4a&amp;#039; then&lt;br /&gt;
			index = 3&lt;br /&gt;
		elseif y == &amp;#039;22a&amp;#039; then&lt;br /&gt;
			index = 22&lt;br /&gt;
		end&lt;br /&gt;
	elseif x == &amp;#039;o&amp;#039; then&lt;br /&gt;
		if type(tonumber(y)) == &amp;#039;number&amp;#039; then&lt;br /&gt;
			local y = tonumber(y)&lt;br /&gt;
			if y &amp;lt; 4 then&lt;br /&gt;
				index = y&lt;br /&gt;
			else&lt;br /&gt;
				index = y - 1&lt;br /&gt;
			end&lt;br /&gt;
		elseif y == &amp;#039;t1&amp;#039; then&lt;br /&gt;
			index = 14&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function s_link(x)&lt;br /&gt;
	if x then&lt;br /&gt;
		hsr = {&lt;br /&gt;
			[&amp;#039;Zuoying&amp;#039;] = &amp;#039;&amp;#039;,&lt;br /&gt;
		}&lt;br /&gt;
		stn = {&lt;br /&gt;
			[&amp;#039;Kaohsiung Main&amp;#039;] = &amp;#039;&amp;#039;,&lt;br /&gt;
			[&amp;#039;Ciaotou&amp;#039;] = &amp;#039;Qiaotou&amp;#039;&lt;br /&gt;
		}&lt;br /&gt;
		if not stn[x] and not hsr[x] then&lt;br /&gt;
			return &amp;#039;\[\[&amp;#039; .. x .. &amp;#039; MRT station|&amp;#039; .. x .. &amp;#039;\]\]&amp;#039;&lt;br /&gt;
		elseif stn[x] then&lt;br /&gt;
			if stn[x] == &amp;#039;&amp;#039; then&lt;br /&gt;
				return &amp;#039;\[\[&amp;#039; .. x .. &amp;#039; station|&amp;#039; .. x .. &amp;#039;\]\]&amp;#039;&lt;br /&gt;
			else&lt;br /&gt;
				return &amp;#039;\[\[&amp;#039; .. stn[x] .. &amp;#039; station|&amp;#039; .. x .. &amp;#039;\]\]&amp;#039;&lt;br /&gt;
			end&lt;br /&gt;
		elseif hsr[x] then&lt;br /&gt;
			if hsr[x] == &amp;#039;&amp;#039; then&lt;br /&gt;
				return &amp;#039;\[\[&amp;#039; .. x .. &amp;#039; HSR station|&amp;#039; .. x .. &amp;#039;\]\]&amp;#039;&lt;br /&gt;
			else&lt;br /&gt;
				return &amp;#039;\[\[&amp;#039; .. hsr[x] .. &amp;#039; station|&amp;#039; .. x .. &amp;#039;\]\]&amp;#039;&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
end&lt;/div&gt;</summary>
		<author><name>imported&gt;Szqecs</name></author>
	</entry>
</feed>