# mod_addedflavour_A69_Functions if $ARGS[0] = 'config': $npc_fontcolor['A69'] = 'Olive' end if $ARGS[0] = 'CupHotelSetup': if $ARGS[1] = 'start': $modArr_AF_CityHotelRoomOccupant['B1'] = '<<$modArr_AF_VBallT_PlayerName[0]>> & <<$modArr_AF_VBallT_PlayerName[1]>>' $modArr_AF_CityHotelRoomOccupant['B2'] = '<<$modArr_AF_VBallT_PlayerName[2]>> & <<$modArr_AF_VBallT_PlayerName[3]>>' $modArr_AF_CityHotelRoomOccupant['B3'] = '<<$modArr_AF_VBallT_PlayerName[4]>> & <<$modArr_AF_VBallT_PlayerName[5]>>' $modArr_AF_CityHotelRoomOccupant['B4'] = '<<$modArr_AF_VBallT_PlayerName[6]>> & <<$modArr_AF_VBallT_PlayerName[7]>>' $modArr_AF_CityHotelRoomOccupant['B5'] = '<<$modArr_AF_VBallT_PlayerName[8]>> & <<$modArr_AF_VBallT_PlayerName[9]>>' $modArr_AF_CityHotelRoomOccupant['B6'] = 'Mr Nikolaevich' charsche_ID = 19 $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_1' $charsche_CurActLoc = 'void' $charsche_CurActDesc = 'waiting' charsche_CurActTime = 0 charsche_CurActPriority = 2 $charsche_PrevActLoc = '' $charsche_PrevActDesc = '' charsche_LastCheck = 0 gs 'mod_addedflavour_charsche' , 'addchar' charsche_ID = 18 $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_2' $charsche_CurActLoc = 'void' $charsche_CurActDesc = 'waiting' charsche_CurActTime = 0 charsche_CurActPriority = 2 $charsche_PrevActLoc = '' $charsche_PrevActDesc = '' charsche_LastCheck = 0 gs 'mod_addedflavour_charsche' , 'addchar' charsche_ID = 13 $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_2' $charsche_CurActLoc = 'void' $charsche_CurActDesc = 'waiting' charsche_CurActTime = 0 charsche_CurActPriority = 2 $charsche_PrevActLoc = '' $charsche_PrevActDesc = '' charsche_LastCheck = 0 gs 'mod_addedflavour_charsche' , 'addchar' $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[4],1,strpos($modArr_AF_VBallT_PlayerName[4],' ') - 1) $npc_firstname['A705'] = '<<$modVar_AF_TempStr>>' $npc_usedname['A705'] = '<<$modVar_AF_TempStr>>' $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[4],strpos($modArr_AF_VBallT_PlayerName[4],' ') + 1,len($modArr_AF_VBallT_PlayerName[4])) $npc_lastname['A705'] = '<<$modVar_AF_TempStr>>' npc_gender['A705'] = 1 charsche_ID = 705 $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_3' $charsche_CurActLoc = 'void' $charsche_CurActDesc = 'waiting' charsche_CurActTime = 0 charsche_CurActPriority = 2 $charsche_PrevActLoc = '' $charsche_PrevActDesc = '' charsche_LastCheck = 0 gs 'mod_addedflavour_charsche' , 'addchar' $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[5],1,strpos($modArr_AF_VBallT_PlayerName[5],' ') - 1) $npc_firstname['A706'] = '<<$modVar_AF_TempStr>>' $npc_usedname['A706'] = '<<$modVar_AF_TempStr>>' $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[5],strpos($modArr_AF_VBallT_PlayerName[5],' ') + 1,len($modArr_AF_VBallT_PlayerName[5])) $npc_lastname['A706'] = '<<$modVar_AF_TempStr>>' npc_gender['A706'] = 1 charsche_ID = 706 $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_3' $charsche_CurActLoc = 'void' $charsche_CurActDesc = 'waiting' charsche_CurActTime = 0 charsche_CurActPriority = 2 $charsche_PrevActLoc = '' $charsche_PrevActDesc = '' charsche_LastCheck = 0 gs 'mod_addedflavour_charsche' , 'addchar' $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[6],1,strpos($modArr_AF_VBallT_PlayerName[6],' ') - 1) $npc_firstname['A707'] = '<<$modVar_AF_TempStr>>' $npc_usedname['A707'] = '<<$modVar_AF_TempStr>>' $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[6],strpos($modArr_AF_VBallT_PlayerName[6],' ') + 1,len($modArr_AF_VBallT_PlayerName[6])) $npc_lastname['A707'] = '<<$modVar_AF_TempStr>>' npc_gender['A707'] = 1 charsche_ID = 707 $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_4' $charsche_CurActLoc = 'void' $charsche_CurActDesc = 'waiting' charsche_CurActTime = 0 charsche_CurActPriority = 2 $charsche_PrevActLoc = '' $charsche_PrevActDesc = '' charsche_LastCheck = 0 gs 'mod_addedflavour_charsche' , 'addchar' $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[7],1,strpos($modArr_AF_VBallT_PlayerName[7],' ') - 1) $npc_firstname['A708'] = '<<$modVar_AF_TempStr>>' $npc_usedname['A708'] = '<<$modVar_AF_TempStr>>' $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[7],strpos($modArr_AF_VBallT_PlayerName[7],' ') + 1,len($modArr_AF_VBallT_PlayerName[7])) $npc_lastname['A708'] = '<<$modVar_AF_TempStr>>' npc_gender['A708'] = 1 charsche_ID = 708 $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_4' $charsche_CurActLoc = 'void' $charsche_CurActDesc = 'waiting' charsche_CurActTime = 0 charsche_CurActPriority = 2 $charsche_PrevActLoc = '' $charsche_PrevActDesc = '' charsche_LastCheck = 0 gs 'mod_addedflavour_charsche' , 'addchar' $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[8],1,strpos($modArr_AF_VBallT_PlayerName[8],' ') - 1) $npc_firstname['A709'] = '<<$modVar_AF_TempStr>>' $npc_usedname['A709'] = '<<$modVar_AF_TempStr>>' $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[8],strpos($modArr_AF_VBallT_PlayerName[8],' ') + 1,len($modArr_AF_VBallT_PlayerName[8])) $npc_lastname['A709'] = '<<$modVar_AF_TempStr>>' npc_gender['A709'] = 1 charsche_ID = 709 $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_5' $charsche_CurActLoc = 'void' $charsche_CurActDesc = 'waiting' charsche_CurActTime = 0 charsche_CurActPriority = 2 $charsche_PrevActLoc = '' $charsche_PrevActDesc = '' charsche_LastCheck = 0 gs 'mod_addedflavour_charsche' , 'addchar' $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[9],1,strpos($modArr_AF_VBallT_PlayerName[9],' ') - 1) $npc_firstname['A710'] = '<<$modVar_AF_TempStr>>' $npc_usedname['A710'] = '<<$modVar_AF_TempStr>>' $modVar_AF_TempStr = $MID($modArr_AF_VBallT_PlayerName[9],strpos($modArr_AF_VBallT_PlayerName[9],' ') + 1,len($modArr_AF_VBallT_PlayerName[9])) $npc_lastname['A710'] = '<<$modVar_AF_TempStr>>' npc_gender['A710'] = 1 charsche_ID = 710 $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_5' $charsche_CurActLoc = 'void' $charsche_CurActDesc = 'waiting' charsche_CurActTime = 0 charsche_CurActPriority = 2 $charsche_PrevActLoc = '' $charsche_PrevActDesc = '' charsche_LastCheck = 0 gs 'mod_addedflavour_charsche' , 'addchar' charsche_ID = 69 $charsche_HomeLoc = 'mod_addedflavour_city_hotel_Bedr_6' $charsche_CurActLoc = 'void' $charsche_CurActDesc = 'waiting' charsche_CurActTime = 0 charsche_CurActPriority = 2 $charsche_PrevActLoc = '' $charsche_PrevActDesc = '' charsche_LastCheck = 0 gs 'mod_addedflavour_charsche' , 'addchar' $charsche_Name = 'A19_CupEvent' charsche_ID = 19 charsche_StartTime = 1320 charsche_EndTime = 360 $charsche_Days = '56' gs 'mod_addedflavour_charsche' , 'addsleep' $charsche_Name = 'A18_CupEvent' charsche_ID = 18 charsche_StartTime = 1320 charsche_EndTime = 360 $charsche_Days = '56' gs 'mod_addedflavour_charsche' , 'addsleep' $charsche_Name = 'A13_CupEvent' charsche_ID = 13 charsche_StartTime = 1320 charsche_EndTime = 360 $charsche_Days = '56' gs 'mod_addedflavour_charsche' , 'addsleep' $charsche_Name = 'A705_CupEvent' charsche_ID = 705 charsche_StartTime = 1320 charsche_EndTime = 360 $charsche_Days = '56' gs 'mod_addedflavour_charsche' , 'addsleep' $charsche_Name = 'A706_CupEvent' charsche_ID = 706 charsche_StartTime = 1320 charsche_EndTime = 360 $charsche_Days = '56' gs 'mod_addedflavour_charsche' , 'addsleep' $charsche_Name = 'A707_CupEvent' charsche_ID = 707 charsche_StartTime = 1320 charsche_EndTime = 360 $charsche_Days = '56' gs 'mod_addedflavour_charsche' , 'addsleep' $charsche_Name = 'A708_CupEvent' charsche_ID = 708 charsche_StartTime = 1320 charsche_EndTime = 360 $charsche_Days = '56' gs 'mod_addedflavour_charsche' , 'addsleep' $charsche_Name = 'A709_CupEvent' charsche_ID = 709 charsche_StartTime = 1320 charsche_EndTime = 360 $charsche_Days = '56' gs 'mod_addedflavour_charsche' , 'addsleep' $charsche_Name = 'A710_CupEvent' charsche_ID = 710 charsche_StartTime = 1320 charsche_EndTime = 360 $charsche_Days = '56' gs 'mod_addedflavour_charsche' , 'addsleep' $charsche_Name = 'A69_CupEvent' charsche_ID = 69 charsche_StartTime = 1320 charsche_EndTime = 360 $charsche_Days = '56' gs 'mod_addedflavour_charsche' , 'addsleep' $charsche_Name = 'JuniorCupHotel - BedroomResting' $charsche_Location = 'HomeLoc' $charsche_Action = 'Resting' charsche_StartTime = 1 charsche_EndTime = 1440 charsche_MinLen = 5 charsche_MaxLen = 60 charsche_Priority = 2 charsche_Active = 1 charsche_LocConflict = 0 $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710XA69X' $charsche_Days = '567' gs 'mod_addedflavour_charsche' , 'addact' $charsche_Name = 'JuniorCupHotel - BedroomWatchTV' $charsche_Location = 'HomeLoc' $charsche_Action = 'Watch TV' charsche_StartTime = 360 charsche_EndTime = 1260 charsche_MinLen = 15 charsche_MaxLen = 60 charsche_Priority = 2 charsche_Active = 1 charsche_LocConflict = 0 $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710XA69X' $charsche_Days = '567' gs 'mod_addedflavour_charsche' , 'addact' $charsche_Name = 'JuniorCupHotel - BedroomBathing' $charsche_Location = 'HomeLoc' $charsche_Action = 'Bathing' charsche_StartTime = 390 charsche_EndTime = 1320 charsche_MinLen = 20 charsche_MaxLen = 30 charsche_Priority = 2 charsche_Active = 1 charsche_LocConflict = 1 $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710XA69X' $charsche_Days = '567' gs 'mod_addedflavour_charsche' , 'addact' $charsche_Name = 'JuniorCupHotel - BedroomSex' $charsche_Location = 'HomeLoc' $charsche_Action = 'Sex' charsche_StartTime = 1080 charsche_EndTime = 1260 charsche_MinLen = 15 charsche_MaxLen = 30 charsche_Priority = 2 charsche_Active = 1 charsche_LocConflict = 0 $charsche_Chars = 'A705XA706XA707XA708XA709XA710X' $charsche_Days = '567' gs 'mod_addedflavour_charsche' , 'addact' $charsche_Name = 'JuniorCupHotel - CommonRoomWorkout' $charsche_Location = 'mod_addedflavour_city_hotel_CoRm' $charsche_Action = 'Working Out' charsche_StartTime = 420 charsche_EndTime = 1260 charsche_MinLen = 20 charsche_MaxLen = 45 charsche_Priority = 2 charsche_Active = 1 charsche_LocConflict = 0 $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710X' $charsche_Days = '567' gs 'mod_addedflavour_charsche' , 'addact' $charsche_Name = 'JuniorCupHotel - CommonRoomYoga' $charsche_Location = 'mod_addedflavour_city_hotel_CoRm' $charsche_Action = 'Yoga' charsche_StartTime = 420 charsche_EndTime = 1260 charsche_MinLen = 20 charsche_MaxLen = 45 charsche_Priority = 2 charsche_Active = 1 charsche_LocConflict = 0 $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710X' $charsche_Days = '567' gs 'mod_addedflavour_charsche' , 'addact' $charsche_Name = 'JuniorCupHotel - CommonRoomEating' $charsche_Location = 'mod_addedflavour_city_hotel_CoRm' $charsche_Action = 'Eating' charsche_StartTime = 420 charsche_EndTime = 1260 charsche_MinLen = 10 charsche_MaxLen = 20 charsche_Priority = 2 charsche_Active = 1 charsche_LocConflict = 0 $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710XA69X' $charsche_Days = '567' gs 'mod_addedflavour_charsche' , 'addact' $charsche_Name = 'JuniorCupHotel - CommonRoomResting' $charsche_Location = 'mod_addedflavour_city_hotel_CoRm' $charsche_Action = 'Resting' charsche_StartTime = 360 charsche_EndTime = 1260 charsche_MinLen = 5 charsche_MaxLen = 60 charsche_Priority = 2 charsche_Active = 1 charsche_LocConflict = 0 $charsche_Chars = 'A19XA18XA13XA705XA706XA707XA708XA709XA710XA69X' $charsche_Days = '567' gs 'mod_addedflavour_charsche' , 'addact' $charsche_Name = 'JuniorCupHotel - HallIdle' $charsche_Location = 'mod_addedflavour_city_hotel_Hall' $charsche_Action = 'Idle' charsche_StartTime = 420 charsche_EndTime = 1260 charsche_MinLen = 30 charsche_MaxLen = 60 charsche_Priority = 2 charsche_Active = 1 charsche_LocConflict = 0 $charsche_Chars = 'A69X' $charsche_Days = '567' gs 'mod_addedflavour_charsche' , 'addact' gs 'mod_addedflavour_Volleyball' , 'SortTournamentPlayers' gs 'mod_addedflavour_SFLA_Functions' , 'ActivityImage-Config' gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 19 , 'mod_addedflavour_city_hotel_Bedr_1' , 'Resting' , 30 elseif $ARGS[1] = 'end': gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 19 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 18 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 13 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 705 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 706 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 707 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 708 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 709 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 710 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomResting' , 'Remove' , 69 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 19 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 18 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 13 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 705 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 706 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 707 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 708 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 709 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 710 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomWatchTV' , 'Remove' , 69 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 19 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 18 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 13 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 705 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 706 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 707 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 708 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 709 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomBathing' , 'Remove' , 710 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 705 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 706 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 707 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 708 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 709 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 710 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - BedroomSex' , 'Remove' , 69 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 19 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 18 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 13 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 705 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 706 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 707 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 708 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 709 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomWorkout' , 'Remove' , 710 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 19 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 18 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 13 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 705 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 706 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 707 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 708 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 709 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomYoga' , 'Remove' , 710 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 19 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 18 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 13 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 705 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 706 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 707 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 708 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 709 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 710 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomEating' , 'Remove' , 69 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 19 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 18 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 13 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 705 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 706 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 707 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 708 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 709 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 710 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - CommonRoomResting' , 'Remove' , 69 gs 'mod_addedflavour_charsche' , 'acttools' , 'actchars' , 'JuniorCupHotel - HallIdle' , 'Remove' , 69 gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 19 , 'Void' , 'Idle' , 5 gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 18 , 'Void' , 'Idle' , 5 gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 13 , 'Void' , 'Idle' , 5 gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 705 , 'Void' , 'Idle' , 5 gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 706 , 'Void' , 'Idle' , 5 gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 707 , 'Void' , 'Idle' , 5 gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 708 , 'Void' , 'Idle' , 5 gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 709 , 'Void' , 'Idle' , 5 gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 710 , 'Void' , 'Idle' , 5 gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 69 , 'Void' , 'Idle' , 5 end end if $ARGS[0] = 'JuniorCupDirector': if hour >= 21 and strpos($loc,'mod_addedflavour_city_hotel_B') = 0 and modVar_AF_EventOpen['A69-HotelSneak'] ! 1: gt 'mod_addedflavour_A69_Functions' , 'JCD-Curfew' elseif hour >= 23 or hour < 6: gt 'mod_addedflavour_A69_Functions' , 'JCD-Sleep' elseif hour = 8: if week = 6 : gt 'mod_addedflavour_A69_Events' , 'A69-Saturday-1' , 'Late' if week = 7 : gt 'mod_addedflavour_A69_Events' , 'A69-Sunday-1' , 'Late' end end if $ARGS[0] = 'JCD-Curfew': *clr & cla gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 19 , 'mod_addedflavour_city_hotel_Bedr_1' , 'Resting' , 30 gs 'stat' '
' *nl 'You have hit your 9pm curfew so rush back to your Hotel Room.' act 'Reach your room' : gt 'mod_addedflavour_city_hotel_Bedr' , 'start' , 1 end if $ARGS[0] = 'JCD-Sleep': *clr & cla $loc = 'mod_addedflavour_city_hotel_Bedr' $loc_arg = 'start1' gs 'stat' '
' *nl 'You decide it is time to get some sleep as you have a busy day ahead of you...' act 'Get some sleep': *clr & cla if hour < 6: minut += 360 - ((hour * 60) + minut) else minut += (1440 - ((hour * 60) + minut)) + 360 end minut += rand(0,15) pcs_mood += 60 pcs_sleep += 100 pcs_health += 50 gs 'mod_addedflavour_charsche' , 'chkschedule' gs 'mod_addedflavour_charsche' , 'acttools' , 'forceact' , 19 , 'mod_addedflavour_city_hotel_Bedr_1' , 'Resting' , 15 gs'stat' '
' *nl '
You sleep the deep sleep of someone who is very satisfied...
' act 'Wake Up' : gt $loc, $loc_arg end end if $ARGS[0] = 'TournamentInformation': *clr & cla if $loc = 'mod_addedflavour_city_hotel_Hall' : minut += rand(1,3) & gs 'mod_addedflavour_A69_Functions' , 'JuniorCupDirector' '

