Code:
On *:Start: {
  hmake settings 100
  if ($isfile(settings.hsh)) hload settings settings.hsh
}

On *:Exit: { hsave -o settings settings.hsh }



As for the $regex() I've never used it so I'm not too sure what to do on that front, what I can suggest is do a search for a $regex() keyword. Expand to 5 years, and if you haven't found what you're looking for maybe someone would have posted by then. smile