0IInoaII0 Posted June 4, 2020 Share Posted June 4, 2020 #LearningLSL Suppose : (Both scripts are in single prim) 1. user is in llDialog() menu where she pressed "enter number" button. 2. User entered a number in text box llTextbox(). 3. Got the messag through listen() and I have to convert as well as check if the given string is integer. To do so, my function is placed in another script within same object. 4. I send message through llMessageLinked containing the entered string and I will send an integer too (that is 1); 5.if the second script's link_message() will recived integer 1 with that message then it will call the function toInteger(message); 6. toInteger() will return 0 if the given string contains anything except numbers, else it will return the converted integer num. It send result through llMessageLinked() back to main script. 7. the link_message() event of main script recieve that integer sent by toInteger(). ----------------------------------------- Now how I should proceed further to get this integer back to where I sent it first time through llMessageLinked() in another script to get converted(referring to step 4) . If it is not integer then I wanna pop up llDialog() again which say "Enter Again". my all llDialog() menus are in one script and all functions are in another. (Ps : Firstly, thanks for patient reading. Secondly, I am just learning so please don't suggested how to do it within same script or use a predefined function to check or convert etc etc...) Link to comment Share on other sites More sharing options...
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