the batter steps into the box: Under
all codes, if detected, the umpire can direct the player to switch to a legal
bat. There is no penalty.
batter is in the box but has not seen a pitch: Under NFHS and pro rules, the batter is considered to have used
the illegal bat as soon as he steps into the box.