summaryrefslogtreecommitdiff
path: root/doc/script_commands.txt
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-08-18 23:32:03 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-08-18 23:32:03 +0000
commitfe89d7ef6e558134e58c95ddcbbe9f4f362c4119 (patch)
treeada7b26e307ecdf54e16d3be3554be5c454f9f5f /doc/script_commands.txt
parent480fd5dec044c10579f0e9b5b24ce92a5b38fc7d (diff)
downloadhercules-fe89d7ef6e558134e58c95ddcbbe9f4f362c4119.tar.gz
hercules-fe89d7ef6e558134e58c95ddcbbe9f4f362c4119.tar.bz2
hercules-fe89d7ef6e558134e58c95ddcbbe9f4f362c4119.tar.xz
hercules-fe89d7ef6e558134e58c95ddcbbe9f4f362c4119.zip
- Fixed some small typos.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14382 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r--doc/script_commands.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt
index 06a5a7121..f235d7563 100644
--- a/doc/script_commands.txt
+++ b/doc/script_commands.txt
@@ -5094,14 +5094,14 @@ invoked by the RID that was active in the script that issued a 'doevent'.
place,100,100,1%TAB%script%TAB%NPC%TAB%53,{
mes "This is what you will see when you click me";
close;
- Label:
+ OnLabel:
mes "This is what you will see if the doevent is activated";
close;
}
....
- doevent "NPC::Label";
+ doevent "NPC::OnLabel";
---------------------------------------
@@ -5126,20 +5126,20 @@ something.
place,100,100,1%TAB%script%TAB%NPC%TAB%53,{
mes "Hey NPC2 copy what I do";
close2;
- set @emo, rand(1,30);
- donpcevent "NPC2::Emo";
- Emo:
- emotion @emo;
+ set .@emote, rand(1,30);
+ donpcevent "NPC2::OnEmote";
+ OnEmote:
+ emotion .@emote;
end;
}
place,102,100,1%TAB%script%TAB%NPC2%TAB%53,{
mes "Hey NPC copy what I do";
close2;
- set @emo, rand(1,30);
- donpcevent "NPC::Emo";
- Emo:
- emotion @emo;
+ set .@emote, rand(1,30);
+ donpcevent "NPC::OnEmote";
+ OnEmote:
+ emotion .@emote;
end;
}