Difference between revisions of "MaxWeight"

From Wiki
Jump to: navigation, search
(Example)
(Example)
Line 10: Line 10:
  
 
=== Example ===
 
=== Example ===
</pre>
+
<pre>
 
+
 
if #weight > #maxWeight
 
if #weight > #maxWeight
 
   display ok You are over weight!
 
   display ok You are over weight!

Revision as of 19:23, 16 August 2005

#maxWeight

Status System Variables

Description

The #maxWeight system variable determines the maximum weight of the character.

NOTE: This variable will not work unless the character status bar is open. You can use event Macro 8 2 to open it from your script.

Example

if #weight > #maxWeight
   display ok You are over weight!

See Also

#weight

Main_Page Documentation Status System Variables