Heres the script:
begin mc_clothingswapscriptshort currentdayshort localdayshort shirtchangeshort pajammasif ( currentday != Day ) set currentday to day set localday to ( localday + 1 ) set shirtchange to 0endifif ( pajammas == 0 ) if ( gamehour >= 20 ) equip, "nightgown" set pajammas to 1endifif ( shirtchange == 0 ) if ( localday == 1 ) if ( gamehour >= 6 ) equip, "extravagant_robe_01_c" set shirtchange to 1 set pajammas to 0 endif endif if ( localday == 2 ) if ( gamehour >= 6 ) equip, "extravagant_robe_01_h" set shirtchange to 1 set pajammas to 0 endif endif if ( localday == 3 ) if ( gamehour >= 6 ) equip, "extravagant_robe_01_r" set shirtchange to 1 set pajammas to 0 endif endif if ( localday == 4 ) if ( gamehour >= 6 ) equip, "extravagant_robe_01_t" set shirtchange to 1 set pajammas to 0 endif endif if ( localday == 5 ) if ( gamehour >= 6 ) equip, "extravagant_robe_01" set shirtchange to 1 set pajammas to 0 endif endif if ( localday == 6 ) if ( gamehour >= 6 ) equip, "extravagant_robe_01_a" set shirtchange to 1 set pajammas to 0 endif endif if ( localday == 7 ) if ( gamehour >= 6 ) equip, "extravagant_robe_01_b" set shirtchange to 1 set pajammas to 0 set localday to 0 endif endifendifend mc_clothingswapscript