function cube_open(vnum)
cube_results = {}
cube_needs = {}
cube_results[20017] = "20019,1/20029,1/20039,1"
cube_needs[20017] = "39509,1&30517,1@39509,1&30518,1@39509,1&30519,1"
cmdchat("cube_npc_id "..vnum.."")
cmdchat("cs_result "..cube_results[vnum].."")
cmdchat("cs_need "..cube_needs[vnum].."")
command("cube open")
return
end
Weißt einer wie des Funktoniert