# Schedule_set V1.01 12-02-12 Initial release # # Schedule_set V1.02 20-02-12 Added multiple server options # # Schedule_set V1.03 25-02-12 Polished loading code # # Schedule_set V1.03b 26-02-12 Fixed a minor bug in close # ######################################################################### CatchEvent OnLapperStart() OnLapperStart_Set_Schedule(); EndCatchEvent CatchEvent OnMSO( $userName, $text ) # Player event $idxOfFirtsSpace = indexOf( $text, " "); IF( $idxOfFirtsSpace == -1 ) THEN $command = $text; $argv = ""; ELSE $command = subStr( $text,0,$idxOfFirtsSpace ); $argv = trim( subStr( $text,$idxOfFirtsSpace ) ); ENDIF SWITCH( $command ) CASE "!set_schedule": IF( UserInGroup( "admin", $userName ) == 1 ) THEN Set_Schedule( $KeyFlags ); ELSE PrivMsg( "^1You are not allowed to do that"); ENDIF BREAK; ENDSWITCH EndCatchEvent Sub OnLapperStart_Set_Schedule() ### Declare variables Schedule #### GlobalVar $check_load; GlobalVar $date_1; GlobalVar $date_2; GlobalVar $date_3; GlobalVar $date_4; GlobalVar $date_5; GlobalVar $date_6; GlobalVar $date_7; GlobalVar $date_8; GlobalVar $date_9; GlobalVar $date_10; GlobalVar $date_11; GlobalVar $date_12; GlobalVar $date_13; GlobalVar $date_14; GlobalVar $time_1; GlobalVar $time_2; GlobalVar $time_3; GlobalVar $time_4; GlobalVar $time_5; GlobalVar $time_6; GlobalVar $time_7; GlobalVar $time_8; GlobalVar $time_9; GlobalVar $time_10; GlobalVar $time_11; GlobalVar $time_12; GlobalVar $time_13; GlobalVar $time_14; GlobalVar $track_1; GlobalVar $track_2; GlobalVar $track_3; GlobalVar $track_4; GlobalVar $track_5; GlobalVar $track_6; GlobalVar $track_7; GlobalVar $track_8; GlobalVar $track_9; GlobalVar $track_10; GlobalVar $track_11; GlobalVar $track_12; GlobalVar $track_13; GlobalVar $track_14; GlobalVar $cars_1; GlobalVar $cars_2; GlobalVar $cars_3; GlobalVar $cars_4; GlobalVar $cars_5; GlobalVar $cars_6; GlobalVar $cars_7; GlobalVar $cars_8; GlobalVar $cars_9; GlobalVar $cars_10; GlobalVar $cars_11; GlobalVar $cars_12; GlobalVar $cars_13; GlobalVar $cars_14; GlobalVar $laps_1; GlobalVar $laps_2; GlobalVar $laps_3; GlobalVar $laps_4; GlobalVar $laps_5; GlobalVar $laps_6; GlobalVar $laps_7; GlobalVar $laps_8; GlobalVar $laps_9; GlobalVar $laps_10; GlobalVar $laps_11; GlobalVar $laps_12; GlobalVar $laps_13; GlobalVar $laps_14; GlobalVar $comment_1; GlobalVar $comment_2; GlobalVar $comment_3; GlobalVar $comment_4; GlobalVar $comment_5; GlobalVar $comment_6; GlobalVar $comment_7; GlobalVar $comment_8; GlobalVar $comment_9; GlobalVar $comment_10; GlobalVar $comment_11; GlobalVar $comment_12; GlobalVar $comment_13; GlobalVar $comment_14; GlobalVar $password_1; GlobalVar $password_2; GlobalVar $password_3; GlobalVar $password_4; GlobalVar $password_5; GlobalVar $password_6; GlobalVar $password_7; GlobalVar $password_8; GlobalVar $password_9; GlobalVar $password_10; GlobalVar $password_11; GlobalVar $password_12; GlobalVar $password_13; GlobalVar $password_14; GlobalVar $server_name_schedule; GlobalVar $server_name_1; GlobalVar $server_name_2; GlobalVar $server_name_3; GlobalVar $server_name_4; GlobalVar $server_name_5; GlobalVar $server_name_6; GlobalVar $server_name_7; GlobalVar $server_name_8; ### End ### ### Create variables Schedule ### $check_load = "yes"; $date_1 = ""; $date_2 = ""; $date_3 = ""; $date_4 = ""; $date_5 = ""; $date_6 = ""; $date_7 = ""; $date_8 = ""; $date_9 = ""; $date_10 = ""; $date_11 = ""; $date_12 = ""; $date_13 = ""; $date_14 = ""; $time_1 = ""; $time_2 = ""; $time_3 = ""; $time_4 = ""; $time_5 = ""; $time_6 = ""; $time_7 = ""; $time_8 = ""; $time_9 = ""; $time_10 = ""; $time_11 = ""; $time_12 = ""; $time_13 = ""; $time_14 = ""; $track_1 = ""; $track_2 = ""; $track_3 = ""; $track_4 = ""; $track_5 = ""; $track_6 = ""; $track_7 = ""; $track_8 = ""; $track_9 = ""; $track_10 = ""; $track_11 = ""; $track_12 = ""; $track_13 = ""; $track_14 = ""; $cars_1 = ""; $cars_2 = ""; $cars_3 = ""; $cars_4 = ""; $cars_5 = ""; $cars_6 = ""; $cars_7 = ""; $cars_8 = ""; $cars_9 = ""; $cars_10 = ""; $cars_11 = ""; $cars_12 = ""; $cars_13 = ""; $cars_14 = ""; $laps_1 = ""; $laps_2 = ""; $laps_3 = ""; $laps_4 = ""; $laps_5 = ""; $laps_6 = ""; $laps_7 = ""; $laps_8 = ""; $laps_9 = ""; $laps_10 = ""; $laps_11 = ""; $laps_12 = ""; $laps_13 = ""; $laps_14 = ""; $comment_1 = ""; $comment_2 = ""; $comment_3 = ""; $comment_4 = ""; $comment_5 = ""; $comment_6 = ""; $comment_7 = ""; $comment_8 = ""; $comment_9 = ""; $comment_10 = ""; $comment_11 = ""; $comment_12 = ""; $comment_13 = ""; $comment_14 = ""; $password_1 = ""; $password_2 = ""; $password_3 = ""; $password_4 = ""; $password_5 = ""; $password_6 = ""; $password_7 = ""; $password_8 = ""; $password_9 = ""; $password_10 = ""; $password_11 = ""; $password_12 = ""; $password_13 = ""; $password_14 = ""; $server_name_schedule = ""; $server_name_1 = ""; $server_name_2 = ""; $server_name_3 = ""; $server_name_4 = ""; $server_name_5 = ""; $server_name_6 = ""; $server_name_7 = ""; $server_name_8 = ""; ### End ### EndSub Sub Set_Schedule ( $KeyFlags ) ### Set server_name and storage_name ### IF ($server_name_schedule == "") THEN $server_name_schedule = getLapperVar( "HostName" ); #writeline ($server_name_schedule); ENDIF $storage_name = "SCHEDULE_".$server_name_schedule; ### End ### #writeline ($storage_name); #writeline ($check_load); IF ($check_load == "yes") THEN $server_name_1 = GetStoredValue( "SERVER_NAME_1" . "server_name_1" ); $server_name_2 = GetStoredValue( "SERVER_NAME_2" . "server_name_2" ); $server_name_3 = GetStoredValue( "SERVER_NAME_3" . "server_name_3" ); $server_name_4 = GetStoredValue( "SERVER_NAME_4" . "server_name_4" ); $server_name_5 = GetStoredValue( "SERVER_NAME_5" . "server_name_5" ); $server_name_6 = GetStoredValue( "SERVER_NAME_6" . "server_name_6" ); $server_name_7 = GetStoredValue( "SERVER_NAME_7" . "server_name_7" ); $server_name_8 = GetStoredValue( "SERVER_NAME_8" . "server_name_8" ); $date_1 = GetStoredValue( $storage_name . "date_1" ); $time_1 = GetStoredValue( $storage_name . "time_1" ); $track_1 = GetStoredValue( $storage_name . "track_1" ); $cars_1 = GetStoredValue( $storage_name . "cars_1" ); $laps_1 = GetStoredValue( $storage_name . "laps_1" ); $comment_1 = GetStoredValue( $storage_name . "comment_1" ); $password_1 = GetStoredValue( $storage_name . "password_1" ); $date_2 = GetStoredValue( $storage_name . "date_2" ); $time_2 = GetStoredValue( $storage_name . "time_2" ); $track_2 = GetStoredValue( $storage_name . "track_2" ); $cars_2 = GetStoredValue( $storage_name . "cars_2" ); $laps_2 = GetStoredValue( $storage_name . "laps_2" ); $comment_2 = GetStoredValue( $storage_name . "comment_2" ); $password_2 = GetStoredValue( $storage_name . "password_2" ); $date_3 = GetStoredValue( $storage_name . "date_3" ); $time_3 = GetStoredValue( $storage_name . "time_3" ); $track_3 = GetStoredValue( $storage_name . "track_3" ); $cars_3 = GetStoredValue( $storage_name . "cars_3" ); $laps_3 = GetStoredValue( $storage_name . "laps_3" ); $comment_3 = GetStoredValue( $storage_name . "comment_3" ); $password_3 = GetStoredValue( $storage_name . "password_3" ); $date_4 = GetStoredValue( $storage_name . "date_4" ); $time_4 = GetStoredValue( $storage_name . "time_4" ); $track_4 = GetStoredValue( $storage_name . "track_4" ); $cars_4 = GetStoredValue( $storage_name . "cars_4" ); $laps_4 = GetStoredValue( $storage_name . "laps_4" ); $comment_4 = GetStoredValue( $storage_name . "comment_4" ); $password_4 = GetStoredValue( $storage_name . "password_4" ); $date_5 = GetStoredValue( $storage_name . "date_5" ); $time_5 = GetStoredValue( $storage_name . "time_5" ); $track_5 = GetStoredValue( $storage_name . "track_5" ); $cars_5 = GetStoredValue( $storage_name . "cars_5" ); $laps_5 = GetStoredValue( $storage_name . "laps_5" ); $comment_5 = GetStoredValue( $storage_name . "comment_5" ); $password_5 = GetStoredValue( $storage_name . "password_5" ); $date_6 = GetStoredValue( $storage_name . "date_6" ); $time_6 = GetStoredValue( $storage_name . "time_6" ); $track_6 = GetStoredValue( $storage_name . "track_6" ); $cars_6 = GetStoredValue( $storage_name . "cars_6" ); $laps_6 = GetStoredValue( $storage_name . "laps_6" ); $comment_6 = GetStoredValue( $storage_name . "comment_6" ); $password_6 = GetStoredValue( $storage_name . "password_6" ); $date_7 = GetStoredValue( $storage_name . "date_7" ); $time_7 = GetStoredValue( $storage_name . "time_7" ); $track_7 = GetStoredValue( $storage_name . "track_7" ); $cars_7 = GetStoredValue( $storage_name . "cars_7" ); $laps_7 = GetStoredValue( $storage_name . "laps_7" ); $comment_7 = GetStoredValue( $storage_name . "comment_7" ); $password_7 = GetStoredValue( $storage_name . "password_7" ); $date_8 = GetStoredValue( $storage_name . "date_8" ); $time_8 = GetStoredValue( $storage_name . "time_8" ); $track_8 = GetStoredValue( $storage_name . "track_8" ); $cars_8 = GetStoredValue( $storage_name . "cars_8" ); $laps_8 = GetStoredValue( $storage_name . "laps_8" ); $comment_8 = GetStoredValue( $storage_name . "comment_8" ); $password_8 = GetStoredValue( $storage_name . "password_8" ); $date_9 = GetStoredValue( $storage_name . "date_9" ); $time_9 = GetStoredValue( $storage_name . "time_9" ); $track_9 = GetStoredValue( $storage_name . "track_9" ); $cars_9 = GetStoredValue( $storage_name . "cars_9" ); $laps_9 = GetStoredValue( $storage_name . "laps_9" ); $comment_9 = GetStoredValue( $storage_name . "comment_9" ); $password_9 = GetStoredValue( $storage_name . "password_9" ); $date_10 = GetStoredValue( $storage_name . "date_10" ); $time_10 = GetStoredValue( $storage_name . "time_10" ); $track_10 = GetStoredValue( $storage_name . "track_10" ); $cars_10 = GetStoredValue( $storage_name . "cars_10" ); $laps_10 = GetStoredValue( $storage_name . "laps_10" ); $comment_10 = GetStoredValue( $storage_name . "comment_10" ); $password_10 = GetStoredValue( $storage_name . "password_10" ); $date_11 = GetStoredValue( $storage_name . "date_11" ); $time_11 = GetStoredValue( $storage_name . "time_11" ); $track_11 = GetStoredValue( $storage_name . "track_11" ); $cars_11 = GetStoredValue( $storage_name . "cars_11" ); $laps_11 = GetStoredValue( $storage_name . "laps_11" ); $comment_11 = GetStoredValue( $storage_name . "comment_11" ); $password_11 = GetStoredValue( $storage_name . "password_11" ); $date_12 = GetStoredValue( $storage_name . "date_12" ); $time_12 = GetStoredValue( $storage_name . "time_12" ); $track_12 = GetStoredValue( $storage_name . "track_12" ); $cars_12 = GetStoredValue( $storage_name . "cars_12" ); $laps_12 = GetStoredValue( $storage_name . "laps_12" ); $comment_12 = GetStoredValue( $storage_name . "comment_12" ); $password_12 = GetStoredValue( $storage_name . "password_12" ); $date_13 = GetStoredValue( $storage_name . "date_13" ); $time_13 = GetStoredValue( $storage_name . "time_13" ); $track_13 = GetStoredValue( $storage_name . "track_13" ); $cars_13 = GetStoredValue( $storage_name . "cars_13" ); $laps_13 = GetStoredValue( $storage_name . "laps_13" ); $comment_13 = GetStoredValue( $storage_name . "comment_13" ); $password_13 = GetStoredValue( $storage_name . "password_13" ); $date_14 = GetStoredValue( $storage_name . "date_14" ); $time_14 = GetStoredValue( $storage_name . "time_14" ); $track_14 = GetStoredValue( $storage_name . "track_14" ); $cars_14 = GetStoredValue( $storage_name . "cars_14" ); $laps_14 = GetStoredValue( $storage_name . "laps_14" ); $comment_14 = GetStoredValue( $storage_name . "comment_14" ); $password_14 = GetStoredValue( $storage_name . "password_14" ); privMsg ("^7Schedule loaded" ); $check_load="no"; ENDIF ### Set initial values for left/right and top/bottom coordinates ### $left_right_schedule = 1; $top_bottom_schedule = 30; ### End ### ### Draw the Schedule GUI ### openPrivButton( "schedule_gui_bg",$left_right_schedule,$top_bottom_schedule,192,138,5,-1,16,""); openPrivButton( "schedule_title",$left_right_schedule+1,$top_bottom_schedule+1,95,5,5,-1,32,"^7Schedule system V1.03b" ); openPrivButton( "schedule_server_name",$left_right_schedule+96,$top_bottom_schedule+1,95,5,5,-1,32,"^7Server name: " . getLapperVar( "HostName" ) ); openPrivButton( "schedule_server_name_1",$left_right_schedule+1,$top_bottom_schedule+11,20,5,5,-1,32,"^2Server name 1" ); IF ( $server_name_1 == "") THEN openPrivTextButton( "schedule_server_name_1_input",$left_right_schedule+21,$top_bottom_schedule+11,60,5,5,32,"^3Server name 1","^3Click to set",40,config_server_name_1 ); ELSE openPrivTextButton( "schedule_server_name_1_input",$left_right_schedule+21,$top_bottom_schedule+11,60,5,5,32,"^3Server name 1","^3".$server_name_1,40,config_server_name_1 ); ENDIF IF ( $server_name_1 == $server_name_schedule) THEN openPrivButton( "schedule_server_name_1_activate",$left_right_schedule+81,$top_bottom_schedule+11,15,5,5,-1,32,"^2LOADED" ); ELSE openPrivButton( "schedule_server_name_1_activate",$left_right_schedule+81,$top_bottom_schedule+11,15,5,5,-1,32,"^3LOAD",activate_server_name_1 ); ENDIF openPrivButton( "schedule_server_name_2",$left_right_schedule+96,$top_bottom_schedule+11,20,5,5,-1,32,"^2Server name 2" ); IF ( $server_name_2 == "") THEN openPrivTextButton( "schedule_server_name_2_input",$left_right_schedule+116,$top_bottom_schedule+11,60,5,5,32,"^3Server name 2","^3Click to set",40,config_server_name_2 ); ELSE openPrivTextButton( "schedule_server_name_2_input",$left_right_schedule+116,$top_bottom_schedule+11,60,5,5,32,"^3Server name 2","^3".$server_name_2,40,config_server_name_2 ); ENDIF IF ( $server_name_2 == $server_name_schedule) THEN openPrivButton( "schedule_server_name_2_activate",$left_right_schedule+176,$top_bottom_schedule+11,15,5,5,-1,32,"^2LOADED" ); ELSE openPrivButton( "schedule_server_name_2_activate",$left_right_schedule+176,$top_bottom_schedule+11,15,5,5,-1,32,"^3LOAD",activate_server_name_2 ); ENDIF openPrivButton( "schedule_server_name_3",$left_right_schedule+1,$top_bottom_schedule+16,20,5,5,-1,32,"^2Server name 3" ); IF ( $server_name_3 == "") THEN openPrivTextButton( "schedule_server_name_3_input",$left_right_schedule+21,$top_bottom_schedule+16,60,5,5,32,"^3Server name 3","^3Click to set",40,config_server_name_3 ); ELSE openPrivTextButton( "schedule_server_name_3_input",$left_right_schedule+21,$top_bottom_schedule+16,60,5,5,32,"^3Server name 3","^3".$server_name_3,40,config_server_name_3 ); ENDIF IF ( $server_name_3 == $server_name_schedule) THEN openPrivButton( "schedule_server_name_3_activate",$left_right_schedule+81,$top_bottom_schedule+16,15,5,5,-1,32,"^2LOADED" ); ELSE openPrivButton( "schedule_server_name_3_activate",$left_right_schedule+81,$top_bottom_schedule+16,15,5,5,-1,32,"^3LOAD",activate_server_name_3 ); ENDIF openPrivButton( "schedule_server_name_4",$left_right_schedule+96,$top_bottom_schedule+16,20,5,5,-1,32,"^2Server name 4" ); IF ( $server_name_4 == "") THEN openPrivTextButton( "schedule_server_name_4_input",$left_right_schedule+116,$top_bottom_schedule+16,60,5,5,32,"^3Server name 4","^3Click to set",40,config_server_name_4 ); ELSE openPrivTextButton( "schedule_server_name_4_input",$left_right_schedule+116,$top_bottom_schedule+16,60,5,5,32,"^3Server name 4","^3".$server_name_4,40,config_server_name_4 ); ENDIF IF ( $server_name_4 == $server_name_schedule) THEN openPrivButton( "schedule_server_name_4_activate",$left_right_schedule+176,$top_bottom_schedule+16,15,5,5,-1,32,"^2LOADED" ); ELSE openPrivButton( "schedule_server_name_4_activate",$left_right_schedule+176,$top_bottom_schedule+16,15,5,5,-1,32,"^3LOAD",activate_server_name_4 ); ENDIF openPrivButton( "schedule_server_name_5",$left_right_schedule+1,$top_bottom_schedule+21,20,5,5,-1,32,"^2Server name 5" ); IF ( $server_name_5 == "") THEN openPrivTextButton( "schedule_server_name_5_input",$left_right_schedule+21,$top_bottom_schedule+21,60,5,5,32,"^3Server name 5","^3Click to set",40,config_server_name_5 ); ELSE openPrivTextButton( "schedule_server_name_5_input",$left_right_schedule+21,$top_bottom_schedule+21,60,5,5,32,"^3Server name 5","^3".$server_name_5,40,config_server_name_5 ); ENDIF IF ( $server_name_5 == $server_name_schedule) THEN openPrivButton( "schedule_server_name_5_activate",$left_right_schedule+81,$top_bottom_schedule+21,15,5,5,-1,32,"^2LOADED" ); ELSE openPrivButton( "schedule_server_name_5_activate",$left_right_schedule+81,$top_bottom_schedule+21,15,5,5,-1,32,"^3LOAD",activate_server_name_5 ); ENDIF openPrivButton( "schedule_server_name_6",$left_right_schedule+96,$top_bottom_schedule+21,20,5,5,-1,32,"^2Server name 6" ); IF ( $server_name_6 == "") THEN openPrivTextButton( "schedule_server_name_6_input",$left_right_schedule+116,$top_bottom_schedule+21,60,5,5,32,"^3Server name 6","^3Click to set",40,config_server_name_6 ); ELSE openPrivTextButton( "schedule_server_name_6_input",$left_right_schedule+116,$top_bottom_schedule+21,60,5,5,32,"^3Server name 6","^3".$server_name_6,40,config_server_name_6 ); ENDIF IF ( $server_name_6 == $server_name_schedule) THEN openPrivButton( "schedule_server_name_6_activate",$left_right_schedule+176,$top_bottom_schedule+21,15,5,5,-1,32,"^2LOADED" ); ELSE openPrivButton( "schedule_server_name_6_activate",$left_right_schedule+176,$top_bottom_schedule+21,15,5,5,-1,32,"^3LOAD",activate_server_name_6 ); ENDIF openPrivButton( "schedule_server_name_7",$left_right_schedule+1,$top_bottom_schedule+26,20,5,5,-1,32,"^2Server name 7" ); IF ( $server_name_7 == "") THEN openPrivTextButton( "schedule_server_name_7_input",$left_right_schedule+21,$top_bottom_schedule+26,60,5,5,32,"^3Server name 7","^3Click to set",40,config_server_name_7 ); ELSE openPrivTextButton( "schedule_server_name_7_input",$left_right_schedule+21,$top_bottom_schedule+26,60,5,5,32,"^3Server name 7","^3".$server_name_7,40,config_server_name_7 ); ENDIF IF ( $server_name_7 == $server_name_schedule) THEN openPrivButton( "schedule_server_name_7_activate",$left_right_schedule+81,$top_bottom_schedule+26,15,5,5,-1,32,"^2LOADED" ); ELSE openPrivButton( "schedule_server_name_7_activate",$left_right_schedule+81,$top_bottom_schedule+26,15,5,5,-1,32,"^3LOAD",activate_server_name_7 ); ENDIF openPrivButton( "schedule_server_name_8",$left_right_schedule+96,$top_bottom_schedule+26,20,5,5,-1,32,"^2Server name 8" ); IF ( $server_name_8 == "") THEN openPrivTextButton( "schedule_server_name_8_input",$left_right_schedule+116,$top_bottom_schedule+26,60,5,5,32,"^3Server name 8","^3Click to set",40,config_server_name_8 ); ELSE openPrivTextButton( "schedule_server_name_8_input",$left_right_schedule+116,$top_bottom_schedule+26,60,5,5,32,"^3Server name 8","^3".$server_name_8,40,config_server_name_8 ); ENDIF IF ( $server_name_8 == $server_name_schedule) THEN openPrivButton( "schedule_server_name_8_activate",$left_right_schedule+176,$top_bottom_schedule+26,15,5,5,-1,32,"^2LOADED" ); ELSE openPrivButton( "schedule_server_name_8_activate",$left_right_schedule+176,$top_bottom_schedule+26,15,5,5,-1,32,"^3LOAD",activate_server_name_8 ); ENDIF openPrivButton( "schedule_clear_server_names",$left_right_schedule+1,$top_bottom_schedule+36,95,5,5,-1,32,"^3Clear server names",server_name_clear ); openPrivButton( "schedule_save_server_names",$left_right_schedule+96,$top_bottom_schedule+36,95,5,5,-1,32,"^3Save server names",server_name_save ); openPrivButton( "schedule_number",$left_right_schedule+1,$top_bottom_schedule+46,5,5,5,-1,32,"^2#" ); openPrivButton( "schedule_date",$left_right_schedule+6,$top_bottom_schedule+46,15,5,5,-1,32,"^2Date" ); openPrivButton( "schedule_time",$left_right_schedule+21,$top_bottom_schedule+46,15,5,5,-1,32,"^2Time" ); openPrivButton( "schedule_track",$left_right_schedule+36,$top_bottom_schedule+46,15,5,5,-1,32,"^2Track" ); openPrivButton( "schedule_cars",$left_right_schedule+51,$top_bottom_schedule+46,50,5,5,-1,32,"^2Cars" ); openPrivButton( "schedule_laps",$left_right_schedule+101,$top_bottom_schedule+46,15,5,5,-1,32,"^2Laps" ); openPrivButton( "schedule_comment",$left_right_schedule+116,$top_bottom_schedule+46,45,5,5,-1,32,"^2Comment" ); openPrivButton( "schedule_password",$left_right_schedule+161,$top_bottom_schedule+46,30,5,5,-1,32,"^2Password" ); $top_bottom_schedule = 81; FOR ($i=1;$i<=14;$i=$i+1) IF ($i < 10) THEN $number="0".$i; ELSE $number=$i; ENDIF openPrivButton( "schedule_number_".$i,$left_right_schedule+1,$top_bottom_schedule,5,5,5,-1,96,"^7".$number.": " ); $top_bottom_schedule=$top_bottom_schedule+5; ENDFOR $top_bottom_schedule = 81; ### Row 1 ### IF ( $date_1 == "") THEN openPrivTextButton( "schedule_date_1_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 1 (DD-MM-YY)","^3Click to set",8,config_date_1 ); ELSE openPrivTextButton( "schedule_date_1_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 1 (DD-MM-YY)","^3".$date_1,8,config_date_1 ); ENDIF IF ( $time_1 == "") THEN openPrivTextButton( "schedule_time_1_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 1 (HH:MM Timezone)","^3Click to set",10,config_time_1 ); ELSE openPrivTextButton( "schedule_time_1_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 1 (HH:MM Timezone)","^3".$time_1,10,config_time_1 ); ENDIF IF ( $track_1 == "") THEN openPrivTextButton( "schedule_track_1_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 1 (Short trackcode)","^3Click to set",4,config_track_1 ); ELSE openPrivTextButton( "schedule_track_1_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 1 (Short trackcode)","^3".$track_1,4,config_track_1 ); ENDIF IF ( $cars_1 == "") THEN openPrivTextButton( "schedule_cars_1_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 1 (Use + between carnames)","^3Click to set",40,config_cars_1 ); ELSE openPrivTextButton( "schedule_cars_1_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 1( Use + between carnames) ","^3".$cars_1,40,config_cars_1 ); ENDIF IF ( $laps_1 == "") THEN openPrivTextButton( "schedule_laps_1_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 1","^3Click to set",3,config_laps_1 ); ELSE openPrivTextButton( "schedule_laps_1_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 1","^3".$laps_1,3,config_laps_1 ); ENDIF IF ( $comment_1 == "") THEN openPrivTextButton( "schedule_comment_1_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 1","^3Click to set",30,config_comment_1 ); ELSE openPrivTextButton( "schedule_comment_1_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 1","^3".$comment_1,30,config_comment_1 ); ENDIF IF ( $password_1 == "") THEN openPrivTextButton( "schedule_password_1_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 1","^3Click to set",20,config_password_1 ); ELSE openPrivTextButton( "schedule_password_1_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 1","^3".$password_1,20,config_password_1 ); ENDIF $top_bottom_schedule=$top_bottom_schedule+5; ### Row 2 ### IF ( $date_2 == "") THEN openPrivTextButton( "schedule_date_2_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 2 (DD-MM-YY)","^3Click to set",8,config_date_2 ); ELSE openPrivTextButton( "schedule_date_2_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 2 (DD-MM-YY)","^3".$date_2,8,config_date_2 ); ENDIF IF ( $time_2 == "") THEN openPrivTextButton( "schedule_time_2_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 2 (HH:MM Timezone)","^3Click to set",10,config_time_2 ); ELSE openPrivTextButton( "schedule_time_2_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 2 (HH:MM Timezone)","^3".$time_2,10,config_time_2 ); ENDIF IF ( $track_2 == "") THEN openPrivTextButton( "schedule_track_2_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 2 (Short trackcode)","^3Click to set",4,config_track_2 ); ELSE openPrivTextButton( "schedule_track_2_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 2 (Short trackcode)","^3".$track_2,4,config_track_2 ); ENDIF IF ( $cars_2 == "") THEN openPrivTextButton( "schedule_cars_2_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 2 (Use + between carnames)","^3Click to set",40,config_cars_2 ); ELSE openPrivTextButton( "schedule_cars_2_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 2( Use + between carnames) ","^3".$cars_2,40,config_cars_2 ); ENDIF IF ( $laps_2 == "") THEN openPrivTextButton( "schedule_laps_2_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 2","^3Click to set",3,config_laps_2 ); ELSE openPrivTextButton( "schedule_laps_2_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 2","^3".$laps_2,3,config_laps_2 ); ENDIF IF ( $comment_2 == "") THEN openPrivTextButton( "schedule_comment_2_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 2","^3Click to set",30,config_comment_2 ); ELSE openPrivTextButton( "schedule_comment_2_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 2","^3".$comment_2,30,config_comment_2 ); ENDIF IF ( $password_2 == "") THEN openPrivTextButton( "schedule_password_2_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 2","^3Click to set",20,config_password_2 ); ELSE openPrivTextButton( "schedule_password_2_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 2","^3".$password_2,20,config_password_2 ); ENDIF $top_bottom_schedule=$top_bottom_schedule+5; ### Row 3 ### IF ( $date_3 == "") THEN openPrivTextButton( "schedule_date_3_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 3 (DD-MM-YY)","^3Click to set",8,config_date_3 ); ELSE openPrivTextButton( "schedule_date_3_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 3 (DD-MM-YY)","^3".$date_3,8,config_date_3 ); ENDIF IF ( $time_3 == "") THEN openPrivTextButton( "schedule_time_3_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 3 (HH:MM Timezone)","^3Click to set",10,config_time_3 ); ELSE openPrivTextButton( "schedule_time_3_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 3 (HH:MM Timezone)","^3".$time_3,10,config_time_3 ); ENDIF IF ( $track_3 == "") THEN openPrivTextButton( "schedule_track_3_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 3 (Short trackcode)","^3Click to set",4,config_track_3 ); ELSE openPrivTextButton( "schedule_track_3_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 3 (Short trackcode)","^3".$track_3,4,config_track_3 ); ENDIF IF ( $cars_3 == "") THEN openPrivTextButton( "schedule_cars_3_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 3 (Use + between carnames)","^3Click to set",40,config_cars_3 ); ELSE openPrivTextButton( "schedule_cars_3_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 3( Use + between carnames) ","^3".$cars_3,40,config_cars_3 ); ENDIF IF ( $laps_3 == "") THEN openPrivTextButton( "schedule_laps_3_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 3","^3Click to set",3,config_laps_3 ); ELSE openPrivTextButton( "schedule_laps_3_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 3","^3".$laps_3,3,config_laps_3 ); ENDIF IF ( $comment_3 == "") THEN openPrivTextButton( "schedule_comment_3_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 3","^3Click to set",30,config_comment_3 ); ELSE openPrivTextButton( "schedule_comment_3_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 3","^3".$comment_3,30,config_comment_3 ); ENDIF IF ( $password_3 == "") THEN openPrivTextButton( "schedule_password_3_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 3","^3Click to set",20,config_password_3 ); ELSE openPrivTextButton( "schedule_password_3_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 3","^3".$password_3,20,config_password_3 ); ENDIF $top_bottom_schedule=$top_bottom_schedule+5; ### Row 4 ### IF ( $date_4 == "") THEN openPrivTextButton( "schedule_date_4_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 4 (DD-MM-YY)","^3Click to set",8,config_date_4 ); ELSE openPrivTextButton( "schedule_date_4_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 4 (DD-MM-YY)","^3".$date_4,8,config_date_4 ); ENDIF IF ( $time_4 == "") THEN openPrivTextButton( "schedule_time_4_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 4 (HH:MM Timezone)","^3Click to set",10,config_time_4 ); ELSE openPrivTextButton( "schedule_time_4_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 4 (HH:MM Timezone)","^3".$time_4,10,config_time_4 ); ENDIF IF ( $track_4 == "") THEN openPrivTextButton( "schedule_track_4_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 4 (Short trackcode)","^3Click to set",4,config_track_4 ); ELSE openPrivTextButton( "schedule_track_4_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 4 (Short trackcode)","^3".$track_4,4,config_track_4 ); ENDIF IF ( $cars_4 == "") THEN openPrivTextButton( "schedule_cars_4_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 4 (Use + between carnames)","^3Click to set",40,config_cars_4 ); ELSE openPrivTextButton( "schedule_cars_4_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 4( Use + between carnames) ","^3".$cars_4,40,config_cars_4 ); ENDIF IF ( $laps_4 == "") THEN openPrivTextButton( "schedule_laps_4_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 2","^3Click to set",3,config_laps_4 ); ELSE openPrivTextButton( "schedule_laps_4_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 2","^3".$laps_4,3,config_laps_4 ); ENDIF IF ( $comment_4 == "") THEN openPrivTextButton( "schedule_comment_4_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 4","^3Click to set",30,config_comment_4 ); ELSE openPrivTextButton( "schedule_comment_4_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 4","^3".$comment_4,30,config_comment_4 ); ENDIF IF ( $password_4 == "") THEN openPrivTextButton( "schedule_password_4_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 4","^3Click to set",20,config_password_4 ); ELSE openPrivTextButton( "schedule_password_4_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 4","^3".$password_4,20,config_password_4 ); ENDIF $top_bottom_schedule=$top_bottom_schedule+5; ### Row 5 ### IF ( $date_5 == "") THEN openPrivTextButton( "schedule_date_5_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 5 (DD-MM-YY)","^3Click to set",8,config_date_5 ); ELSE openPrivTextButton( "schedule_date_5_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 5 (DD-MM-YY)","^3".$date_5,8,config_date_5 ); ENDIF IF ( $time_5 == "") THEN openPrivTextButton( "schedule_time_5_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 5 (HH:MM Timezone)","^3Click to set",10,config_time_5 ); ELSE openPrivTextButton( "schedule_time_5_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 5 (HH:MM Timezone)","^3".$time_5,10,config_time_5 ); ENDIF IF ( $track_5 == "") THEN openPrivTextButton( "schedule_track_5_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 5 (Short trackcode)","^3Click to set",4,config_track_5 ); ELSE openPrivTextButton( "schedule_track_5_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 5 (Short trackcode)","^3".$track_5,4,config_track_5 ); ENDIF IF ( $cars_5 == "") THEN openPrivTextButton( "schedule_cars_5_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 5 (Use + between carnames)","^3Click to set",40,config_cars_5 ); ELSE openPrivTextButton( "schedule_cars_5_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 5( Use + between carnames) ","^3".$cars_5,40,config_cars_5 ); ENDIF IF ( $laps_5 == "") THEN openPrivTextButton( "schedule_laps_5_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 5","^3Click to set",3,config_laps_5 ); ELSE openPrivTextButton( "schedule_laps_5_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 5","^3".$laps_5,3,config_laps_5 ); ENDIF IF ( $comment_5 == "") THEN openPrivTextButton( "schedule_comment_5_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 5","^3Click to set",30,config_comment_5 ); ELSE openPrivTextButton( "schedule_comment_5_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 5","^3".$comment_5,30,config_comment_5 ); ENDIF IF ( $password_5 == "") THEN openPrivTextButton( "schedule_password_5_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 5","^3Click to set",20,config_password_5 ); ELSE openPrivTextButton( "schedule_password_5_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 5","^3".$password_5,20,config_password_5 ); ENDIF $top_bottom_schedule=$top_bottom_schedule+5; ### Row 6 ### IF ( $date_6 == "") THEN openPrivTextButton( "schedule_date_6_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 6 (DD-MM-YY)","^3Click to set",8,config_date_6 ); ELSE openPrivTextButton( "schedule_date_6_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 6 (DD-MM-YY)","^3".$date_6,8,config_date_6 ); ENDIF IF ( $time_6== "") THEN openPrivTextButton( "schedule_time_6_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 6 (HH:MM Timezone)","^3Click to set",10,config_time_6 ); ELSE openPrivTextButton( "schedule_time_6_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 6 (HH:MM Timezone)","^3".$time_6,10,config_time_6 ); ENDIF IF ( $track_6 == "") THEN openPrivTextButton( "schedule_track_6_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 6 (Short trackcode)","^3Click to set",4,config_track_6 ); ELSE openPrivTextButton( "schedule_track_6_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 6 (Short trackcode)","^3".$track_6,4,config_track_6 ); ENDIF IF ( $cars_6 == "") THEN openPrivTextButton( "schedule_cars_6_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 6 (Use + between carnames)","^3Click to set",40,config_cars_6 ); ELSE openPrivTextButton( "schedule_cars_6_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 6( Use + between carnames) ","^3".$cars_6,40,config_cars_6 ); ENDIF IF ( $laps_6 == "") THEN openPrivTextButton( "schedule_laps_6_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 6","^3Click to set",3,config_laps_6 ); ELSE openPrivTextButton( "schedule_laps_6_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 6","^3".$laps_6,3,config_laps_6 ); ENDIF IF ( $comment_6 == "") THEN openPrivTextButton( "schedule_comment_6_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 6","^3Click to set",30,config_comment_6 ); ELSE openPrivTextButton( "schedule_comment_6_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 6","^3".$comment_6,30,config_comment_6 ); ENDIF IF ( $password_6 == "") THEN openPrivTextButton( "schedule_password_6_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 6","^3Click to set",20,config_password_6 ); ELSE openPrivTextButton( "schedule_password_6_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 6","^3".$password_6,20,config_password_6 ); ENDIF $top_bottom_schedule=$top_bottom_schedule+5; ### Row 7 ### IF ( $date_7 == "") THEN openPrivTextButton( "schedule_date_7_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 7 (DD-MM-YY)","^3Click to set",8,config_date_7 ); ELSE openPrivTextButton( "schedule_date_7_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 7 (DD-MM-YY)","^3".$date_7,8,config_date_7 ); ENDIF IF ( $time_7 == "") THEN openPrivTextButton( "schedule_time_7_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 7 (HH:MM Timezone)","^3Click to set",10,config_time_7 ); ELSE openPrivTextButton( "schedule_time_7_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 7 (HH:MM Timezone)","^3".$time_7,10,config_time_7 ); ENDIF IF ( $track_7 == "") THEN openPrivTextButton( "schedule_track_7_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 7 (Short trackcode)","^3Click to set",4,config_track_7 ); ELSE openPrivTextButton( "schedule_track_7_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 7 (Short trackcode)","^3".$track_7,4,config_track_7 ); ENDIF IF ( $cars_7 == "") THEN openPrivTextButton( "schedule_cars_7_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 7 (Use + between carnames)","^3Click to set",40,config_cars_7 ); ELSE openPrivTextButton( "schedule_cars_7_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 7( Use + between carnames) ","^3".$cars_7,40,config_cars_7 ); ENDIF IF ( $laps_7 == "") THEN openPrivTextButton( "schedule_laps_7_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 7","^3Click to set",3,config_laps_7 ); ELSE openPrivTextButton( "schedule_laps_7_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 7","^3".$laps_7,3,config_laps_7 ); ENDIF IF ( $comment_7 == "") THEN openPrivTextButton( "schedule_comment_7_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 7","^3Click to set",30,config_comment_7 ); ELSE openPrivTextButton( "schedule_comment_7_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 7","^3".$comment_7,30,config_comment_7 ); ENDIF IF ( $password_7 == "") THEN openPrivTextButton( "schedule_password_7_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 7","^3Click to set",20,config_password_7 ); ELSE openPrivTextButton( "schedule_password_7_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 7","^3".$password_7,20,config_password_7 ); ENDIF $top_bottom_schedule=$top_bottom_schedule+5; ### Row 8 ### IF ( $date_8 == "") THEN openPrivTextButton( "schedule_date_8_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 8 (DD-MM-YY)","^3Click to set",8,config_date_8 ); ELSE openPrivTextButton( "schedule_date_8_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 8 (DD-MM-YY)","^3".$date_8,8,config_date_8 ); ENDIF IF ( $time_8 == "") THEN openPrivTextButton( "schedule_time_8_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 8 (HH:MM Timezone)","^3Click to set",10,config_time_8 ); ELSE openPrivTextButton( "schedule_time_8_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 8 (HH:MM Timezone)","^3".$time_8,10,config_time_8 ); ENDIF IF ( $track_8 == "") THEN openPrivTextButton( "schedule_track_8_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 8 (Short trackcode)","^3Click to set",4,config_track_8 ); ELSE openPrivTextButton( "schedule_track_8_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 8 (Short trackcode)","^3".$track_8,4,config_track_8 ); ENDIF IF ( $cars_8 == "") THEN openPrivTextButton( "schedule_cars_8_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 8 (Use + between carnames)","^3Click to set",40,config_cars_8 ); ELSE openPrivTextButton( "schedule_cars_8_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 8( Use + between carnames) ","^3".$cars_8,40,config_cars_8 ); ENDIF IF ( $laps_8 == "") THEN openPrivTextButton( "schedule_laps_8_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 8","^3Click to set",3,config_laps_8 ); ELSE openPrivTextButton( "schedule_laps_8_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 8","^3".$laps_8,3,config_laps_8 ); ENDIF IF ( $comment_8 == "") THEN openPrivTextButton( "schedule_comment_8_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 8","^3Click to set",30,config_comment_8 ); ELSE openPrivTextButton( "schedule_comment_8_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 8","^3".$comment_8,30,config_comment_8 ); ENDIF IF ( $password_8 == "") THEN openPrivTextButton( "schedule_password_8_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 8","^3Click to set",20,config_password_8 ); ELSE openPrivTextButton( "schedule_password_8_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 8","^3".$password_8,20,config_password_8 ); ENDIF $top_bottom_schedule=$top_bottom_schedule+5; ### Row 9 ### IF ( $date_9 == "") THEN openPrivTextButton( "schedule_date_9_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 9 (DD-MM-YY)","^3Click to set",8,config_date_9 ); ELSE openPrivTextButton( "schedule_date_9_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 9 (DD-MM-YY)","^3".$date_9,8,config_date_9 ); ENDIF IF ( $time_9 == "") THEN openPrivTextButton( "schedule_time_9_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 9 (HH:MM Timezone)","^3Click to set",10,config_time_9 ); ELSE openPrivTextButton( "schedule_time_9_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 9 (HH:MM Timezone)","^3".$time_9,10,config_time_9 ); ENDIF IF ( $track_9 == "") THEN openPrivTextButton( "schedule_track_9_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 9 (Short trackcode)","^3Click to set",4,config_track_9 ); ELSE openPrivTextButton( "schedule_track_9_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 9 (Short trackcode)","^3".$track_9,4,config_track_9 ); ENDIF IF ( $cars_9 == "") THEN openPrivTextButton( "schedule_cars_9_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 9 (Use + between carnames)","^3Click to set",40,config_cars_9 ); ELSE openPrivTextButton( "schedule_cars_9_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 9( Use + between carnames) ","^3".$cars_9,40,config_cars_9 ); ENDIF IF ( $laps_9 == "") THEN openPrivTextButton( "schedule_laps_9_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 9","^3Click to set",3,config_laps_9 ); ELSE openPrivTextButton( "schedule_laps_9_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 9","^3".$laps_9,3,config_laps_9 ); ENDIF IF ( $comment_9 == "") THEN openPrivTextButton( "schedule_comment_9_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 9","^3Click to set",30,config_comment_9 ); ELSE openPrivTextButton( "schedule_comment_9_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 9","^3".$comment_9,30,config_comment_9 ); ENDIF IF ( $password_9 == "") THEN openPrivTextButton( "schedule_password_9_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 9","^3Click to set",20,config_password_9 ); ELSE openPrivTextButton( "schedule_password_9_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 9","^3".$password_9,20,config_password_9 ); ENDIF $top_bottom_schedule=$top_bottom_schedule+5; ### Row 10 ### IF ( $date_10 == "") THEN openPrivTextButton( "schedule_date_10_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 10 (DD-MM-YY)","^3Click to set",8,config_date_10 ); ELSE openPrivTextButton( "schedule_date_10_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 10 (DD-MM-YY)","^3".$date_10,8,config_date_10 ); ENDIF IF ( $time_10 == "") THEN openPrivTextButton( "schedule_time_10_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 10 (HH:MM Timezone)","^3Click to set",10,config_time_10 ); ELSE openPrivTextButton( "schedule_time_10_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 10 (HH:MM Timezone)","^3".$time_10,10,config_time_10 ); ENDIF IF ( $track_10 == "") THEN openPrivTextButton( "schedule_track_10_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 10 (Short trackcode)","^3Click to set",4,config_track_10 ); ELSE openPrivTextButton( "schedule_track_10_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 10 (Short trackcode)","^3".$track_10,4,config_track_10 ); ENDIF IF ( $cars_10 == "") THEN openPrivTextButton( "schedule_cars_10_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 10 (Use + between carnames)","^3Click to set",40,config_cars_10 ); ELSE openPrivTextButton( "schedule_cars_10_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 10( Use + between carnames) ","^3".$cars_10,40,config_cars_10 ); ENDIF IF ( $laps_10 == "") THEN openPrivTextButton( "schedule_laps_10_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 10","^3Click to set",3,config_laps_10 ); ELSE openPrivTextButton( "schedule_laps_10_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 10","^3".$laps_10,3,config_laps_10 ); ENDIF IF ( $comment_10 == "") THEN openPrivTextButton( "schedule_comment_10_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 10","^3Click to set",30,config_comment_10 ); ELSE openPrivTextButton( "schedule_comment_10_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 10","^3".$comment_10,30,config_comment_10 ); ENDIF IF ( $password_10 == "") THEN openPrivTextButton( "schedule_password_10_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 10","^3Click to set",20,config_password_10 ); ELSE openPrivTextButton( "schedule_password_10_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 10","^3".$password_10,20,config_password_10 ); ENDIF $top_bottom_schedule=$top_bottom_schedule+5; ### Row 11 ### IF ( $date_11 == "") THEN openPrivTextButton( "schedule_date_11_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 11 (DD-MM-YY)","^3Click to set",8,config_date_11 ); ELSE openPrivTextButton( "schedule_date_11_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 11 (DD-MM-YY)","^3".$date_11,8,config_date_11 ); ENDIF IF ( $time_11 == "") THEN openPrivTextButton( "schedule_time_11_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 11 (HH:MM Timezone)","^3Click to set",10,config_time_11 ); ELSE openPrivTextButton( "schedule_time_11_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 11 (HH:MM Timezone)","^3".$time_11,10,config_time_11 ); ENDIF IF ( $track_11 == "") THEN openPrivTextButton( "schedule_track_11_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 11 (Short trackcode)","^3Click to set",4,config_track_11 ); ELSE openPrivTextButton( "schedule_track_11_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 11 (Short trackcode)","^3".$track_11,4,config_track_11 ); ENDIF IF ( $cars_11 == "") THEN openPrivTextButton( "schedule_cars_11_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 11 (Use + between carnames)","^3Click to set",40,config_cars_11 ); ELSE openPrivTextButton( "schedule_cars_11_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 11( Use + between carnames) ","^3".$cars_11,40,config_cars_11 ); ENDIF IF ( $laps_11 == "") THEN openPrivTextButton( "schedule_laps_11_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 11","^3Click to set",3,config_laps_11 ); ELSE openPrivTextButton( "schedule_laps_11_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 11","^3".$laps_11,3,config_laps_11 ); ENDIF IF ( $comment_11 == "") THEN openPrivTextButton( "schedule_comment_11_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 11","^3Click to set",30,config_comment_11 ); ELSE openPrivTextButton( "schedule_comment_11_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 11","^3".$comment_11,30,config_comment_11 ); ENDIF IF ( $password_11 == "") THEN openPrivTextButton( "schedule_password_11_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 11","^3Click to set",20,config_password_11 ); ELSE openPrivTextButton( "schedule_password_11_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 11","^3".$password_11,20,config_password_11 ); ENDIF $top_bottom_schedule=$top_bottom_schedule+5; ### Row 12 ### IF ( $date_12 == "") THEN openPrivTextButton( "schedule_date_12_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 12 (DD-MM-YY)","^3Click to set",8,config_date_12 ); ELSE openPrivTextButton( "schedule_date_12_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 12 (DD-MM-YY)","^3".$date_12,8,config_date_12 ); ENDIF IF ( $time_12 == "") THEN openPrivTextButton( "schedule_time_12_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 12 (HH:MM Timezone)","^3Click to set",10,config_time_12 ); ELSE openPrivTextButton( "schedule_time_12_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 12 (HH:MM Timezone)","^3".$time_12,10,config_time_12 ); ENDIF IF ( $track_12 == "") THEN openPrivTextButton( "schedule_track_12_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 12 (Short trackcode)","^3Click to set",4,config_track_12 ); ELSE openPrivTextButton( "schedule_track_12_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 12 (Short trackcode)","^3".$track_12,4,config_track_12 ); ENDIF IF ( $cars_12 == "") THEN openPrivTextButton( "schedule_cars_12_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 12 (Use + between carnames)","^3Click to set",40,config_cars_12 ); ELSE openPrivTextButton( "schedule_cars_12_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 12( Use + between carnames) ","^3".$cars_12,40,config_cars_12 ); ENDIF IF ( $laps_12 == "") THEN openPrivTextButton( "schedule_laps_12_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 12","^3Click to set",3,config_laps_12 ); ELSE openPrivTextButton( "schedule_laps_12_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 12","^3".$laps_12,3,config_laps_12 ); ENDIF IF ( $comment_12 == "") THEN openPrivTextButton( "schedule_comment_12_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 12","^3Click to set",30,config_comment_12 ); ELSE openPrivTextButton( "schedule_comment_12_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 12","^3".$comment_12,30,config_comment_12 ); ENDIF IF ( $password_12 == "") THEN openPrivTextButton( "schedule_password_12_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 12","^3Click to set",20,config_password_12 ); ELSE openPrivTextButton( "schedule_password_12_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 12","^3".$password_12,20,config_password_12 ); ENDIF $top_bottom_schedule=$top_bottom_schedule+5; ### Row 13 ### IF ( $date_13 == "") THEN openPrivTextButton( "schedule_date_13_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 13 (DD-MM-YY)","^3Click to set",8,config_date_13 ); ELSE openPrivTextButton( "schedule_date_13_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 13 (DD-MM-YY)","^3".$date_13,8,config_date_13 ); ENDIF IF ( $time_13 == "") THEN openPrivTextButton( "schedule_time_13_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 13 (HH:MM Timezone)","^3Click to set",10,config_time_13 ); ELSE openPrivTextButton( "schedule_time_13_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 13 (HH:MM Timezone)","^3".$time_13,10,config_time_13 ); ENDIF IF ( $track_13 == "") THEN openPrivTextButton( "schedule_track_13_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 13 (Short trackcode)","^3Click to set",4,config_track_13 ); ELSE openPrivTextButton( "schedule_track_13_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 13 (Short trackcode)","^3".$track_13,4,config_track_13 ); ENDIF IF ( $cars_13 == "") THEN openPrivTextButton( "schedule_cars_13_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 13 (Use + between carnames)","^3Click to set",40,config_cars_13 ); ELSE openPrivTextButton( "schedule_cars_13_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 13( Use + between carnames) ","^3".$cars_13,40,config_cars_13 ); ENDIF IF ( $laps_13 == "") THEN openPrivTextButton( "schedule_laps_13_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 13","^3Click to set",3,config_laps_13 ); ELSE openPrivTextButton( "schedule_laps_13_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 13","^3".$laps_13,3,config_laps_13 ); ENDIF IF ( $comment_13 == "") THEN openPrivTextButton( "schedule_comment_13_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 13","^3Click to set",30,config_comment_13 ); ELSE openPrivTextButton( "schedule_comment_13_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 13","^3".$comment_13,30,config_comment_13 ); ENDIF IF ( $password_13 == "") THEN openPrivTextButton( "schedule_password_13_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 13","^3Click to set",20,config_password_13 ); ELSE openPrivTextButton( "schedule_password_13_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 13","^3".$password_13,20,config_password_13 ); ENDIF $top_bottom_schedule=$top_bottom_schedule+5; ### Row 14 ### IF ( $date_14 == "") THEN openPrivTextButton( "schedule_date_14_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 14 (DD-MM-YY)","^3Click to set",8,config_date_14 ); ELSE openPrivTextButton( "schedule_date_14_input",$left_right_schedule+6,$top_bottom_schedule,15,5,5,32,"^3Date 14 (DD-MM-YY)","^3".$date_14,8,config_date_14 ); ENDIF IF ( $time_14 == "") THEN openPrivTextButton( "schedule_time_14_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 14 (HH:MM Timezone)","^3Click to set",10,config_time_14 ); ELSE openPrivTextButton( "schedule_time_14_input",$left_right_schedule+21,$top_bottom_schedule,15,5,5,32,"^3Time 14 (HH:MM Timezone)","^3".$time_14,10,config_time_14 ); ENDIF IF ( $track_14 == "") THEN openPrivTextButton( "schedule_track_14_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 14 (Short trackcode)","^3Click to set",4,config_track_14 ); ELSE openPrivTextButton( "schedule_track_14_input",$left_right_schedule+36,$top_bottom_schedule,15,5,5,32,"^3Track 14 (Short trackcode)","^3".$track_14,4,config_track_14 ); ENDIF IF ( $cars_14 == "") THEN openPrivTextButton( "schedule_cars_14_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 14 (Use + between carnames)","^3Click to set",40,config_cars_14 ); ELSE openPrivTextButton( "schedule_cars_14_input",$left_right_schedule+51,$top_bottom_schedule,50,5,5,32,"^3Cars 14( Use + between carnames) ","^3".$cars_14,40,config_cars_14 ); ENDIF IF ( $laps_14 == "") THEN openPrivTextButton( "schedule_laps_14_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 14","^3Click to set",3,config_laps_14 ); ELSE openPrivTextButton( "schedule_laps_14_input",$left_right_schedule+101,$top_bottom_schedule,15,5,5,32,"^3Laps 14","^3".$laps_14,3,config_laps_14 ); ENDIF IF ( $comment_14 == "") THEN openPrivTextButton( "schedule_comment_14_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 14","^3Click to set",30,config_comment_14 ); ELSE openPrivTextButton( "schedule_comment_14_input",$left_right_schedule+116,$top_bottom_schedule,45,5,5,32,"^3Comment 14","^3".$comment_14,30,config_comment_14 ); ENDIF IF ( $password_14 == "") THEN openPrivTextButton( "schedule_password_14_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 14","^3Click to set",20,config_password_14 ); ELSE openPrivTextButton( "schedule_password_14_input",$left_right_schedule+161,$top_bottom_schedule,30,5,5,32,"^3Password 14","^3".$password_14,20,config_password_14 ); ENDIF $top_bottom_schedule=$top_bottom_schedule+5; $top_bottom_schedule = 156; openPrivButton( "schedule_clear",$left_right_schedule+1,$top_bottom_schedule+1,95,5,5,-1,32,"^3Clear",schedule_clear ); openPrivButton( "schedule_save",$left_right_schedule+96,$top_bottom_schedule+1,95,5,5,-1,32,"^3Save",schedule_save ); $top_bottom_schedule = 161; openPrivButton( "schedule_close",$left_right_schedule+1,$top_bottom_schedule+1,190,5,5,-1,32,"^3Close",schedule_set_close ); ### End ### EndSub Sub activate_server_name_1 ( $KeyFlags,$id ) IF ($server_name_1 != "") THEN $server_name_schedule=$server_name_1; privMsg ("^7Server name set to " . $server_name_schedule ); $check_load="yes"; ELSE privMsg ("^1No server name is set " ); ENDIF Set_Schedule( $KeyFlags ); EndSub Sub config_server_name_1 ( $server_name_1_value,$text ) $server_name_1=$text; Set_Schedule( $KeyFlags ); EndSub Sub activate_server_name_2 ( $KeyFlags,$id ) IF ($server_name_2 != "") THEN $server_name_schedule=$server_name_2; privMsg ("^7Server name set to " . $server_name_schedule ); $check_load="yes"; ELSE privMsg ("^1No server name is set " ); ENDIF Set_Schedule( $KeyFlags ); EndSub Sub config_server_name_2 ( $server_name_2_value,$text ) $server_name_2=$text; Set_Schedule( $KeyFlags ); EndSub Sub activate_server_name_3 ( $KeyFlags,$id ) IF ($server_name_3 != "") THEN $server_name_schedule=$server_name_3; privMsg ("^7Server name set to " . $server_name_schedule ); $check_load="yes"; ELSE privMsg ("^1No server name is set " ); ENDIF Set_Schedule( $KeyFlags ); EndSub Sub config_server_name_3 ( $server_name_3_value,$text ) $server_name_3=$text; Set_Schedule( $KeyFlags ); EndSub Sub activate_server_name_4 ( $KeyFlags,$id ) IF ($server_name_4 != "") THEN $server_name_schedule=$server_name_4; privMsg ("^7Server name set to " . $server_name_schedule ); $check_load="yes"; ELSE privMsg ("^1No server name is set " ); ENDIF Set_Schedule( $KeyFlags ); EndSub Sub config_server_name_4 ( $server_name_4_value,$text ) $server_name_4=$text; Set_Schedule( $KeyFlags ); EndSub Sub activate_server_name_5 ( $KeyFlags,$id ) IF ($server_name_5 != "") THEN $server_name_schedule=$server_name_5; privMsg ("^7Server name set to " . $server_name_schedule ); $check_load="yes"; ELSE privMsg ("^1No server name is set " ); ENDIF Set_Schedule( $KeyFlags ); EndSub Sub config_server_name_5 ( $server_name_5_value,$text ) $server_name_5=$text; Set_Schedule( $KeyFlags ); EndSub Sub activate_server_name_6 ( $KeyFlags,$id ) IF ($server_name_6 != "") THEN $server_name_schedule=$server_name_6; privMsg ("^7Server name set to " . $server_name_schedule ); $check_load="yes"; ELSE privMsg ("^1No server name is set " ); ENDIF Set_Schedule( $KeyFlags ); EndSub Sub config_server_name_6 ( $server_name_6_value,$text ) $server_name_6=$text; Set_Schedule( $KeyFlags ); EndSub Sub activate_server_name_7 ( $KeyFlags,$id ) IF ($server_name_7 != "") THEN $server_name_schedule=$server_name_7; privMsg ("^7Server name set to " . $server_name_schedule ); $check_load="yes"; ELSE privMsg ("^1No server name is set " ); ENDIF Set_Schedule( $KeyFlags ); EndSub Sub config_server_name_7 ( $server_name_7_value,$text ) $server_name_7=$text; Set_Schedule( $KeyFlags ); EndSub Sub activate_server_name_8 ( $KeyFlags,$id ) IF ($server_name_8 != "") THEN $server_name_schedule=$server_name_8; privMsg ("^7Server name set to " . $server_name_schedule ); $check_load="yes"; ELSE privMsg ("^1No server name is set " ); ENDIF Set_Schedule( $KeyFlags ); EndSub Sub config_server_name_8 ( $server_name_8_value,$text ) $server_name_8=$text; Set_Schedule( $KeyFlags ); EndSub ### Row 1 ### Sub config_date_1 ( $date_1_value,$text ) $date_1=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_time_1 ( $time_1_value,$text ) $time_1=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_track_1 ( $track_1_value,$text ) $track_1=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_cars_1 ( $cars_1_value,$text ) $cars_1=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_laps_1 ( $laps_1_value,$text ) $laps_1=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_comment_1 ( $comment_1_value,$text ) $comment_1=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_password_1 ( $password_1_value,$text ) $password_1=$text; Set_Schedule( $KeyFlags ); EndSub ### Row 2 ### Sub config_date_2 ( $date_2_value,$text ) $date_2=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_time_2 ( $time_2_value,$text ) $time_2=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_track_2 ( $track_2_value,$text ) $track_2=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_cars_2 ( $cars_2_value,$text ) $cars_2=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_laps_2 ( $laps_2_value,$text ) $laps_2=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_comment_2 ( $comment_2_value,$text ) $comment_2=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_password_2 ( $password_2_value,$text ) $password_2=$text; Set_Schedule( $KeyFlags ); EndSub ### Row 3 ### Sub config_date_3 ( $date_3_value,$text ) $date_3=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_time_3 ( $time_3_value,$text ) $time_3=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_track_3 ( $track_3_value,$text ) $track_3=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_cars_3 ( $cars_3_value,$text ) $cars_3=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_laps_3 ( $laps_3_value,$text ) $laps_3=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_comment_3 ( $comment_3_value,$text ) $comment_3=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_password_3 ( $password_3_value,$text ) $password_3=$text; Set_Schedule( $KeyFlags ); EndSub ### Row 4 ### Sub config_date_4 ( $date_4_value,$text ) $date_4=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_time_4 ( $time_4_value,$text ) $time_4=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_track_4 ( $track_4_value,$text ) $track_4=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_cars_4 ( $cars_4_value,$text ) $cars_4=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_laps_4 ( $laps_4_value,$text ) $laps_4=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_comment_4 ( $comment_4_value,$text ) $comment_4=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_password_4 ( $password_4_value,$text ) $password_4=$text; Set_Schedule( $KeyFlags ); EndSub ### Row 5 ### Sub config_date_5 ( $date_5_value,$text ) $date_5=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_time_5 ( $time_5_value,$text ) $time_5=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_track_5 ( $track_5_value,$text ) $track_5=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_cars_5 ( $cars_5_value,$text ) $cars_5=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_laps_5 ( $laps_5_value,$text ) $laps_5=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_comment_5 ( $comment_5_value,$text ) $comment_5=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_password_5 ( $password_5_value,$text ) $password_5=$text; Set_Schedule( $KeyFlags ); EndSub ### Row 6 ### Sub config_date_6 ( $date_6_value,$text ) $date_6=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_time_6 ( $time_6_value,$text ) $time_6=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_track_6 ( $track_6_value,$text ) $track_6=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_cars_6 ( $cars_6_value,$text ) $cars_6=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_laps_6 ( $laps_6_value,$text ) $laps_6=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_comment_6 ( $comment_6_value,$text ) $comment_6=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_password_6 ( $password_6_value,$text ) $password_6=$text; Set_Schedule( $KeyFlags ); EndSub ### Row 7 ### Sub config_date_7 ( $date_7_value,$text ) $date_7=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_time_7 ( $time_7_value,$text ) $time_7=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_track_7 ( $track_7_value,$text ) $track_7=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_cars_7 ( $cars_7_value,$text ) $cars_7=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_laps_7 ( $laps_7_value,$text ) $laps_7=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_comment_7 ( $comment_7_value,$text ) $comment_7=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_password_7 ( $password_7_value,$text ) $password_7=$text; Set_Schedule( $KeyFlags ); EndSub ### Row 8 ### Sub config_date_8 ( $date_8_value,$text ) $date_8=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_time_8 ( $time_8_value,$text ) $time_8=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_track_8 ( $track_8_value,$text ) $track_8=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_cars_8 ( $cars_8_value,$text ) $cars_8=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_laps_8 ( $laps_8_value,$text ) $laps_8=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_comment_8 ( $comment_8_value,$text ) $comment_8=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_password_8 ( $password_8_value,$text ) $password_8=$text; Set_Schedule( $KeyFlags ); EndSub ### Row 9 ### Sub config_date_9 ( $date_9_value,$text ) $date_9=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_time_9 ( $time_9_value,$text ) $time_9=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_track_9 ( $track_9_value,$text ) $track_9=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_cars_9 ( $cars_9_value,$text ) $cars_9=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_laps_9 ( $laps_9_value,$text ) $laps_9=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_comment_9 ( $comment_9_value,$text ) $comment_9=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_password_9 ( $password_9_value,$text ) $password_9=$text; Set_Schedule( $KeyFlags ); EndSub ### Row 10 ### Sub config_date_10 ( $date_10_value,$text ) $date_10=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_time_10 ( $time_10_value,$text ) $time_10=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_track_10 ( $track_10_value,$text ) $track_10=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_cars_10 ( $cars_10_value,$text ) $cars_10=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_laps_10 ( $laps_10_value,$text ) $laps_10=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_comment_10 ( $comment_10_value,$text ) $comment_10=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_password_10 ( $password_10_value,$text ) $password_10=$text; Set_Schedule( $KeyFlags ); EndSub ### Row 11 ### Sub config_date_11 ( $date_11_value,$text ) $date_11=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_time_11 ( $time_11_value,$text ) $time_11=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_track_11 ( $track_11_value,$text ) $track_11=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_cars_11 ( $cars_11_value,$text ) $cars_11=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_laps_11 ( $laps_11_value,$text ) $laps_11=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_comment_11 ( $comment_11_value,$text ) $comment_11=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_password_11 ( $password_11_value,$text ) $password_11=$text; Set_Schedule( $KeyFlags ); EndSub ### Row 12 ### Sub config_date_12 ( $date_12_value,$text ) $date_12=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_time_12 ( $time_12_value,$text ) $time_12=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_track_12 ( $track_12_value,$text ) $track_12=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_cars_12 ( $cars_12_value,$text ) $cars_12=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_laps_12 ( $laps_12_value,$text ) $laps_12=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_comment_12 ( $comment_12_value,$text ) $comment_12=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_password_12 ( $password_12_value,$text ) $password_12=$text; Set_Schedule( $KeyFlags ); EndSub ### Row 13 ### Sub config_date_13 ( $date_13_value,$text ) $date_13=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_time_13 ( $time_13_value,$text ) $time_13=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_track_13 ( $track_13_value,$text ) $track_13=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_cars_13 ( $cars_13_value,$text ) $cars_13=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_laps_13 ( $laps_13_value,$text ) $laps_13=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_comment_13 ( $comment_13_value,$text ) $comment_13=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_password_13 ( $password_13_value,$text ) $password_13=$text; Set_Schedule( $KeyFlags ); EndSub ### Row 14 ### Sub config_date_14 ( $date_14_value,$text ) $date_14=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_time_14 ( $time_14_value,$text ) $time_14=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_track_14 ( $track_14_value,$text ) $track_14=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_cars_14 ( $cars_14_value,$text ) $cars_14=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_laps_14 ( $laps_14_value,$text ) $laps_14=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_comment_14 ( $comment_14_value,$text ) $comment_14=$text; Set_Schedule( $KeyFlags ); EndSub Sub config_password_14 ( $password_14_value,$text ) $password_14=$text; Set_Schedule( $KeyFlags ); EndSub Sub schedule_save ( $KeyFlags,$id ) ### Set server_name and storage_name ### IF ($server_name_schedule == "") THEN $server_name_schedule = getLapperVar( "HostName" ); ENDIF $storage_name = "SCHEDULE_".$server_name_schedule; ### End ### SetStoredValue( $storage_name . "date_1", $date_1 ); SetStoredValue( $storage_name . "time_1", $time_1 ); SetStoredValue( $storage_name . "track_1", $track_1 ); SetStoredValue( $storage_name . "cars_1", $cars_1 ); SetStoredValue( $storage_name . "laps_1", $laps_1 ); SetStoredValue( $storage_name . "comment_1", $comment_1 ); SetStoredValue( $storage_name . "password_1", $password_1 ); SetStoredValue( $storage_name . "date_2", $date_2 ); SetStoredValue( $storage_name . "time_2", $time_2 ); SetStoredValue( $storage_name . "track_2", $track_2 ); SetStoredValue( $storage_name . "cars_2", $cars_2 ); SetStoredValue( $storage_name . "laps_2", $laps_2 ); SetStoredValue( $storage_name . "comment_2", $comment_2 ); SetStoredValue( $storage_name . "password_2", $password_2 ); SetStoredValue( $storage_name . "date_3", $date_3 ); SetStoredValue( $storage_name . "time_3", $time_3 ); SetStoredValue( $storage_name . "track_3", $track_3 ); SetStoredValue( $storage_name . "cars_3", $cars_3 ); SetStoredValue( $storage_name . "laps_3", $laps_3 ); SetStoredValue( $storage_name . "comment_3", $comment_3 ); SetStoredValue( $storage_name . "password_3", $password_3 ); SetStoredValue( $storage_name . "date_4", $date_4 ); SetStoredValue( $storage_name . "time_4", $time_4 ); SetStoredValue( $storage_name . "track_4", $track_4 ); SetStoredValue( $storage_name . "cars_4", $cars_4 ); SetStoredValue( $storage_name . "laps_4", $laps_4 ); SetStoredValue( $storage_name . "comment_4", $comment_4 ); SetStoredValue( $storage_name . "password_4", $password_4 ); SetStoredValue( $storage_name . "date_5", $date_5 ); SetStoredValue( $storage_name . "time_5", $time_5 ); SetStoredValue( $storage_name . "track_5", $track_5 ); SetStoredValue( $storage_name . "cars_5", $cars_5 ); SetStoredValue( $storage_name . "laps_5", $laps_5 ); SetStoredValue( $storage_name . "comment_5", $comment_5 ); SetStoredValue( $storage_name . "password_5", $password_5 ); SetStoredValue( $storage_name . "date_6", $date_6 ); SetStoredValue( $storage_name . "time_6", $time_6 ); SetStoredValue( $storage_name . "track_6", $track_6 ); SetStoredValue( $storage_name . "cars_6", $cars_6 ); SetStoredValue( $storage_name . "laps_6", $laps_6 ); SetStoredValue( $storage_name . "comment_6", $comment_6 ); SetStoredValue( $storage_name . "password_6", $password_6 ); SetStoredValue( $storage_name . "date_7", $date_7 ); SetStoredValue( $storage_name . "time_7", $time_7 ); SetStoredValue( $storage_name . "track_7", $track_7 ); SetStoredValue( $storage_name . "cars_7", $cars_7 ); SetStoredValue( $storage_name . "laps_7", $laps_7 ); SetStoredValue( $storage_name . "comment_7", $comment_7 ); SetStoredValue( $storage_name . "password_7", $password_7 ); SetStoredValue( $storage_name . "date_8", $date_8 ); SetStoredValue( $storage_name . "time_8", $time_8 ); SetStoredValue( $storage_name . "track_8", $track_8 ); SetStoredValue( $storage_name . "cars_8", $cars_8 ); SetStoredValue( $storage_name . "laps_8", $laps_8 ); SetStoredValue( $storage_name . "comment_8", $comment_8 ); SetStoredValue( $storage_name . "password_8", $password_8 ); SetStoredValue( $storage_name . "date_9", $date_9 ); SetStoredValue( $storage_name . "time_9", $time_9 ); SetStoredValue( $storage_name . "track_9", $track_9 ); SetStoredValue( $storage_name . "cars_9", $cars_9 ); SetStoredValue( $storage_name . "laps_9", $laps_9 ); SetStoredValue( $storage_name . "comment_9", $comment_9 ); SetStoredValue( $storage_name . "password_9", $password_9 ); SetStoredValue( $storage_name . "date_10", $date_10 ); SetStoredValue( $storage_name . "time_10", $time_10 ); SetStoredValue( $storage_name . "track_10", $track_10 ); SetStoredValue( $storage_name . "cars_10", $cars_10 ); SetStoredValue( $storage_name . "laps_10", $laps_10 ); SetStoredValue( $storage_name . "comment_10", $comment_10 ); SetStoredValue( $storage_name . "password_10", $password_10 ); SetStoredValue( $storage_name . "date_11", $date_11 ); SetStoredValue( $storage_name . "time_11", $time_11 ); SetStoredValue( $storage_name . "track_11", $track_11 ); SetStoredValue( $storage_name . "cars_11", $cars_11 ); SetStoredValue( $storage_name . "laps_11", $laps_11 ); SetStoredValue( $storage_name . "comment_11", $comment_11 ); SetStoredValue( $storage_name . "password_11", $password_11 ); SetStoredValue( $storage_name . "date_12", $date_12 ); SetStoredValue( $storage_name . "time_12", $time_12 ); SetStoredValue( $storage_name . "track_12", $track_12 ); SetStoredValue( $storage_name . "cars_12", $cars_12 ); SetStoredValue( $storage_name . "laps_12", $laps_12 ); SetStoredValue( $storage_name . "comment_12", $comment_12 ); SetStoredValue( $storage_name . "password_12", $password_12 ); SetStoredValue( $storage_name . "date_13", $date_13 ); SetStoredValue( $storage_name . "time_13", $time_13 ); SetStoredValue( $storage_name . "track_13", $track_13 ); SetStoredValue( $storage_name . "cars_13", $cars_13 ); SetStoredValue( $storage_name . "laps_13", $laps_13 ); SetStoredValue( $storage_name . "comment_13", $comment_13 ); SetStoredValue( $storage_name . "password_13", $password_13 ); SetStoredValue( $storage_name . "date_14", $date_14 ); SetStoredValue( $storage_name . "time_14", $time_14 ); SetStoredValue( $storage_name . "track_14", $track_14 ); SetStoredValue( $storage_name . "cars_14", $cars_14 ); SetStoredValue( $storage_name . "laps_14", $laps_14 ); SetStoredValue( $storage_name . "comment_14", $comment_14 ); SetStoredValue( $storage_name . "password_14", $password_14 ); privMsg ("^7Schedule saved" ); $check_load = "no"; EndSub Sub schedule_set_close ( $KeyFlags,$id ) closePrivButton("schedule_gui_bg"); closePrivButton("schedule_title"); closePrivButton("schedule_server_name"); closePrivButton("schedule_number"); closePrivButton("schedule_date"); closePrivButton("schedule_time"); closePrivButton("schedule_track"); closePrivButton("schedule_cars"); closePrivButton("schedule_laps"); closePrivButton("schedule_comment"); closePrivButton("schedule_password"); FOR ($i=1;$i<=14;$i=$i+1) closePrivButton("schedule_server_name_".$i); closePrivButton("schedule_server_name_".$i."_input"); closePrivButton("schedule_server_name_".$i."_activate"); closePrivButton("schedule_number_".$i); closePrivButton("schedule_date_".$i."_input"); closePrivButton("schedule_time_".$i."_input"); closePrivButton("schedule_track_".$i."_input"); closePrivButton("schedule_cars_".$i."_input"); closePrivButton("schedule_laps_".$i."_input"); closePrivButton("schedule_comment_".$i."_input"); closePrivButton("schedule_password_".$i."_input"); ENDFOR closePrivButton("schedule_clear_server_names"); closePrivButton("schedule_save_server_names"); closePrivButton("schedule_save"); closePrivButton("schedule_close"); closePrivButton("schedule_clear"); IF ( $id == "schedule_close" ) THEN $server_name_schedule = ""; ENDIF EndSub Sub server_name_save ( $KeyFlags,$id ) SetStoredValue( "SERVER_NAME_1" . "server_name_1", $server_name_1 ); SetStoredValue( "SERVER_NAME_2" . "server_name_2", $server_name_2 ); SetStoredValue( "SERVER_NAME_3" . "server_name_3", $server_name_3 ); SetStoredValue( "SERVER_NAME_4" . "server_name_4", $server_name_4 ); SetStoredValue( "SERVER_NAME_5" . "server_name_5", $server_name_5 ); SetStoredValue( "SERVER_NAME_6" . "server_name_6", $server_name_6 ); SetStoredValue( "SERVER_NAME_7" . "server_name_7", $server_name_7 ); SetStoredValue( "SERVER_NAME_8" . "server_name_8", $server_name_8 ); privMsg ("^7Server names saved" ); EndSub Sub server_name_clear ( $KeyFlags,$id ) $server_name_1 = ""; $server_name_2 = ""; $server_name_3 = ""; $server_name_4 = ""; $server_name_5 = ""; $server_name_6 = ""; $server_name_7 = ""; $server_name_8 = ""; Set_Schedule( $KeyFlags ); EndSub Sub schedule_clear ( $KeyFlags,$id ) $date_1 = ""; $date_2 = ""; $date_3 = ""; $date_4 = ""; $date_5 = ""; $date_6 = ""; $date_7 = ""; $date_8 = ""; $date_9 = ""; $date_10 = ""; $date_11 = ""; $date_12 = ""; $date_13 = ""; $date_14 = ""; $time_1 = ""; $time_2 = ""; $time_3 = ""; $time_4 = ""; $time_5 = ""; $time_6 = ""; $time_7 = ""; $time_8 = ""; $time_9 = ""; $time_10 = ""; $time_11 = ""; $time_12 = ""; $time_13 = ""; $time_14 = ""; $track_1 = ""; $track_2 = ""; $track_3 = ""; $track_4 = ""; $track_5 = ""; $track_6 = ""; $track_7 = ""; $track_8 = ""; $track_9 = ""; $track_10 = ""; $track_11 = ""; $track_12 = ""; $track_13 = ""; $track_14 = ""; $cars_1 = ""; $cars_2 = ""; $cars_3 = ""; $cars_4 = ""; $cars_5 = ""; $cars_6 = ""; $cars_7 = ""; $cars_8 = ""; $cars_9 = ""; $cars_10 = ""; $cars_11 = ""; $cars_12 = ""; $cars_13 = ""; $cars_14 = ""; $laps_1 = ""; $laps_2 = ""; $laps_3 = ""; $laps_4 = ""; $laps_5 = ""; $laps_6 = ""; $laps_7 = ""; $laps_8 = ""; $laps_9 = ""; $laps_10 = ""; $laps_11 = ""; $laps_12 = ""; $laps_13 = ""; $laps_14 = ""; $comment_1 = ""; $comment_2 = ""; $comment_3 = ""; $comment_4 = ""; $comment_5 = ""; $comment_6 = ""; $comment_7 = ""; $comment_8 = ""; $comment_9 = ""; $comment_10 = ""; $comment_11 = ""; $comment_12 = ""; $comment_13 = ""; $comment_14 = ""; $password_1 = ""; $password_2 = ""; $password_3 = ""; $password_4 = ""; $password_5 = ""; $password_6 = ""; $password_7 = ""; $password_8 = ""; $password_9 = ""; $password_10 = ""; $password_11 = ""; $password_12 = ""; $password_13 = ""; $password_14 = ""; Set_Schedule( $KeyFlags ); EndSub