01-10-2017, 02:20 PM
i wanna put my macro on a dialog so it can be easy to use but i have no idea on it
this is the dialog i make...
Macro Macro3
this is the macro i wanna put but i want to Start by clicking "ON" and stop it by clicking "OFF"...
Macro NEALBot Ver.3
help me how to arrange this please.. :?: :?:
this is the dialog i make...
Macro Macro3
;
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 112 96 "NEALBOT"
;3 Button 0x54032000 0x0 6 74 48 14 "ON"
;4 Button 0x54032000 0x0 58 74 48 14 "OFF"
;5 ListBox 0x54230101 0x200 8 10 96 48 ""
;END DIALOG
;DIALOG EDITOR: "" 0x2040400 "*" "" "" ""
str controls = "5"
str lb5
if(!ShowDialog(dd &sub.DlgProc &controls)) ret
#sub DlgProc
function# hDlg message wParam lParam
sel message
,case WM_INITDIALOG
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1
this is the macro i wanna put but i want to Start by clicking "ON" and stop it by clicking "OFF"...
Macro NEALBot Ver.3
int w1=act(win("CABAL" "D3D Window"))
Speak "Nealbot. has been, activated!" 0.4
OnScreenDisplay "NealBot Activated" 2 0 0 0 30 450 4
wait 3
rep
,rig 871 601 w1 1 ;; 'CABAL'
,ifk(v) break ;;if pressed key v, exit the rep loop
,key z3x
,wait 2
,ifk(v) break ;;if pressed key v, exit the rep loop
,key 4x
,wait 2
,ifk(v) break ;;if pressed key v, exit the rep loop
,key z5x0
,wait 2
,ifk(v) break ;;if pressed key v, exit the rep loop