}else{ $log .= "外れた・・・ また挑戦してくださいネェ♪<br>\n"; $tm = 0; $cmd = 5; # この2行を追加 &shop_exe; # # $tm = $cmd = 0; # &shop_menu; }