- 851 名前:名前は開発中のものです。 mailto:sage [2010/01/17(日) 21:18:08 ID:4KJvhmQo]
- 慣れてないと難しいかもしれない。少し実験してみて
s=0 SYNC ON SYNC RATE 60 do rem WSが押されるとs=1となりタイマー開始する。 if keystate(17)=1 and keystate(31)=1 and s=0 s=1 t=timer() print "test set" endif rem 途中でA+Sを解除した場合、Sをリセットする if keystate(17)=0 or keystate(31)=0 s=0 print "test reset" endif rem WS+sでかつ、タイマーが規定値を超えた時の処理 if keystate(17)=1 and keystate(31)=1 and s=1 t2=timer()-t if t2>3000 s=0 print "-------3000" endif endif sync loop
|

|