From ce39f7431b07728ea9e61e48728eb327c749402a Mon Sep 17 00:00:00 2001 From: thatakkarin Date: Thu, 29 Nov 2012 01:04:29 +0000 Subject: * 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 --- readme/scripting.html | 65 --------------------------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 readme/scripting.html (limited to 'readme/scripting.html') 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 @@ - - - - rAthena | Scripting - - - - -
- - - -
- How to create an NPC using rAthena's scripting:

- map_name,x_cord,y_cord,npc_facing_direction -TAB- script -TAB- NPC Name#HiddenName -TAB- Sprite ID,{
-    mes "[NPC Name]";
-    mes "Hello World";
-    close;
- }


- - Common Script Commands: -
    -
  • mes "<message>";
    - displays a line of text in an NPC's dialog window.
  • -
  • close;
    - displays a "Close" button in an NPC's dialog window. -
  • -
  • next;
    - displays a "Next" button in an NPC's dialog window. -
  • -
  • getitem <item id>,<amount>;
    - gives the player an item. -
  • -
  • delitem <item id>,<amount>;
    - deletes an item from the player. -
  • -
- Script Command Documentation:
- All the script commands in rAthena can be found here.

- How to enable your NPC: -
    -
  1. Save it as a text file in your /npc/custom/ folder.
  2. -
  3. Open /npc/scripts_custom.conf
  4. -
  5. Add the following line:
    - npc: npc/custom/name_of_your_text_file.txt
  6. -
  7. Save and close.
  8. -
-
- - -
- - -- cgit v1.2.3-70-g09d2