lowzix Posted August 30, 2014 Share Posted August 30, 2014 So i have a Script with alot of Functions in it, but nothing more than that. i Basically want the script to be running 24/7 so when i press for example CTRL+ALT+X the func assigned to that command goes off. The best way i have to keep the scrit going is to just: While 1 Sleep(999999999999999999999999) Wend Is there another way to do it as i think this is not a good way of doing it considering i got a low end computer and it might run out of memory or something? or is this way perfectly fine? Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 30, 2014 Moderators Share Posted August 30, 2014 lowzix,A simple Sleep(10) will suffice in that loop, no need for anything longer to keep the CPU from frying itself. Memory is another thing altogether - what do these "functions" do? M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
lowzix Posted August 30, 2014 Author Share Posted August 30, 2014 (edited) Hi and thanks for a fast answer It's just a script to a betting site, i play dice with 4x payout (25% win chance) and i use the arrowkeys to control. So when i lose i press Left arrow and the bet will increase by 50%, another arrow key to reset to starting value and a final key to swap between winning on rolls under 25 or over 75. I am planning to fully automate it when i get tired of betting myself (i will input a Random clock to swap between the 25- or 75+ and automate the on loss (left key) and on win (upper key) functions. Already made ~4.7 bitcoins doing this which is rougly 2.3k USD Edited August 30, 2014 by lowzix Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted August 30, 2014 Moderators Share Posted August 30, 2014 lowzix.You appear not to have read the Forum rules since your arrival. Please do read them - particularly the bit about not discussing game automation - before you post again. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts