Moderator: MacroQuest Developers
Code: Select all
sub gmcheck
/newif ${Spawn[gm].ID}<>"NULL" {
/echo Guide in zone bot ending.
/endm
}
/returnCode: Select all
/newif ${Bool[${Spawn[gm].ID}]} /echo GMbool Bool[text]: Make a bool object using text. Value is set to TRUE unless text is "NULL" "FALSE" or "0" (capitalization does not count)
Code: Select all
/newif ${Spawn[gm].ID} /echo Guide in zone bot ending.Code: Select all
/newif ${Bool[${Spawn[gm].ID}]} /echo GMCode: Select all
/newif ${Spawn[gm].ID}<>"NULL" { Code: Select all
/newif ${String[${Spawn[gm].ID}].NotEqual[NULL]} {Code: Select all
/newif ${Spawn[gm].ID} {stupid fucker, you need to turn on mq2data first. If you want to use MQ2Parm you need to use "$gm" or whatever instead.Still getting the /echo <whatever text here>
Code: Select all
/newif $gm {