Difference between revisions of "Gold"

From Wiki
Jump to: navigation, search
 
Line 5: Line 5:
 
{{ro}}
 
{{ro}}
  
==== Example ====
+
The #gold system variable determines the amount of gold on the character.
<pre>
+
  
 +
'''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 #gold < 1000
 +
gosub gotoBank
 +
...
 
</pre>
 
</pre>
 
==== See Also ====
 
==== See Also ====

Revision as of 23:48, 15 August 2005

#gold

Status System Variables

Description

The #gold system variable determines the amount of gold on 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 #gold < 1000
gosub gotoBank
...

See Also


Main_Page Documentation Status System Variables