According to the wiki:
integer llGetStartParameter()
Returns the start parameter passed to llRezObject or llRemoteLoadScriptPin. If the object was created from agent inventory, this function returns 0.
This is the same value that is passed to the on_rez event. If the script is reset (using llResetScript or other means), this value is set to 0.
It says that the start_params are set to 0 when the script is reset.
The code in the updater looks like this:
CODE
llRemoteLoadScriptPin(id, "_scriptname", pin, TRUE, 123);
The code I'm using in the target's state_entry looks like this:
CODE
state_entry()
{
llSetObjectDesc("Version "+version);
llSetRemoteScriptAccessPin(pin);
if(llGetStartParameter() == 123)
{
//Updated script
llWhisper(0, "Script updated. Resetting script... ");
llResetScript();
}
}
Now the problem I'm having is that it seems that the start_params are never set back to 0 after the script resets, so it goes into a loop resetting itself over and over.
This is the first time I've tried this so I may have just made a newbie mistake.

Thanks for any help!