summaryrefslogtreecommitdiff
path: root/readme/scripting.html
diff options
context:
space:
mode:
authorthatakkarin <thatakkarin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-29 01:04:29 +0000
committerthatakkarin <thatakkarin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-11-29 01:04:29 +0000
commitce39f7431b07728ea9e61e48728eb327c749402a (patch)
tree728d5b4c415ec3006192fa383ae02e2f70853a40 /readme/scripting.html
parentc0a502a3b0aef10cb393111ba0c907971d24d477 (diff)
downloadhercules-ce39f7431b07728ea9e61e48728eb327c749402a.tar.gz
hercules-ce39f7431b07728ea9e61e48728eb327c749402a.tar.bz2
hercules-ce39f7431b07728ea9e61e48728eb327c749402a.tar.xz
hercules-ce39f7431b07728ea9e61e48728eb327c749402a.zip
* Removed readme html files and replaced with README.txt after looking at the poll on tid:71432 - there was nothing in the ~600kb that couldn't be summed up in ~8kb. The poll suggested no one really used them, so they're not staying.
* Changed readme file to .txt for easy viewing on both *nix and Windows OS's. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16976 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'readme/scripting.html')
-rw-r--r--readme/scripting.html65
1 files changed, 0 insertions, 65 deletions
diff --git a/readme/scripting.html b/readme/scripting.html
deleted file mode 100644
index 0218464b3..000000000
--- a/readme/scripting.html
+++ /dev/null
@@ -1,65 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<html>
- <head>
- <title>rAthena | Scripting</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <link rel="stylesheet" type="text/css" href="style.css">
- </head>
- <body>
- <div id="template">
- <div id="header">
- <div class="logo">rAthena<br><span class="subtitle">- RAGNAROK Online Server Emulator</span></div>
- <div class="title">Scripting</div>
- </div>
- <div id="navcontainer">
- <ul id="navlist">
- <li><a href="../readme.html">Intro</a></li>
- <li><a href="setup.html">Setup</a></li>
- <li><a href="faq.html">FAQ</a></li>
- <li><a href="scripting.html">Scripting</a></li>
- <li><a href="commands.html">GM Commands</a></li>
- <li><a href="resources.html">Resources</a></li>
- </ul>
- </div>
-
- <div class="body-container">
- How to create an NPC using rAthena's scripting:<br><br>
- <code><font color="#0000FF">map_name</font>,<font color="#009900">x_cord</font>,<font color="#0CF305">y_cord</font>,<font color="#FF0000">npc_facing_direction</font> <strong>-TAB-</strong> script <strong>-TAB-</strong> <font color="#FF6600">NPC Name</font>#<font color="#FFCC00">HiddenName</font> <strong>-TAB-</strong> <font color="#CC3399">Sprite ID</font>,{<br>
- &nbsp;&nbsp;&nbsp;mes "[NPC Name]";<br>
- &nbsp;&nbsp;&nbsp;mes "Hello World";<br>
- &nbsp;&nbsp;&nbsp;close;<br>
- }</code><br><br>
-
- <strong>Common Script Commands:</strong>
- <ul>
- <li><strong>mes &quot;&lt;message&gt;&quot;;</strong><br>
- displays a line of text in an NPC's dialog window.</li>
- <li><strong>close;</strong><br>
- displays a &quot;Close&quot; button in an NPC's dialog window.
- </li>
- <li><strong>next;</strong><br>
- displays a &quot;Next&quot; button in an NPC's dialog window.
- </li>
- <li><strong>getitem &lt;item id&gt;,&lt;amount&gt;;</strong><br>
- gives the player an item.
- </li>
- <li><strong>delitem &lt;item id&gt;,&lt;amount&gt;;</strong><br>
- deletes an item from the player.
- </li>
- </ul>
- <strong>Script Command Documentation:</strong><br>
- All the script commands in rAthena can be found <a href="../doc/script_commands.txt" target="_new">here</a>.<br><br>
- <strong>How to enable your NPC:</strong>
- <ol>
- <li>Save it as a text file in your /npc/custom/ folder.</li>
- <li>Open /npc/scripts_custom.conf</li>
- <li>Add the following line:<br>
- <code>npc: npc/custom/name_of_your_text_file.txt</code></li>
- <li>Save and close.</li>
- </ol>
- </div>
-
- <div id="footer">"Read Me" Created &amp; Designed by <a href="http://www.kisuka.com" target="_new">Kisuka</a></div>
- </div>
- </body>
-</html>