summaryrefslogtreecommitdiff
path: root/doc/whisper_sys.txt
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-27 02:26:35 +0000
committereuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-08-27 02:26:35 +0000
commit4f1efdf474a048cf3aa4c2830b7036ee21d7e2ea (patch)
tree18d212cc2fc67bdd0b62b88b574339e0779995c2 /doc/whisper_sys.txt
parent5c235153270091301d7d344c531d40e9f9638114 (diff)
downloadhercules-4f1efdf474a048cf3aa4c2830b7036ee21d7e2ea.tar.gz
hercules-4f1efdf474a048cf3aa4c2830b7036ee21d7e2ea.tar.bz2
hercules-4f1efdf474a048cf3aa4c2830b7036ee21d7e2ea.tar.xz
hercules-4f1efdf474a048cf3aa4c2830b7036ee21d7e2ea.zip
* Standardization in some database files, and other minor cleaning
* Disabled Ash Vacuum Warper since it's no longer in iRO - fixes bugreport:6560 (quests\quests_13_1.txt) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16709 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'doc/whisper_sys.txt')
-rw-r--r--doc/whisper_sys.txt17
1 files changed, 8 insertions, 9 deletions
diff --git a/doc/whisper_sys.txt b/doc/whisper_sys.txt
index e9353de75..115712eea 100644
--- a/doc/whisper_sys.txt
+++ b/doc/whisper_sys.txt
@@ -14,7 +14,7 @@ This piece of code to allows characters to execute events in NPCs by whispering
them up to ten parameters. The NPC must have an "OnWhisperGlobal" label, or an
"event not found" error will result.
- NPC:<NPC Name> <String>{#String 2{#...{#String 10}}}
+ NPC:<NPC Name> <String>{#String 2{#...{#String 10}}}
The whispered strings are separated by the "#" character, and are each stored
into separate temporary character string variables:
@@ -31,11 +31,10 @@ You whisper an NPC "NPCCommander" in-game with the following instructions:
The parameters are passed on to the "OnWhisperGlobal" label of the NPC, and can
be processed accordingly:
- - script NPCCommander -1,{
- OnWhisperGlobal:
- // The following code will inform player "Lordalfa" that he has been
- // reported for killstealing.
- if (@whispervar0$ == "Report")
- message @whispervar2$,"You have been reported for "+@whispervar1$+".";
- end;
- } \ No newline at end of file
+- script NPCCommander -1,{
+OnWhisperGlobal:
+ // Inform player "Lordalfa" that he has been reported for killstealing.
+ if (@whispervar0$ == "Report")
+ message @whispervar2$,"You have been reported for "+@whispervar1$+".";
+ end;
+} \ No newline at end of file