function onOpenProcess()
local mem1 = list.getMemoryRecordByDescription("Script Name (Description)1")
local mem2 = list.getMemoryRecordByDescription("Script Name (Description)2")
local mem3 = list.getMemoryRecordByDescription("Script Name (Description)3")
mem1.Active = true
mem2.Active = true
mem3.Active = true
end
-- or
Code:
local list = getAddressList()
function onOpenProcess1()
local mem1 = list.getMemoryRecordByDescription("Script Name (Description)1")
mem1.Active = true
end
function onOpenProcess2()
local mem2 = list.getMemoryRecordByDescription("Script Name (Description)2")
mem2.Active = true
end
local index=0
function onOpenProcessStart()
local timer = createTimer(nil, false)
timer.Interval = 500
timer.OnTimer = function(timer)
index=tonumber(index) + 1
if index==2 then onOpenProcess1() end
if index==4 then onOpenProcess2() end
if index==6 then timer.Enabled = false index=0 end
--timer.Destroy()
end
timer.Enabled = true
end
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum