Here's the easy part... Time hat / pants / swords / chrome weapon.
# DOO DOO DOO-DOO, DOO-DOO, DOO-DOO, IT'S PAJAMA-TIME!
# equip hat...
if( item_amount( $item[time helmet] ) > 0 )
{
equip_slot( $slot[hat], $item[time helmet] );
}
# equip pants...
if( item_amount( $item[time trousers] ) > 0...