Jump to content

Recommended Posts

Posted (edited)

Ok this is what I am doing

Func Drop()

HotKeySet("q", "Block")

HotKeySet("t", "Block")

HotKeySet("i", "Block")

HotKeySet("p", "Block")

HotKeySet("a", "Block")

HotKeySet("s", "Block")

HotKeySet("h", "Block")

HotKeySet("c", "Block")

HotKeySet("m", "Block")

HotKeySet("{ESC}", "Block")

HotKeySet("!{TAB}","Block")

HotKeySet("{SPACE}", "Block")

If _ispressed("42") OR _IsPressed("42") OR _IsPressed("51") OR _IsPressed("57") OR _IsPressed("54") OR _IsPressed("49") OR _IsPressed("50") OR _IsPressed("41") OR _IsPressed("53") OR _IsPressed("48") OR _IsPressed("43") OR _IsPressed("4d") OR _IsPressed("1b") Then

send("{LWIN up} {RWIN up} {b up} {q up} {w up} {t up} {i up} {p up} {a up} {s up} {h up} {c up} {esc up} {SPACE up} {ESC}")

EndIf

While 1

Sleep(10)

Send("b") <--------------How would I unblock this after all the mouse moves?

HotKeySet("b", "Block")

MouseMove(449,167, 2)

MouseClick("left")

Sleep(500)

MouseMove(203,226, 2)

MouseClick("left")

Edit--- I don't wanna use blockinput either

Edited by Garanator
Posted

Ok this is what I am doing

Func Drop()

HotKeySet("q", "Block")

HotKeySet("t", "Block")

HotKeySet("i", "Block")

HotKeySet("p", "Block")

HotKeySet("a", "Block")

HotKeySet("s", "Block")

HotKeySet("h", "Block")

HotKeySet("c", "Block")

HotKeySet("m", "Block")

HotKeySet("{ESC}", "Block")

HotKeySet("!{TAB}","Block")

HotKeySet("{SPACE}", "Block")

If _ispressed("42") OR _IsPressed("42") OR _IsPressed("51") OR _IsPressed("57") OR _IsPressed("54") OR _IsPressed("49") OR _IsPressed("50") OR _IsPressed("41") OR _IsPressed("53") OR _IsPressed("48") OR _IsPressed("43") OR _IsPressed("4d") OR _IsPressed("1b") Then

send("{LWIN up} {RWIN up} {b up} {q up} {w up} {t up} {i up} {p up} {a up} {s up} {h up} {c up} {esc up} {SPACE up} {ESC}")

EndIf

While 1

Sleep(10)

Send("b") <--------------How would I unblock this after all the mouse moves?

HotKeySet("b", "Block")

MouseMove(449,167, 2)

MouseClick("left")

Sleep(500)

MouseMove(203,226, 2)

MouseClick("left")

not really sure what you mean by your example, but based off of the topic: you unassign a hotkey by calling hotkeyset() with the key, and an empty string "" as the function to be called
Posted (edited)

not really sure what you mean by your example, but based off of the topic: you unassign a hotkey by calling hotkeyset() with the key, and an empty string "" as the function to be called

All the hotkeys are blocked and if i unhotkey them they can be used again so if i put something like unhotkeyset at bottom of mouse moves it should when it repeats itself send b.

Edit-- I just need an actual unhotkeyset

Edited by Garanator
Posted

All the hotkeys are blocked and if i unhotkey them they can be used again so if i put something like unhotkeyset at bottom of mouse moves it should when it repeats itself send b.

Edit-- I just need an actual unhotkeyset

so then the answer i gave you was the correct one. cool.
Posted

Func Drop()

HotKeySet("q", "Block")

HotKeySet("t", "Block")

HotKeySet("i", "Block")

HotKeySet("p", "Block")

HotKeySet("a", "Block")

HotKeySet("s", "Block")

HotKeySet("h", "Block")

HotKeySet("c", "Block")

HotKeySet("m", "Block")

HotKeySet("{ESC}", "Block")

HotKeySet("!{TAB}","Block")

HotKeySet("{SPACE}", "Block")

If _ispressed("42") OR _IsPressed("42") OR _IsPressed("51") OR _IsPressed("57") OR _IsPressed("54") OR _IsPressed("49") OR _IsPressed("50") OR _IsPressed("41") OR _IsPressed("53") OR _IsPressed("48") OR _IsPressed("43") OR _IsPressed("4d") OR _IsPressed("1b") Then

send("{LWIN up} {RWIN up} {b up} {q up} {w up} {t up} {i up} {p up} {a up} {s up} {h up} {c up} {esc up} {SPACE up} {ESC}")

EndIf

While 1

Sleep(10)

Send("b")

HotKeySet("b", "Block")

MouseMove(449,167, 2)

MouseClick("left")

Sleep(500)

MouseMove(203,226, 2)

MouseClick("left")

blah blah blah

Hotkeyset("b", "") <----Thats all there was to it?

WEnd

EndFunc

Posted

Func Drop()

HotKeySet("q", "Block")

HotKeySet("t", "Block")

HotKeySet("i", "Block")

HotKeySet("p", "Block")

HotKeySet("a", "Block")

HotKeySet("s", "Block")

HotKeySet("h", "Block")

HotKeySet("c", "Block")

HotKeySet("m", "Block")

HotKeySet("{ESC}", "Block")

HotKeySet("!{TAB}","Block")

HotKeySet("{SPACE}", "Block")

If _ispressed("42") OR _IsPressed("42") OR _IsPressed("51") OR _IsPressed("57") OR _IsPressed("54") OR _IsPressed("49") OR _IsPressed("50") OR _IsPressed("41") OR _IsPressed("53") OR _IsPressed("48") OR _IsPressed("43") OR _IsPressed("4d") OR _IsPressed("1b") Then

send("{LWIN up} {RWIN up} {b up} {q up} {w up} {t up} {i up} {p up} {a up} {s up} {h up} {c up} {esc up} {SPACE up} {ESC}")

EndIf

While 1

Sleep(10)

Send("b")

HotKeySet("b", "Block")

MouseMove(449,167, 2)

MouseClick("left")

Sleep(500)

MouseMove(203,226, 2)

MouseClick("left")

blah blah blah

Hotkeyset("b", "") <----Thats all there was to it?

WEnd

EndFunc

yep. :P

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...