WHILE 1 BT=BUTTON() BT2=NOT OLD AND BT OLD=BT IF !(BT AND 15)&&(BT2 AND 16)&&(BT2 AND 32) THEN BEEP VSYNC 3 WEND 'こんなもんですかね。