//**** ʱƲ *******************************************************************************************************

$TimeCalc
{
{$timecalcl={$timecalcn}}
{$timecalcn=({$daysfromfirstboot}*24*60)+({$hour}*60)+{$minute}}
{$timecalcs={$timecalcn}-{$timecalcl}}
}

//****  *******************************************************************************************************

$OnFirstBoot
{$timecalcn=({$daysfromfirstboot}*24*60)+({$hour}*60)+{$minute}}{$Firstboot}\e

//****  ***********************************************************************************************************

$OnBoot
{
{$TimeCalc}
{$HourZone}
{$Sound2}
{$temp1={$month}}{$if ({$temp1}<=9) { {$temp1="0{$temp1}"} }}
{$temp2={$day}}{$if ({$temp2}<=9) { {$temp2="0{$temp2}"} }}
{$temp3={$dayofweek}}{$temp3="w{$temp3}"}
{$_talk={$Boot}}
{$temp={$Boot{$timezone}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Boot.00{$temp3}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Boot.00/{$temp2}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Boot.{$temp1}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Boot.{$temp1}/00{$temp3}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Boot.{$temp1}/{$temp2}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Boot{$timezone}.00{$temp3}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Boot{$timezone}.00/{$temp2}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Boot{$timezone}.{$temp1}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Boot{$timezone}.{$temp1}{$temp3}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Boot{$timezone}.{$temp1}/{$temp2}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Boot.Short}}
{$if (({$length($temp)}>0) && ({$timecalcs}<=3)) { {$_talk={$temp}} }}
{$temp={$Boot{$timezone}.Short}}
{$if (({$length($temp)}>0) && ({$timecalcs}<=3)) { {$_talk={$temp}} }}
{$temp={$Boot.Long}}
{$if (({$length($temp)}>0) && (10080<={$timecalcs})) { {$_talk={$temp}} }}
{$temp={$Boot{$timezone}.Long}}
{$if (({$length($temp)}>0) && (10080<={$timecalcs})) { {$_talk={$temp}} }}
{$_talk}\w9\w9\e
}

//****  ***********************************************************************************************************

$OnClose
{
{$TimeCalc}
{$HourZone}
{$temp1={$month}}{$if ({$temp1}<10) { {$temp1="0{$temp1}"} }}
{$temp2={$day}}{$if ({$temp2}<10) { {$temp2="0{$temp2}"} }}
{$temp3={$dayofweek}}{$temp3="w{$temp3}"}
{$_talk={$Close}}
{$temp={$Close{$timezone}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Close.00{$temp3}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Close.00{$temp2}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Close.{$temp1}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Close.{$temp1}{$temp3}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Close.{$temp1}{$temp2}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Close{$timezone}.00{$temp3}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Close{$timezone}.00{$temp2}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Close{$timezone}.{$temp1}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Close{$timezone}.{$temp1}{$temp3}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Close{$timezone}.{$temp1}{$temp2}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Close.Short}}
{$if (({$length($temp)}>0) && ({$timecalcs}<=3)) { {$_talk={$temp}} }}
{$temp={$Close{$timezone}.Short}}
{$if (({$length($temp)}>0) && ({$timecalcs}<=3)) { {$_talk={$temp}} }}
{$intimacy+=1}
{$_talk}\w9\w9\-
{$ValClear}\e
}

//**** ʱ䎡ж *****************************************************************************************************

$HourZone
{
{$if ((4<={$hour}) && ({$hour}<=6)) { {$timezone="Earlymorning"} }}
{$if ((7<={$hour}) && ({$hour}<=10)) { {$timezone="Morning"} }}
{$if ((11<={$hour}) && ({$hour}<=16)) { {$timezone="Day"} }}
{$if ((17<={$hour}) && ({$hour}<=18)) { {$timezone="Evening"} }}
{$if ((19<={$hour}) && ({$hour}<=23)) { {$timezone="Night"} }}
{$if ((0<={$hour}) && ({$hour}<=3)) { {$timezone="Midnight"} }}
}

//**** С *********************************************************************************************************

$OnWindowStateMinimize
{$minimize=1}{$minimizetime=0}\e

//**** С鸴 *************************************************************************************************

