I read the MSfD for any clues, and I got the suspicion that the game can't handle such a long list of if's. Could someone take a view?
Begin MH_q_001_sshort MH_q_001_var ; this is a counter, if the player has all 45 books this should be == 45, making this script to workshort doonceshort var_01; basicly these are doonce for the various if'sshort var_02short var_03short var_04short var_05short var_06short var_07short var_08short var_09short var_10short var_11short var_12short var_13short var_14short var_15short var_16short var_17short var_18short var_19short var_20short var_21short var_22short var_23short var_24short var_25short var_26short var_27short var_28short var_29short var_30short var_31short var_32short var_33short var_34short var_35short var_36short var_37short var_38short var_39short var_40short var_41short var_42short var_43short var_44short var_45If ( var_01 == 0) ; this is the doonceIf ( player->GetItemCount, "bk_ABCs" >= 1 ) set MH_q_001_var to MH_q_001_var +1 ; if the player has the book, set the var. to +1 set var_01 to 1 ; end of doonceendifendifIf ( var_02 == 0)If ( player->GetItemCount, "bk_AedraAndDaedra" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_02 to 1endifendifif ( var_03 == 0)If ( player->GetItemCount, "bk_AnnotatedAnuad" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_03 to 1endifendifif ( var_04 == 0)If ( player->GetItemCount, "bk_ChildrensAnuad" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_04 to 1endifendifif ( var_05 == 0)If ( player->GetItemCount, "bk_Anticipations" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_05 to 1endifendifif ( var_06 == 0)If ( player->GetItemCount, "bk_ArcturianHeresy" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_06 to 1endifendifif ( var_07 == 0)If ( player->GetItemCount, "bk_BiographyBarenziah1" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_07 to 1endifendifif ( var_08 == 0)If ( player->GetItemCount, "bk_BiographyBarenziah2" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_08 to 1endifendifif ( var_09 == 0)If ( player->GetItemCount, "bk_BiographyBarenziah3" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_09 to 1endifendifif ( var_10 == 0)If ( player->GetItemCount, "bk_BriefHistoryEmpire1" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_10 to 1endifendifif ( var_11 == 0)If ( player->GetItemCount, "bk_BriefHistoryEmpire2" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_11 to 1endifendifif ( var_12 == 0)If ( player->GetItemCount, "bk_BriefHistoryEmpire3" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_12 to 1endifendifif ( var_13 == 0)If ( player->GetItemCount, "bk_BriefHistoryEmpire4" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_13 to 1endifendifif ( var_14 == 0)If ( player->GetItemCount, "bk_BrothersOfDarkness" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_14 to 1endifendifif ( var_15 == 0)If ( player->GetItemCount, "bk_ChangedOnes" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_15 to 1endifendifif ( var_16 == 0)If ( player->GetItemCount, "bk_ChildrenOfTheSky" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_16 to 1endifendifif ( var_17 == 0)If ( player->GetItemCount, "bk_ChroniclesNchuleft" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_17 to 1endifendifif ( var_18 == 0)If ( player->GetItemCount, "bk_frontierconquestaccommodat" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_18 to 1endifendifif ( var_19 == 0)If ( player->GetItemCount, "bk_galerionthemystic" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_19 to 1endifendifif ( var_20 == 0)If ( player->GetItemCount, "bk_InvocationOfAzura" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_20 to 1endifendifif ( var_21 == 0)If ( player->GetItemCount, "bk_LivesOfTheSaints" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_21 to 1endifendifif ( var_22 == 0)If ( player->GetItemCount, "bk_MixedUnitTactics" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_22 to 1endifendifif ( var_23 == 0)If ( player->GetItemCount, "bk_MysteriousAkavir" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_23 to 1endifendifif ( var_24 == 0)If ( player->GetItemCount, "bk_Mysticism" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_24 to 1endifendifif ( var_25 == 0)If ( player->GetItemCount, "bk_nchunaksfireandfaith" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_25 to 1endifendifif ( var_26 == 0)If ( player->GetItemCount, "bk_oldways" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_26 to 1endifendifif ( var_27 == 0)If ( player->GetItemCount, "bk_onoblivion" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_27 to 1endifendifif ( var_28 == 0)If ( player->GetItemCount, "bk_OriginOfTheMagesGuild" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_28 to 1endifendifif ( var_29 == 0)If ( player->GetItemCount, "bk_OverviewOfGodsAndWorship" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_29 to 1endifendifif ( var_30 == 0)If ( player->GetItemCount, "bk_PigChildren" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_30 to 1endifendifif ( var_31 == 0)If ( player->GetItemCount, "bk_PilgrimsPath" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_31 to 1endifendifif ( var_32 == 0)If ( player->GetItemCount, "bk_RealBarenziah1" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_32 to 1endifendifif ( var_33 == 0)If ( player->GetItemCount, "bk_RealBarenziah2" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_33 to 1endifendifif ( var_34 == 0)If ( player->GetItemCount, "bk_RealBarenziah3" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_34 to 1endifendifif ( var_35 == 0)If ( player->GetItemCount, "bk_RealBarenziah4" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_35 to 1endifendifif ( var_36 == 0)If ( player->GetItemCount, "bk_RealBarenziah5" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_36 to 1endifendifif ( var_37 == 0)If ( player->GetItemCount, "bk_reflectionsoncultworship..." >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_37 to 1endifendifif ( var_38 == 0)If ( player->GetItemCount, "bk_tamrielicreligions" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_38 to 1endifendifif ( var_39 == 0)If ( player->GetItemCount, "bk_SaryonisSermons" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_39 to 1endifendifif ( var_40 == 0)If ( player->GetItemCount, "bk_specialfloraoftamriel" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_40 to 1endifendifif ( var_41 == 0)If ( player->GetItemCount, "bk_truenatureoforcs" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_41 to 1endifendifif ( var_42 == 0)If ( player->GetItemCount, "bk_vampiresofvvardenfell1" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_42 to 1endifendifif ( var_43 == 0)If ( player->GetItemCount, "bk_vivecandmephala" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_43 to 1endifendifif ( var_44 == 0)If ( player->GetItemCount, "bk_wildelves" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_44 to 1endifendifif ( var_45 == 0)If ( player->GetItemCount, "bk_yellowbookofriddles" >= 1 )set MH_q_001_var to MH_q_001_var +1 set var_45 to 1endifendifif ( doonce == 0) ; this is the second part, when I modify the first part slightly this works sometimes, so I didnt really touch itif ( MH_q_001_var == 45) ; this is the "main" counterplayer->removeitem "bk_ABCs" 1player->removeitem "bk_AedraAndDaedra" 1player->removeitem "bk_AnnotatedAnuad" 1player->removeitem "bk_ChildrensAnuad" 1player->removeitem "bk_Anticipations" 1player->removeitem "bk_ArcturianHeresy" 1player->removeitem "bk_BiographyBarenziah1" 1player->removeitem "bk_BiographyBarenziah2" 1player->removeitem "bk_BiographyBarenziah3" 1player->removeitem "bk_BriefHistoryEmpire1" 1player->removeitem "bk_BriefHistoryEmpire2" 1player->removeitem "bk_BriefHistoryEmpire3" 1player->removeitem "bk_BriefHistoryEmpire4" 1player->removeitem "bk_BrothersOfDarkness" 1player->removeitem "bk_ChangedOnes" 1player->removeitem "bk_ChildrenOfTheSky" 1player->removeitem "bk_ChroniclesNchuleft" 1player->removeitem "bk_frontierconquestaccommodat" 1player->removeitem "bk_galerionthemystic" 1player->removeitem "bk_InvocationOfAzura" 1player->removeitem "bk_LivesOfTheSaints" 1player->removeitem "bk_MixedUnitTactics" 1player->removeitem "bk_MysteriousAkavir" 1player->removeitem "bk_Mysticism" 1player->removeitem "bk_nchunaksfireandfaith" 1player->removeitem "bk_oldways" 1player->removeitem "bk_onoblivion" 1player->removeitem "bk_OriginOfTheMagesGuild" 1player->removeitem "bk_OverviewOfGodsAndWorship" 1player->removeitem "bk_PigChildren" 1player->removeitem "bk_PilgrimsPath" 1player->removeitem "bk_RealBarenziah1" 1player->removeitem "bk_RealBarenziah2" 1player->removeitem "bk_RealBarenziah3" 1player->removeitem "bk_RealBarenziah4" 1player->removeitem "bk_RealBarenziah5" 1player->removeitem "bk_reflectionsoncultworship..." 1player->removeitem "bk_tamrielicreligions" 1player->removeitem "bk_SaryonisSermons" 1player->removeitem "bk_specialfloraoftamriel" 1player->removeitem "bk_truenatureoforcs" 1player->removeitem "bk_vampiresofvvardenfell1" 1player->removeitem "bk_vivecandmephala" 1player->removeitem "bk_wildelves" 1player->removeitem "bk_yellowbookofriddles" 1player->additem "MH_q_002" 1 ; this isn't essentialjournal MH_J_Booklist 15MessageBox, "Here is some text"set doonce to 1endifendifend