Ginseng Posted August 2, 2007 Share Posted August 2, 2007 Is it possible to make a script that does 3 functions but only repeats 1 and ignores the others until certain parameters appear? If so can anyone tell me where i can find info on how to do this? Thanks. Link to comment Share on other sites More sharing options...
narayanjr Posted August 2, 2007 Share Posted August 2, 2007 you mean? do Function1 then 2 then 3 and keep repeating the third one? Link to comment Share on other sites More sharing options...
sandman Posted August 2, 2007 Share Posted August 2, 2007 (edited) Do Function1() Until $parameter = "parameter" Or $parameter2 = "parameter" Function2() Function3() This will repeat Function1() until $parameter equals the string "parameter", or until $parameter2 = "parameter". After 1 or both of those conditions are true, it executes Function2 and Function3. Edited August 2, 2007 by sandman [center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center] Link to comment Share on other sites More sharing options...
Ginseng Posted August 2, 2007 Author Share Posted August 2, 2007 (edited) Thanks alot, ive had a few problems writing my script but so far ive solved all the problems myself through trail and error but this one got me Thanks for the help guys. No narayanjr, i want function 1 to repeat and then execute function 2 if xxx parameter is met, and function 3 if yyy parameter is met, just like samdman shows, thanks for your post though. Edited August 2, 2007 by Ginseng Link to comment Share on other sites More sharing options...
Golbez Posted August 4, 2007 Share Posted August 4, 2007 what game is tthis for i need something else to make a script/bot for Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now