diff options
author | panikon <panikon@zoho.com> | 2014-03-20 19:09:58 -0300 |
---|---|---|
committer | panikon <panikon@zoho.com> | 2014-03-20 19:09:58 -0300 |
commit | 4acf44f9f74c9b1ef8153e711072769e708b7128 (patch) | |
tree | 4e12d5e3296f32eaefcd84bd9ba542150ce50786 /doc/script_commands.txt | |
parent | 0100bae77ee878e32be116bce33453b4da1b6e42 (diff) | |
parent | 4e73bda7d56db627d98608ba7b12711568766b79 (diff) | |
download | hercules-4acf44f9f74c9b1ef8153e711072769e708b7128.tar.gz hercules-4acf44f9f74c9b1ef8153e711072769e708b7128.tar.bz2 hercules-4acf44f9f74c9b1ef8153e711072769e708b7128.tar.xz hercules-4acf44f9f74c9b1ef8153e711072769e708b7128.zip |
Merge branch 'master' of http://github.com/HerculesWS/Hercules
Diffstat (limited to 'doc/script_commands.txt')
-rw-r--r-- | doc/script_commands.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/script_commands.txt b/doc/script_commands.txt index d1175413e..767aa5459 100644 --- a/doc/script_commands.txt +++ b/doc/script_commands.txt @@ -522,7 +522,9 @@ JobExp - Amount of job experience points. NextBaseExp - Amount of base experience points needed to reach next level. NextJobExp - Amount of job experience points needed to reach next level. Weight - Amount of weight the character currently carries. + Display as in Weight/10. MaxWeight - Maximum weight the character can carry. + Display as in MaxWeight/10. Sex - 0 if female, 1 if male. Class - Character's job. Upper - 0 if the character is normal class, 1 if advanced, 2 if baby. @@ -2376,6 +2378,11 @@ You can also use this command to get stat values. if (readparam(bVit) > 77) mes "Only people with over 77 Vit are reading this!"; +Example 3: + + // Display your current weight + mes "Your current weight is "+( Weight/10 )+"/"+( MaxWeight/10 ); + --------------------------------------- *getcharid(<type>{,"<character name>"}) |