Tournament Information

' gs 'stat' if $ARGS[1] ! '': 'Team:' *nl ListTeamCount = 0 modVar_AF_Temp = 0 :ListTeamLoopStart if ListTeamCount >= arrsize('$modArr_AF_VBallT_PlayerName') : jump 'ListTeamLoopEnd' if $modArr_AF_VBallT_PlayerTeam[ListTeamCount] = $ARGS[1]: modVar_AF_Temp += modArr_AF_VBallT_PlayerSkill[ListTeamCount] '<<$modArr_AF_VBallT_PlayerName[ListTeamCount]>> - Skill Level: <>' end ListTeamCount += 1 jump 'ListTeamLoopStart' :ListTeamLoopEnd *nl ' Team Average = <>' act 'Return' : gt 'mod_addedflavour_A69_Functions' , 'TournamentInformation' else 'Teams' 'Pavlovsk Falcons' 'Gatchina Chiefs' 'Kolpino Panthers' 'Bor Bears' 'Vsevolozhsk Jets' 'Olkhovsky Warriors' 'Bolshaya Chargers' 'Primorsky Predators' *nl 'Top 10 Rated Players:' gs 'mod_addedflavour_Volleyball' , 'SortTournamentPlayers' '<<$modArr_AF_VBallT_PlayerName[0]>> (<<$modArr_AF_VBallT_PlayerTeam[0]>>) - Skill Level: <>' '<<$modArr_AF_VBallT_PlayerName[1]>> (<<$modArr_AF_VBallT_PlayerTeam[1]>>) - Skill Level: <>' '<<$modArr_AF_VBallT_PlayerName[2]>> (<<$modArr_AF_VBallT_PlayerTeam[2]>>) - Skill Level: <>' '<<$modArr_AF_VBallT_PlayerName[3]>> (<<$modArr_AF_VBallT_PlayerTeam[3]>>) - Skill Level: <>' '<<$modArr_AF_VBallT_PlayerName[4]>> (<<$modArr_AF_VBallT_PlayerTeam[4]>>) - Skill Level: <>' '<<$modArr_AF_VBallT_PlayerName[5]>> (<<$modArr_AF_VBallT_PlayerTeam[5]>>) - Skill Level: <>' '<<$modArr_AF_VBallT_PlayerName[6]>> (<<$modArr_AF_VBallT_PlayerTeam[6]>>) - Skill Level: <>' '<<$modArr_AF_VBallT_PlayerName[7]>> (<<$modArr_AF_VBallT_PlayerTeam[7]>>) - Skill Level: <>' '<<$modArr_AF_VBallT_PlayerName[8]>> (<<$modArr_AF_VBallT_PlayerTeam[8]>>) - Skill Level: <>' '<<$modArr_AF_VBallT_PlayerName[9]>> (<<$modArr_AF_VBallT_PlayerTeam[9]>>) - Skill Level: <>' *nl gs 'mod_addedflavour_Volleyball' , 'SortLeagues' '
League A
League B
Team NameWinsPoints ForPoints AgainstTeam NameWinsPoints ForPoints Against
<<$modArr_AF_VLeagueA_TeamName[0]>><><><><<$modArr_AF_VLeagueB_TeamName[0]>><><><>
<<$modArr_AF_VLeagueA_TeamName[1]>><><><><<$modArr_AF_VLeagueB_TeamName[1]>><><><>
<<$modArr_AF_VLeagueA_TeamName[2]>><><><><<$modArr_AF_VLeagueB_TeamName[2]>><><><>
<<$modArr_AF_VLeagueA_TeamName[3]>><><><><<$modArr_AF_VLeagueB_TeamName[3]>><><><>
' act 'Return' : gt $loc, $loc_arg end end --- mod_addedflavour_A69_Functions ---------------------------------