Here's a general checklist you and others can use to try and debug remote issues:

1) What version is the bot on? (ideally 6.14 would be nice, any of the 5.X versions or older may have problems with this code.) If you're on an older version please test your code on a new version (in a different directly if you like) to see if the version is the problem or upgrade it outright.

2) Have the bot add you in the remotes using: "/guser <level> <your nick> 3" (without the quotes of course,) and make sure it returns the appropriate line in the active window saying you've been added by address.

3) Move the script/event/aliases in question to the top of the first file in the remote window (you can use the file menu to change order of files if you need to.) This ensures another event in another file won't /halt the event before this one triggers.

4) Double check that the bot's remotes are on, in that client type: /remote and if necessary: /remote on

5) I see you have some debugging code, you may want to add a public message:
Code:
&lt;your on text line&gt; {
  msg $target Event triggered: $script - $scriptline
  &lt;the rest of your code&gt;
}


6) On version 6.14 or later you can use error capturing too:
Code:
&lt;your on text line&gt; {
  msg $target Event triggered: $script - $scriptline
  &lt;the rest of your code&gt;
  :error
  msg $target Event error: $error - $script - $scriptline
}


I hope this helps track down the problem.


-
MIMP