Task Flags
http://www.aardwolf.com/lua/lua-mud-goals.html
Part 1:
*make sure the task you're setting is OPEN
- set the flag to on/off 0 = off 1 = on
taskflag(ch,goal#,task#,hint#,0/1)
Part 2:
- check the flags status
if taskflag(ch,goal#,task#,hint#) == 0/1 then