# counter if $notification_message[0] ! '' and _n_counter['shown'] = 1 and _n_counter['lock'] = 0: _n_counter['lock'] = 1 if _n_counter['timer'] >= 0: _n_counter['timer'] -= 500 else if $notification_message[1] ! '': $stat_msg = replace($stat_msg, $notification_message[0], $notification_message[1]) _n_counter['timer'] = _n_counter['duration'] else $stat_msg = replace($stat_msg, $notification_message[0]) _n_counter['shown'] = 0 end clr & pl '<<$stat_msg>>' killvar '$notification_message', 0 end _n_counter['lock'] = 0 end if music_loop = 1 and $track_loop ! '': play $track_loop, volume --- counter ---------------------------------