Code: Select all
<option name="MAID_COUNT" value="4"/>
<option name="MAID_UNBRIDLED" value="Annie Haysley"/>Code: Select all
<!-- # 1 --><waypoint x="6" z="17" y="0">
-- In house, talk to Housekeeper, and leave house
local maid_ctr = settings.options.MAID_COUNT;
local maid_unbridled = settings.options.MAID_UNBRIDLED;
cprintf(cli.yellow, "Maid Count "..settings.options.MAID_COUNT.."\n")
cprintf(cli.yellow, "Maid Unbridled "..maid_unbridled.."\n)
. . .
I got an error on the above quote, with "attempt to concatenate field 'MAID_COUNT' (a nil value)"
Note, I tried both with local variable, or the settings bit directly.
Any suggestions on what am I missing?