"purchase_timer": type: world debug: minimal events: on system time minutely: - if == 0 queue clear - foreach { - narrate target: "<&6>2분마다 실행함" } - run warehouse_Purchase_start on npc flag timeout expires: - foreach { - narrate target: "<&6>flag 만료" } - run warehouse_Purchase_start on reload scripts: - wait 5t - foreach { - define flagged_npc } - bossbar remove test_bar - bossbar create test_bar players: "title:HI GUYS" color:red progress:0.2 on system time minutely: - wait 5t - bossbar update test_bar progress:.flag[timeout].duration.in_second>/60> warehouse_Purchase_start: type: task debug: minimal script: - foreach { - narrate target: "< > " - narrate target: "" - narrate target: "" - define target } - foreach { - flag total_limit:100000 - flag timeout: duration:50s - flag purchase: - narrate target: "" - narrate target: "" }