■吉里吉里2/KAG3雑談質問スレ■at GAMEDEV■吉里吉里2/KAG3雑談質問スレ■ - 暇つぶし2ch■コピペモード□スレを通常表示□オプションモード□このスレッドのURL■項目テキスト884:名前は開発中のものです。 03/02/10 18:30 wAbXTdvs なんか、健気だ。 885:862(=882) 03/02/10 19:13 HK5iMaxI 結構凹んでたので、嬉しかったです。ありがとう。 メッセージ履歴のやつ、やってみました。 ―MainWindow.tjs1283行目付近 forEachEventHook('onRestore', function(handler, f) { handler(f.flags, f.clear, f.options); } incontextof this, %[flags:f, clear:clear, options:elm]); の後に、 loaded=true; を追加して…… 886:first.ka 03/02/10 19:15 HK5iMaxI [eval exp="var loaded=false"] [macro name=historyStore][eval exp="historyStore()"][endmacro] [macro name=historyRestore][eval exp="historyRestore()"][endmacro] [iscript] function historyStore() { var i; f.history=[]; for(i=0;i<kag.historyLayer.data.count;i++) { f.history[i]=kag.historyLayer.data[i]; }} function historyRestore() { if(loaded==true) { var i; kag.historyLayer.clear(); kag.historyLayer.dataPos=0; for(i=0;i<f.history.count;i++) { kag.historyLayer.currentLine = f.history[i]; if(i!=f.history.count-1) kag.historyLayer.reline(); } loaded=false; }} [endscript] 次ページ最新レス表示レスジャンプ類似スレ一覧スレッドの検索話題のニュースおまかせリストオプションしおりを挟むスレッドに書込スレッドの一覧暇つぶし2ch