Como usar 2 script ao mesmo tempo?

Post a reply


In an effort to prevent automatic submissions, we require that you complete the following challenge.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Como usar 2 script ao mesmo tempo?

Como usar 2 script ao mesmo tempo?

by JhuannK » 23 Sep 2022, 15:13

Uso dois scripts para macro, um que reduz o recuo horizontal e outro que bota o mouse para baixo. Entretanto, não consigo usá-los juntos, alguém pode me ajudar?
Script recuo horizontal:

Code: Select all

MButton::

Hotkey, Lbutton, toggle
return



*Lbutton::

While GetKeyState("Lbutton", "P"){
	SetBatchLines, 66
	click
	
	
	}
	

Script para descer a mira:
_auto := true 
~LButton::autofire() 
+LButton::_auto := ! _auto 
F5::Suspend
autofire() 
{ 
global _auto 
if _auto 
{ 
Loop 
{ 
if GetKeyState("LButton", "P") 
{ 
Sleep 0 
mouseXY(0, 4) 
Sleep 33 
} 
else 
break 
} ;; loop 
} ;; if 
} ;; autofire()
mouseXY(x,y) 
{ 
DllCall("mouse_event",uint,1,int,x,int,y,uint,0,int,0) 
}
[Mod edit: [code][/code] tags added.]


Não consigo usá-los juntos, gostaria que alguém me ajudasse, por favor.


[Moderator action: Topic moved from the main (English) section of the forum.]

Top