whenFlag: Difference between revisions

From OpenKore Wiki
Jump to navigation Jump to search
mNo edit summary
(merge)
Line 1: Line 1:
; whenFlag [<name>]
; whenFlag [<name>]
: If this option is set, the block will only be used if a member of the %flags hash with the specified name is set. This is useful to enable or disable a group of block options easily.
: If this option is set, the block will only be used if a member of the '''%flags''' ('''%Globals::flags''') hash with the specified name is set. This is useful to enable or disable a group of block options easily.


'''''Note.''''' Currently, only plugins or the eval console command could change %flags so this is only useful to developers.
; whenNotFlag [<name>]
: If this option is set, the block will only be used if a member of the %flags hash with the specified name is not set. This is useful to enable or disable a group of block options easily.
 
== Notes ==
 
Currently, only plugins or the [[eval]] console command could change %flags so this is only useful to developers.


[[Category:Self Condition]]
[[Category:Self Condition]]

Revision as of 02:11, 9 January 2010

whenFlag [<name>]
If this option is set, the block will only be used if a member of the %flags (%Globals::flags) hash with the specified name is set. This is useful to enable or disable a group of block options easily.
whenNotFlag [<name>]
If this option is set, the block will only be used if a member of the %flags hash with the specified name is not set. This is useful to enable or disable a group of block options easily.

Notes

Currently, only plugins or the eval console command could change %flags so this is only useful to developers.