--Sefro
edit:
I also just noticed that you have:
Code: Select all
--IMPORTANT to stop messages
   repeat with x = 1 to the number of lines of the pendingMessages
      cancel item 1 of line x the pendingMessages
   end repeatModerators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Code: Select all
--IMPORTANT to stop messages
   repeat with x = 1 to the number of lines of the pendingMessages
      cancel item 1 of line x the pendingMessages
   end repeat

