asura Posted December 5, 2007 Posted December 5, 2007 what i trying to do is a weapon switch, quite a manual script as im a noob in coding. Sleep(5000) - 5 secs - during this time, i execute the script from desktop n quickly switch to my game send("1") - char is holding existing weapon A, switch to weapon B in slot 1 Sleep(200) - wait .02 sec send("2") - skill which can only be executed by weapon B Sleep(5000) - wait 5 sec for execution of skill from slot 2 send("3") - switch back to weapon A Sleep(200) - wait .02 sec send("4") - skill which can only be executed by weapon A. Sleep(30000) - wait 300 secs, then start loop. i want this script to loop after 300seconds. Kindly advice. Thanks in advance.
Jex Posted December 5, 2007 Posted December 5, 2007 (edited) ;Method 1 While 1 ;Your script here WEnd ;Method 2 Do ;Your script here If Not WinActive("Game Title") Then $Var = 1 Until $Var = 1 Edited December 5, 2007 by Jex My scripts : Immediate Window , My Web Browser , Travian , Text Effect , Characters & Words per minute or second , Image Editor (ImageMagick) , Matrix style background effect ( Screensaver ) , Mail Sender , Protectlinks decoder and Rapidshare links checker , Fonts Fetcher , Region determine , Compare pictures , Gradient color box , Mouse Coordinates, Colors, Pixel Search things , Encrypt/Decrypt and embeding file in jpeg thing , Hard disk space monitor , Reflex game , Multiplayer Tic Tac Toe , WLM ( MSN ) personal message changer
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