#### !count function for Lapper 5.714 #### ========================= #### If it works as expected, you should type !click (or !CLICK or !Click), and counter will begin #### Black button with READY in white letters. Should stay on screen for 3 seconds. #### This is to allow time for drivers to get prepared #### Then that button self closes, and a red button appears with black number 3 #### Red button closes......buttons close till you get to Yellow button with GO in green #### That stays on screen for 3 seconds - drivers with good reactions will get off quickly #### The button will stay on bit longer so drivers who weren't paying attention may still catch sight of it before it too disappears ##### BE AWARE - You may have to change colours - the combinations may be impossible to see for people that are colour blind #### ##################################################################################################### Register MsgAction("!count",MA_countbutton); Register MsgAction("!Count",MA_countbutton); Register MsgAction("!COUNT",MA_countbutton); Sub MA_countbutton() openGlobalButton( "yellow_go",84,70,20,50,1,9,0,"^3|"); # Yellow button will last for 8 seconds - will 'appear' when green button goes away openGlobalButton( "yellow_go1",86,70,20,50,1,9,0,"^3|"); openGlobalButton( "yellow_go2",88,70,20,50,1,9,0,"^3|"); openGlobalButton( "yellow_go3",90,70,20,50,1,9,0,"^3|"); openGlobalButton( "yellow_go4",92,70,20,50,1,9,0,"^3|"); openGlobalButton( "yellow_go5",94,70,20,50,1,9,0,"^3|"); openGlobalButton( "yellow_go6",96,70,20,50,1,9,0,"^3|"); openGlobalButton( "yellow_go7",98,70,20,50,1,9,0,"^3|"); openGlobalButton( "yellow_go8",100,70,20,50,1,9,0,"^3|"); openGlobalButton( "green_GO",92,78,20,40,5,9,0,"^2GO !"); # will show green 'GO' for further 3 seconds after green button goes off - this gives drivers time to react openGlobalButton( "green_1",84,70,20,50,1,6,0,"^2|"); # Green button on for 6 seconds - will 'appear' when blue button goes away openGlobalButton( "green_1a",86,70,20,50,1,6,0,"^2|"); openGlobalButton( "green_1b",88,70,20,50,1,6,0,"^2|"); openGlobalButton( "green_1c",90,70,20,50,1,6,0,"^2|"); openGlobalButton( "green_1d",92,70,20,50,1,6,0,"^2|"); openGlobalButton( "green_1e",94,70,20,50,1,6,0,"^2|"); openGlobalButton( "green_1f",96,70,20,50,1,6,0,"^2|"); openGlobalButton( "green_1g",98,70,20,50,1,6,0,"^2|"); openGlobalButton( "green_1h",100,70,20,50,1,6,0,"^2|"); openGlobalButton( "blue_1",92,78,20,40,5,6,0,"^41"); # will show blue number 1 on green button openGlobalButton( "blue_2a",84,70,20,50,1,5,0,"^4|"); # Blue button on for 5 seconds - will 'appear' when red button goes away openGlobalButton( "blue_2b",86,70,20,50,1,5,0,"^4|"); openGlobalButton( "blue_2c",88,70,20,50,1,5,0,"^4|"); openGlobalButton( "blue_2d",90,70,20,50,1,5,0,"^4|"); openGlobalButton( "blue_2e",92,70,20,50,1,5,0,"^4|"); openGlobalButton( "blue_2f",94,70,20,50,1,5,0,"^4|"); openGlobalButton( "blue_2g",96,70,20,50,1,5,0,"^4|"); openGlobalButton( "blue_2h",98,70,20,50,1,5,0,"^4|"); openGlobalButton( "blue_2i",100,70,20,50,1,5,0,"^4|"); openGlobalButton( "red_2",92,78,20,40,5,5,0,"^12"); # will show red number 2 on blue button openGlobalButton( "red_3a",84,70,20,50,1,4,0,"^1|"); # Red button on for 4 seconds - will 'appear' when black button goes away openGlobalButton( "red_3b",86,70,20,50,1,4,0,"^1|"); openGlobalButton( "red_3c",88,70,20,50,1,4,0,"^1|"); openGlobalButton( "red_3d",90,70,20,50,1,4,0,"^1|"); openGlobalButton( "red_3e",92,70,20,50,1,4,0,"^1|"); openGlobalButton( "red_3f",94,70,20,50,1,4,0,"^1|"); openGlobalButton( "red_3g",96,70,20,50,1,4,0,"^1|"); openGlobalButton( "red_3h",98,70,20,50,1,4,0,"^1|"); openGlobalButton( "red_3i",100,70,20,50,1,4,0,"^1|"); openGlobalButton( "black_3",92,78,20,40,5,4,0,"^03"); # will show black number 3 on red button openGlobalButton( "black_1a",84,70,20,50,1,3,0,"^1|"); # Black button on for 3 seconds - to give drivers short time to prepare openGlobalButton( "black_1b",86,70,20,50,1,3,0,"^1|"); openGlobalButton( "black_1c",88,70,20,50,1,3,0,"^1|"); openGlobalButton( "black_1d",90,70,20,50,1,3,0,"^1|"); openGlobalButton( "black_1e",92,70,20,50,1,3,0,"^1|"); openGlobalButton( "black_1f",94,70,20,50,1,3,0,"^1|"); openGlobalButton( "black_1g",96,70,20,50,1,3,0,"^1|"); openGlobalButton( "black_1h",98,70,20,50,1,3,0,"^1|"); openGlobalButton( "black_1i",100,70,20,50,1,3,0,"^1|"); openGlobalButton( "white_ready",92,78,20,40,5,3,0,"^7R E A D Y"); # will show white 'READY' on black button - will be on for 3 seconds to give drivers short time to prepare EndSub