In die Input-Felder kann gibt man einfach Questname, Flagname und Wert ein und schon setzt ihr den Questflag neu.
PHP Code:
quest setflags begin
state start begin
when 20355.chat."Set the states" with pc.name == "[Sensenmann]" begin
say("quest?")
local whichquest = input()
say("questflag?")
local whichflag = input()
say("wert?")
local towhat = input()
if whichquest != "" and whichflag != "" and towhat != "" then
pc.setf(whichquest, whichflag, tonumber(towhat))
say("gesetzt!")
else
say("stopped")
end
end
end
end






