Difference between revisions of "Gold"

From Wiki
Jump to: navigation, search
m (#gold)
Line 7: Line 7:
 
The #gold system variable determines the amount of gold on the character.
 
The #gold system variable determines the amount of gold on the character.
  
'''NOTE:'''
+
''NOTE: This variable will not work unless the character status bar is open. You can use [[event Macro#Gump Control|event Macro 8 2]] to open it from your script.''
*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 ====
 
==== Example ====

Revision as of 15:06, 16 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