Code:
quest ***** begin
state start begin
when *****.use begin
if pc.getqf("*****") == 1 then
affect.remove_collect(apply.******)
pc.setqf("*****", 0)
else
affect.add_collect(apply.******)
pc.setqf("*****", 1)
syschat("Der Ring ist aktiv!")
end
end
end
end
Unordentlich, aber sollte es dir zeigen.