menu channel {
Timer Starter Stopper:dialog -m tstop tstop
}
dialog tstop {
title ""
size -1 -1 104 162
option dbu
check "Timer 1", 1, 10 15 40 10
check "Timer 2", 2, 10 40 40 10
check "Timer 3", 3, 10 65 40 10
check "Timer 4", 4, 10 90 40 10
check "Timer 5", 5, 10 115 40 10
check "Timer 6", 6, 50 15 40 10
check "Timer 7", 7, 50 40 41 10
check "Timer 8", 8, 50 65 40 10
check "Timer 9", 9, 50 90 40 10
check "Timer 0", 10, 50 115 40 10
edit "", 11, 10 25 40 10, read
edit "", 12, 10 50 40 10, read
edit "", 13, 10 75 40 10, read
edit "", 14, 10 100 40 10, read
edit "", 15, 10 125 40 10, read
edit "", 16, 50 25 40 10, read
edit "", 17, 50 50 40 10, read
edit "", 18, 50 75 40 10, read
edit "", 19, 50 100 40 10, read
edit "", 20, 50 125 40 10, read
box "mIRC Event Timer Starter/Stopper", 21, 5 5 93 135
box "", 22, 48 139 50 20
icon 23, 6 143 16 16, C:\Program Files\mIRC\ShadowDemon\scripts\mircscripts.icl, 0
icon 24, 24 143 16 16, C:\Program Files\mIRC\ShadowDemon\scripts\mircscripts.icl, 6
button "Close", 25, 50 144 46 13, ok cancel
}
on 1:dialog:tstop:sclick:1: {
if ($did(1).state) .timer11 0 10 msg #sod test
else .timer11 off
}