Jump to content

reset scripts script


conrad Evanier
 Share

You are about to reply to a thread that has been inactive for 4767 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

You don't need -- assuming you're scripting the whole thing -- to use a separate script just to reset all the other scripts in the linkset.

Just have, in your menu options, something like

 

else if ("Reset Scripts"==msg){	llMessageLinked(LINK_SET,"",msg,"");	llResetScript();	}

 

and in all the other scripts,

 

link_message(integer sender, integer num, string str, key id){		if("Reset Scripts"==str){		llResetScript();		}}

 

 

 

 

Link to comment
Share on other sites

Hi innula yeh i had the same idea and works well,  i just added 2 new optins to my main menu to reset the 2 scripts i need to reset at different times, like you say no need for extra script and its perfect.  Just what i was after.  its a very useful option to have in my menu thanks for all the advice on this.

Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 4767 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...