<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Script_header</title><link>https://sourceforge.net/p/rathena/wiki/Script_header/</link><description>Recent changes to Script_header</description><atom:link href="https://sourceforge.net/p/rathena/wiki/Script_header/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 20 Feb 2023 05:00:17 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/rathena/wiki/Script_header/feed" rel="self" type="application/rss+xml"/><item><title>Script_header modified by Brynner</title><link>https://sourceforge.net/p/rathena/wiki/Script_header/</link><description>&lt;div class="markdown_content"&gt;&lt;hr/&gt;
&lt;p&gt;title: Script header&lt;br/&gt;
permalink: /Script_header/&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;The &lt;a class="" href="/script_header" title="wikilink"&gt;script header&lt;/a&gt; is the first 15 or so lines of a script file that contain information identifying the script.&lt;/p&gt;
&lt;h2 id="example"&gt;Example&lt;/h2&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="c1"&gt;//===== rAthena Script =======================================&lt;/span&gt;
&lt;span class="c1"&gt;//= Warper&lt;/span&gt;
&lt;span class="c1"&gt;//===== By: ==================================================&lt;/span&gt;
&lt;span class="c1"&gt;//= Darkchild&lt;/span&gt;
&lt;span class="c1"&gt;//===== Current Version: =====================================&lt;/span&gt;
&lt;span class="c1"&gt;//= 2.1&lt;/span&gt;
&lt;span class="c1"&gt;//===== Compatible With: =====================================&lt;/span&gt;
&lt;span class="c1"&gt;//= rAthena SVN&lt;/span&gt;
&lt;span class="c1"&gt;//===== Description: =========================================&lt;/span&gt;
&lt;span class="c1"&gt;//= Generic warper...&lt;/span&gt;
&lt;span class="c1"&gt;//===== Additional Comments: =================================&lt;/span&gt;
&lt;span class="c1"&gt;//=&lt;/span&gt;
&lt;span class="c1"&gt;//============================================================&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h2 id="format"&gt;Format&lt;/h2&gt;
&lt;h3 id="script-name"&gt;Script Name&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;line 2: the name of the script&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;//===== rAthena Script =======================================&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= Warper&lt;/code&gt;&lt;/p&gt;
&lt;h3 id="author-name"&gt;Author Name&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;line 4: the name of the author&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;//===== By: ==================================================&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= Darkchild&lt;/code&gt;&lt;/p&gt;
&lt;h3 id="current-version"&gt;Current &lt;a class="" href="/wikipedia:Software_versioning" title="wikilink"&gt;Version&lt;/a&gt;&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;line 6: the current version of the script&lt;/li&gt;
&lt;li&gt;new scripts start at 1.0&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;//===== Current Version: =====================================&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= 1.0&lt;/code&gt;&lt;/p&gt;
&lt;h3 id="compatible-with"&gt;Compatible With&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;line 8: the SVN version of rAthena that this script is compatible with&lt;/li&gt;
&lt;li&gt;if unsure, put &lt;em&gt;rAthena SVN&lt;/em&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;//===== Compatible With: =====================================&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= rAthena SVN&lt;/code&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;if the script requires a script command or source modification that was recently added, indicate like so&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;//===== Compatible With: =====================================&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= rAthena SVN, revision 12345+&lt;/code&gt;&lt;/p&gt;
&lt;h3 id="description"&gt;Description&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;line 10: a short (one line) description of the script&lt;/li&gt;
&lt;li&gt;try to limit description to 3 lines max&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;//===== Description: =========================================&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= Generic warper...&lt;/code&gt;&lt;/p&gt;
&lt;h3 id="additional-comments"&gt;Additional Comments&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;line 12+: additional remarks about the script, for example: more description, list of variables it uses, special installation/configuration instructions&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;//===== Additional Comments: =================================&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//=&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//============================================================&lt;/code&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;this section can also be used to list &lt;a class="" href="/wikipedia:Changelog" title="wikilink"&gt;Changelog&lt;/a&gt; messages&lt;/li&gt;
&lt;li&gt;list them in numerical order, first at the top and last change at the bottom&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;//===== Additional Comments: =================================&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= 1.0 by Darkchild&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= 1.1 by jabs&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= 1.2 by Lupus (placement fixed in Amatsu)&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= 1.3 fixed Louyang label typo, added warp and WARPRA into&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//=     Nifleheim. Also sorted all names in alphabet order [Lupus]&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= 1.4 fixed morroc warp npc overlaying kafra [Aria]&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= 1.4a Added Ayothaya and Einbroch to list, and town Warpra's [Fredzilla]&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= 1.4b fixed Izlude warp npc overlaying BBS [Justin84]&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= 1.5 Added this NPC to more places [Lupus]&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= 1.6 Rewrote a lot. Changed the sprite, some locations. [Poki#3]&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= TODO Add an option for selecting the level of the dungeon. [Poki#3]&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= 1.7 Temporary? Added F_ClearGarbage to clear unused/outdated variables [Lupus]&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= 1.8 Removed Duplicates [Silent]&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= 1.9 Optimized for the greater good. [Kisuka]&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= 2.0 Fixed warp for AntHell and Yuno. [Kisuka]&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//= 2.1 Moved AntHell warp agent to the new anthell entrance. [brianluau]&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//============================================================&lt;/code&gt;&lt;/p&gt;
&lt;h2 id="other-guidelines"&gt;Other Guidelines&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Avoid using TABs in the script header because people use different text editors and their &lt;a class="" href="/wikipedia:Tab_key" title="wikilink"&gt;tab size&lt;/a&gt; might be different than yours.&lt;/li&gt;
&lt;li&gt;If you want text to line up vertically, uses spaces.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;//= 1.3 fixed Louyang label typo, added warp and WARPRA into&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//=     Nifleheim. Also sorted all names in alphabet order. [Lupus]&lt;/code&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Do &lt;strong&gt;not&lt;/strong&gt; leave unnecessary trailing TABs/spaces at the end of lines. (A space after a word in the middle of a sentence that is split over multiple lines is okay).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;code&gt;//= 1.3 fixed Louyang label typo, added warp and WARPRA into&lt;/code&gt;&lt;br/&gt;
&lt;code&gt;//=     Nifleheim. Also sorted all names in alphabet order. [Lupus]&lt;/code&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;If the script header is getting too long (more than 30 lines, or more than half your screen height), consider moving part or all of the Changelog from the &lt;a class="" href="/Script_header#Additional_Comments" title="wikilink"&gt;Additional Comments&lt;/a&gt; section to the bottom of the file.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a class="" href="/Category:RAthena" title="wikilink"&gt;Category:RAthena&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brynner</dc:creator><pubDate>Mon, 20 Feb 2023 05:00:17 -0000</pubDate><guid>https://sourceforge.net55ee29615e62b88f35412d3100add5eb92d8bab7</guid></item></channel></rss>