From: David N. <dno...@ya...> - 2011-01-12 21:17:30
|
On 1/11/2011 9:16 PM, Neil Cherry wrote: > ARHG! The code change I made to MH breaks triggers as they end > up in an mhp file. I think I may have to create a new file type and > those thing that need only run at startup will go in there. I need > to think about this a lot more. ... Grumble grumble grumble ... > > Sorry to cause trouble Dave. Instead of adding a new file type, try placing your code in an if statement like this: if ($Reload) { your code } Slightly more efficient would be to put # noloop = start # noloop = stop around all the code in the mhp file. I don't think there is any code in item files that needs to be in the loop. David |