on *:Connect:{ write Uptime.Txt [ $+ $fulldate $+ ] Connected to mIRC at $time on $date and on $server } on *:Disconnect:{ write Uptime.Txt [ $+ $fulldate $+ ] Disconnected from mIRC at $time on $date and on $server }