Code: Select all
Progress1=3,5,64,50,255,50,${If[${Window[AdventureRequestWnd].Child[AdvRqst_RequestButton].Text.Equal["Leave Adventure"]},${If[${Window[AdventureRequestWnd].Child[AdvRqst_ProgressTextLabel]},Progress - ${Window[AdventureRequestWnd].Child[AdvRqst_ProgressTextLabel].Text} (${Window[AdventureRequestWnd].Child[AdvRqst_CompleteTimeLeftLabel].Text}),Time Left: ${Window[AdventureRequestWnd].Child[AdvRqst_CompleteTimeLeftLabel].Text}]} ${If[${SpawnCount[npc corpse]},${SpawnCount[npc corpse]} corpses,]},]}
