begin kf_sk_watch_script
short OnPCEquip
short min
short hour
float time
if ( OnPCEquip == 1 )
set time to GameHour
set hour to time
set min to ( time - hour ) * 60
if ( min < 10 )
MessageBox, "Es ist %.0f:0%.0f Uhr.", hour, min, "OK"
else
MessageBox, "Es ist %.0f:%.0f Uhr.", hour, min, "OK"
endif
set OnPCEquip to 0
endif
end