Difference between revisions of "MaxWeight"

From Wiki
Jump to: navigation, search
(Example)
Line 11: Line 11:
 
=== 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 18:22, 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

</pre>

if #weight > #maxWeight

  display ok You are over weight!

</pre>

See Also

#weight

Main_Page Documentation Status System Variables