$OnWindowStateRestore;{$if ({$minimizetime}>=60)}
{$minimize=0}{$WindowStateRestoreLong}\e

$OnWindowStateRestore
{$minimize=0}{$WindowStateRestore}\e

//**** Υ`Ȥ؉ *********************************************************************************************

$OnGhostChanging
{
{$TimeCalc}
{$_talk={$Ghostchanging}}
//{$temp={$Ghostchanging_R}}
//{$if (({$length($temp)}>0) && ({$reference(0)}=={$lastchangedghost})) { {$_talk={$temp}} }}
{$temp={$Ghostchanging.{$reference(0)}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
//{$temp={$Ghostchanging.{$reference(0)}_R}}
//{$if (({$length($temp)}>0) && ({$reference(0)}=={$lastchangedghost})) { {$_talk={$temp}} }}
{$temp={$GhostchangingAuto}}
{$if (({$length($temp)}>0) && ({$reference(1)}=="automatic")) { {$_talk={$temp}} }}
{$temp={$GhostchangingAuto.{$reference(0)}}}
{$if (({$length($temp)}>0) && ({$reference(1)}=="automatic")) { {$_talk={$temp}} }}
{$_talk}
{$ValClear}\w9\w9
}

//**** Υ`ȤΉ *****************************************************************************************

$OnGhostChanged
{
{$TimeCalc}
{$HourZone}
{$temp1={$month}}{$if ({$temp1}<=9) { {$temp1="0{$temp1}"} }}
{$temp2={$day}}{$if ({$temp2}<=9) { {$temp2="0{$temp2}"} }}
{$temp3={$dayofweek}}{$temp3="w{$temp3}"}

//{$lastchangedghost={$reference(0)}}
{$_talk={$Ghostchanged}}
{$temp={$Ghostchanged.{$reference(0)}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Ghostchanged.{$temp1}/{$temp2}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$Ghostchanged.{$reference(0)}.{$temp1}/{$temp2}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$_talk}\w9\w9\e
}

//**** Ф椨 *************************************************************************************************

$OnShellChanging
{$TalkShellchanging}

$OnShellChanged
{$TalkShellchanged}

//**** ָʾ *******************************************************************************************************

$OnVanishSelecting
{$TalkVanishSelecting}

//---- ȷʱYESѡk --------------------------------------------------------------------------------------------------

$OnVanishSelected
{$TalkVanishSelected}

//---- ȷʱNOѡk ---------------------------------------------------------------------------------------------------

$OnVanishCancel
{$TalkVanishCancel}

//----  ---------------------------------------------------------------------------------------------------

$OnVanishButtonHold
{$TalkVanishButtonHold}

//---- ֱǰΥ` ---------------------------------------------------------------------------------------------

$OnVanished
{$TalkVanished}

//**** ʱ ***********************************************************************************************************

$OnMinuteChange; {$if ({$lasthour}!={$hour})}
{$_OnHourChange}{$lasthour={$hour}}

$_OnHourChange
{$TalkTime{$hour}}

//**** Uʱ *******************************************************************************************************

//---- OS -------------------------------------------------------------------------------------------------------------

//$OnMinuteChange; {$if (({$lastelapsedhour}!={$elapsedhouros}) && ({$parawork}==0))}
//
//{$temp={$elapsedhouros}}
//{$if ({$TimeWork}!={$temp}) { {$TimeWork={$temp}}{$CallWorktime} }}
//{$lastelapsedhour={$elapsedhouros}}
//

//---- ` -------------------------------------------------------------------------------------------------------

$OnMinuteChange; {$if (({$lastelapsedhour}!={$elapsedhour}) && ({$parawork}!=0))}
{
{$temp={$elapsedhour}}
{$if ({$TimeWork}!={$temp}) { {$TimeWork={$temp}}{$CallWorktime} }}
{$lastelapsedhour={$elapsedhour}}
}

$CallWorktime
{
{$if ((0<{$TimeWork}) && ({$TimeWork}<5)) { {$TalkWorktimeVeryshort} }}
{$if ((5<={$TimeWork}) && ({$TimeWork}<8)) { {$TalkWorktimeShort} }}
{$if ((8<={$TimeWork}) && ({$TimeWork}<11)) { {$TalkWorktimeMiddle} }}
{$if ((11<={$TimeWork}) && ({$TimeWork}<20)) { {$TalkWorktimeLong} }}
{$if ((20<={$TimeWork})) { {$TalkWorktimeVerylong} }}
}

//---- С ---------------------------------------------------------------------------------------------------------

$OnMinuteChange;{$if ({$minimize}==1)}
{$minimizetime++}

//----  -----------------------------------------------------------------------------------------------------------

$OnSecondChange;{$if ({$headpatflag}==1)}
{$if ({$_headpatcount}>=30) { {$headpatflag=0}{$_headpatcount=0}{$headpatcount=0} } else { {$_headpatcount++} }}

//**** IФ?ؤʤ꣩ ***************************************************************************************

$OnSecondChange;{$if (({$mikireflag}) && ({$reference(1)}==0) && ({$mikireswitch}==1))}
{$mikirecount=0}{$mikireflag=false}{$mikiretalkedflag=false}{$Mikirez}

$OnSecondChange;{$if (({$kasanariflag}) && ({$reference(2)}==0) && ({$kasanariswitch}==1))}
{$kasanaricount=0}{$kasanariflag=false}{$kasanaritalkedflag=false}

$OnSecondChange;{$if (({$mikireflag}) && ({$mikiretalkedflag}==false) && ({$mikireswitch}==1))}
{$mikiretalkedflag=true}{$Mikire}

$OnSecondChange;{$if (({$kasanariflag}) && ({$kasanaritalkedflag}==false) && ({$kasanariswitch}==1))}
{$kasanaritalkedflag=true}{$Kasanari}


//---- ȩ`k ---------------------------------------------------------------------------------------------

$OnSecondChange; {$if ({$talkcount}>{$talkinterval})}
{$talkcount=0}{$if (({$talkinterval}>0) && ({$reference(3)}!=0)) { {$Talk} }}

$OnSecondChange
{
{$mikirecount+={$reference(1)}}
{$kasanaricount+={$reference(2)}}
{$mikireflag={$if ({$mikirecountmax}<={$mikirecount})}}
{$kasanariflag={$if ({$kasanaricountmax}<={$kasanaricount})}}
{$talkcount++}
}

//**** `ե鱨ȡ *********************************************************************************************

$OnSurfaceChange
{$SakuraFace={$reference(0)}}{$KeroFace={$reference(1)}}

//**** `ե *************************************************************************************************

$OnSurfaceRestore
{
{$_talk={$TalkReturn}}
{$temp={$TalkReturn{$reference(0)}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$temp={$TalkReturn{$reference(1)}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$_talk}\e
}

//**** ޥ٥ *************************************************************************************************

//---- ͻ -----------------------------------------------------------------------------------------------------------

$OnMouseDoubleClick
{$if ({$reference(3)}==0) { {$_talk={$TalkSakura{$reference(4)}Click}}{$_talk}{$TalkSakuraClick} }{ {$_talk={$TalkKero{$reference(4)}Click}}{$_talk}{$TalkKeroClick} }}

//----  -----------------------------------------------------------------------------------------------------------

$OnMouseMove
{
{$temp1={$reference(3)}}{$temp2={$reference(4)}}
{$if ({$temp1}==0) { {$temp=Sakura{$temp2}Pat} }{ {$temp=Kero{$temp2}Pat} }}
{$limitpat={$Limit{$temp}}}{$if (0<{$limitpat}) { {$halfpat={$limitpat}}{$halfpat/=2}{$CallPat} }}
}

$TalkSakuraHeadPat
{
{$headpatflag=1}{$_headpatcount=0}
{$_talk={$TalkSakuraHeadPat_{$Phase}}}
{$temp={$TalkSakuraHeadPat_{$Phase}.{$headpatcount}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}}{$headpatcount++} }}
{$_talk}\e
}



$CallPat
{
{$if ({$limitpat}<={$getmousemovecount({$temp1},{$temp2})}) { {$resetmousemovecount({$temp1},{$temp2})}{$halfpatflag=0}{$_talk={$Talk{$temp}}}{$_talk} }}
{$if (({$halfpat}<={$getmousemovecount({$temp1},{$temp2})}) && ({$halfpatflag}==0)) { {$halfpatflag=1}{$_talk={$Talk{$temp}Half}}{$_talk} }}
}

//---- 󥰥륯å -----------------------------------------------------------------------------------------------

//$OnMouseClick

//---- ۥ` -------------------------------------------------------------------------------------------------------

//$OnMouseWheel

//---- `ܩ` -----------------------------------------------------------------------------------------------------

//$OnKeyPress

//**** ե` *******************************************************************************************************

$Phase
{
{$_phase="1"}
{$if ({$intimacy}<=-10) { {$_phase="0"} }}
{$if (({$elapsedhourtotal}>=24) && ({$intimacy}>50)) { {$_phase="2"} }}
{$if ({$partingflag}=="1") { {$_phase="3"} }}
{$_phase}
}

//**** 󥹥ȩ` ***************************************************************************************************

$OnInstallBegin
{$TalkInstallbegin}

$OnInstallComplete
{
{$temp1={$reference(0)}}{$InstallName={$reference(1)}}
{$_talk={$TalkInstall}}
{$temp={$TalkInstall{$temp1}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$_talk}\e
}

$OnInstallFailure
{
{$temp1={$reference(0)}}
{$_talk={$TalkInstallfail}}
{$temp={$TalkInstallfail{$temp1}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$_talk}\e
}

$OnInstallRefuse
{$TalkInstallrefuse}

//**** եɥå ***********************************************************************************************

$OnFileDropping
{$FileDropping}\e

$OnFileDrop2;{$if ({$insentence({$reference(0)},".png")})}
{$filename={$reference(0)}}{$_PictureFileDrop}
$OnFileDrop2;{$if ({$insentence({$reference(0)},".jpeg")})}
{$filename={$reference(0)}}{$_PictureFileDrop}
$OnFileDrop2;{$if ({$insentence({$reference(0)},".jpg")})}
{$filename={$reference(0)}}{$_PictureFileDrop}
$OnFileDrop2;{$if ({$insentence({$reference(0)},".bmp")})}
{$filename={$reference(0)}}{$_PictureFileDrop}
$OnFileDrop2;{$if ({$insentence({$reference(0)},".PNG")})}
{$filename={$reference(0)}}{$_PictureFileDrop}
$OnFileDrop2;{$if ({$insentence({$reference(0)},".JPEG")})}
{$filename={$reference(0)}}{$_PictureFileDrop}
$OnFileDrop2;{$if ({$insentence({$reference(0)},".JPG")})}
{$filename={$reference(0)}}{$_PictureFileDrop}
$OnFileDrop2;{$if ({$insentence({$reference(0)},".BMP")})}
{$filename={$reference(0)}}{$_PictureFileDrop}

$OnFileDrop2;{$if ({$insentence({$reference(0)},".mid")})}
{$filename={$reference(0)}}{$_MusicFileDrop}
$OnFileDrop2;{$if ({$insentence({$reference(0)},".wav")})}
{$filename={$reference(0)}}{$_MusicFileDrop}
$OnFileDrop2;{$if ({$insentence({$reference(0)},".mp3")})}
{$filename={$reference(0)}}{$_MusicFileDrop}
$OnFileDrop2;{$if ({$insentence({$reference(0)},".wma")})}
{$filename={$reference(0)}}{$_MusicFileDrop}
$OnFileDrop2;{$if ({$insentence({$reference(0)},".au")})}
{$filename={$reference(0)}}{$_MusicFileDrop}
$OnFileDrop2;{$if ({$insentence({$reference(0)},".MID")})}
{$filename={$reference(0)}}{$_MusicFileDrop}
$OnFileDrop2;{$if ({$insentence({$reference(0)},".WAV")})}
{$filename={$reference(0)}}{$_MusicFileDrop}
$OnFileDrop2;{$if ({$insentence({$reference(0)},".MP3")})}
{$filename={$reference(0)}}{$_MusicFileDrop}
$OnFileDrop2;{$if ({$insentence({$reference(0)},".WMA")})}
{$filename={$reference(0)}}{$_MusicFileDrop}
$OnFileDrop2;{$if ({$insentence({$reference(0)},".AU")})}
{$filename={$reference(0)}}{$_MusicFileDrop}

//**** ǥ쥯ȥɥå *******************************************************************************************

//$OnDirectoryDrop

//**** URLɥå ****************************************************************************************************

$OnURLDropping
{$TalkDownload}\e

//$OnURLDropped 

$OnURLDropFailure
{$TalkDownloadFail}\e

//**** `å *************************************************************************************************

$OnBIFFBegin
{$TalkMailstart}

$OnBIFFComplete
{$if ({$reference(0)}>0) { {$TalkGottaMail} } else { {$TalkNoMail} }}

$OnBIFF2Complete
{$if (({$reference(0)}>0) && ({$reference(3)}>0)) { {$if ({$reference(3)}>0) { {$NewMail={$reference(0)}} } else { {$NewMail={$reference(3)}} }}{$TalkGottaMail2} } else { {$TalkNoMail2} }}

$OnBIFFFailure
{
{$temp1={$reference(0)}}
{$_talk={$TalkMailError}}
{$temp={$TalkMail{$temp1}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$_talk}\e
}

//**** ͥåȥ` ***********************************************************************************************

$OnUpdateBegin
{$TalkUpdatebegin}

$OnUpdateReady
{$temp={$reference(0)}}{$temp+=1}{$TalkUpdateready}

$OnUpdate.OnDownloadBegin
{$TalkDownloadbegin}

$OnUpdate.OnMD5CompareBegin
{$TalkMD5Begin}

$OnUpdate.OnMD5CompareComplete
{$TalkMD5Complete}

$OnUpdate.OnMD5CompareFailure
{$TalkMD5Fail}

$OnUpdateComplete; {$if ({$reference(0)}==none)}
{$TalkUpdatenoupdate}

$OnUpdateComplete
{$TalkUpdatecomplete}

$OnUpdateFailure
{
{$temp1={$reference(0)}}
{$_talk={$TalkUpdatefailetc}}
{$temp={$TalkUpdatefail{$temp1}}}
{$if ({$length($temp)}>0) { {$_talk={$temp}} }}
{$_talk}\e
}

//**** ʱƺϤ碌 *****************************************************************************************************

$OnSNTPBegin
{$TalkSNTPstart}

$OnSNTPCompare; {$if ({$reference(3)}==0)}
{$TalkSNTPcompareNolag}

$OnSNTPCompare
{$TalkSNTPcompare}

$OnSNTPFailure
{$TalkSNTPfailed}

$DispTimeSNTP
{
{$getvalue({$reference(1)},0)}/
{$if ({$getvalue({$reference(1)},1)}<10) { {$choice(" ")} }}{$getvalue({$reference(1)},1)}/
{$if ({$getvalue({$reference(1)},2)}<10) { {$choice(" ")} }}{$getvalue({$reference(1)},2)} 
{$if ({$getvalue({$reference(1)},3)}<10) { {$choice("\ ")} }}{$getvalue({$reference(1)},3)}:
{$if ({$getvalue({$reference(1)},4)}<10) { {$choice("0")} }}{$getvalue({$reference(1)},4)}:
{$if ({$getvalue({$reference(1)},5)}<10) { {$choice("0")} }}{$getvalue({$reference(1)},5)}
}

$DispTimeSNTPj
{
{$getvalue({$reference(1)},0)}
{$getvalue({$reference(1)},1)}
{$getvalue({$reference(1)},2)}
{$if ({$getvalue({$reference(1)},3)}<10) { {$choice(" ")} }}{$getvalue({$reference(1)},3)}ʱ
{$getvalue({$reference(1)},4)}
{$getvalue({$reference(1)},5)}
}

$DispTimeLOCAL
{
{$getvalue({$reference(2)},0)}/
{$if ({$getvalue({$reference(2)},1)}<10) { {$choice(" ")} }}{$getvalue({$reference(2)},1)}/
{$if ({$getvalue({$reference(2)},2)}<10) { {$choice(" ")} }}{$getvalue({$reference(2)},2)} 
{$if ({$getvalue({$reference(2)},3)}<10) { {$choice("\ ")} }}{$getvalue({$reference(2)},3)}:
{$if ({$getvalue({$reference(2)},4)}<10) { {$choice("0")} }}{$getvalue({$reference(2)},4)}:
{$if ({$getvalue({$reference(2)},5)}<10) { {$choice("0")} }}{$getvalue({$reference(2)},5)}
}

$DispTimeLOCALj
{
{$getvalue({$reference(2)},0)}
{$getvalue({$reference(2)},1)}
{$getvalue({$reference(2)},2)}
{$if ({$getvalue({$reference(2)},3)}<10) { {$choice(" ")} }}{$getvalue({$reference(2)},3)}ʱ
{$getvalue({$reference(2)},4)}
{$getvalue({$reference(2)},5)}
}

//**** إåɥ饤󥻥 *********************************************************************************************

$OnHeadlinesenseBegin
{$TalkHeadlineBegin}

$OnHeadlinesense.OnFind; {$if ({$reference(2)}==First)}
{$JumpURL={$reference(1)}}{$TalkHeadlineFirst}\n\n{$reference(3)}\n{$TalkHeadlineChoice}

$OnHeadlinesense.OnFind; {$if ({$reference(2)}==Next)}
{$JumpURL={$reference(1)}}{$TalkHeadlineNext}\n\n{$reference(3)}\n{$TalkHeadlineChoice}

$OnHeadlinesense.OnFind; {$if ({$reference(2)}==First and Last)}
{$JumpURL={$reference(1)}}{$TalkHeadlineFirst}\n\n{$reference(3)}\n{$TalkHeadlineChoiceEnd}

$OnHeadlinesense.OnFind; {$if ({$reference(2)}==Last)}
{$JumpURL={$reference(1)}}{$TalkHeadlineNext}\n\n{$reference(3)}\n{$TalkHeadlineChoiceEnd}

$OnHeadlinesenseFailure; {$if ({$reference(0)}=="can't download")}
{$TalkHeadlineFailed}

$OnHeadlinesenseFailure; {$if ({$reference(0)}=="can't analyze")}
{$TalkHeadlineMiss}

$OnHeadlinesenseFailure
{$TalkHeadlineError}

$OnHeadlinesenseComplete; {$if ({$reference(0)}=="no update")}
{$TalkHeadlineNoupdate}

//**** Winamp *********************************************************************************************************

$OnMusicPlay
{$TalkWinampplay}

//**** ѡk֫ *********************************************************************************************************

$OnChoiceSelect
{$if ({$substring({$reference(0)},0,7)}=="http://") { \![open,browser,{$reference(0)}]\b[-1]\e } else { {$_talk={$Select.{$reference(0)}}}{$_talk} }}

//---- ѡk֫ॢ ---------------------------------------------------------------------------------------------

$OnChoiceTimeout
{$TalkTimeout}

//**** SSTP֥쥤 ***************************************************************************************************

$OnSSTPBreak
{$TalkSSTPbreak}

//**** updates2.dau  **********************************************************************************************

$OnUpdatedataCreating
{$TalkUpdateCreating}

$OnUpdatedataCreated
{$TalkUpdateCreated}

//**** nar ********************************************************************************************************

$OnNarCreating
{$TalkNarCreating}

$OnNarCreated
{$TalkNarCreated}

//**** ͨŤؤ *****************************************************************************************************

$OnNetworkHeavy
{$TalkNetworkheavy}

//**** ǥȥå׽ȉ仯 *****************************************************************************************

$OnDisplayChange
{$DisplayBpp={$reference(0)}}{$DisplayWidth={$reference(1)}}{$DisplayHeight={$reference(2)}}{$TalkDisplayChange}

//**** ֥åꥹƥ *******************************************************************************************

$OnSSTPBlacklisting
{$TalkBlacklist}

//**** ˥`饵ѡk *****************************************************************************************

$OnRecommendsiteChoice
{$_talk={$TalkURL.{$reference(0)}}}{$_talk}

//**** ڻ *****************************************************************************************************

$ValClear
{
{$temp=""}{$temp1=""}{$temp2=""}{$temp3=""}{$temp4=""}{$temp5=""}
{$WorkKind=""}{$TimeWork=""}{$timezone=""}
{$DisplayBpp=""}{$DisplayWidth=""}{$DisplayHeight=""}
{$talkcount=""}{$_talk=""}{$lastchangedghost=""}
}



