- {l Code}: {l Select All Code}
guicheckbox showradar 1 0 [ ... ]
My code:
- {l Code}: {l Select All Code}
// name variable on off action
guicheckbox2 = [
if (|| (= $$arg2 $arg3) (= $$arg2 $arg4))
[guicheckbox "egg" @arg2 @arg3 @arg4 []]
[guibutton "egg" [] "question"]
]
Usage:
- {l Code}: {l Select All Code}
guicheckbox2 showradar 1 0
The problem is, when I try it on real menu, it says: "Unknown command [guicheckbox "egg" showradar 1 0 []". This command is perfectly valid and works when I paste it directly in the menu. What's wrong with my code?