Jump to content
Sign in to follow this  
Redeven

'Missing Seperator Character' Error

Recommended Posts

Redeven

Can anyone help me with this? I've tried editing a bunch of stuff, but I keep coming up with this error.

Here's the code. Btw, it's a code for a game.

CODE
#NoEnv

#SingleInstance force

#InstallKeybdHook

#Persistent

Suspend, Off

HotKey ~LButton, AutoCl, On UseErrorLevel ;LBUTTON HOTKEY

HotKey ~^LButton, AutoCl, On UseErrorLevel ;CTRL + LBUTTON HOTKEY

Overall_Speed = 50

$*~Pause::

Suspend, Toggle

SoundBeep, 500, 200

RETURN

$Scrolllock::ExitApp

AutoCl:

WinGet , szProcessName, ProcessName, A

If szProcessName = BF2142.exe

{

Loop

{

if (GetKeyState("LButton", "P") = 0)

{

Break

}

Else

{

Sleep %Overall_Speed%

RControl(0,1)

}

}

}

RETURN

RControl(X,Y)

{

}

DllCall("mouse_event", uint, 1, int, X, int, Y, uint, 0, int, 0)

Share this post


Link to post
Share on other sites
sandin
Tomb

that looks like autohotkey, defenitely not autoit though.

Share this post


Link to post
Share on other sites
Redeven

I see, no wonder why it isn't working.

Is there any possible way to get it to work in AutoIt then?

Share this post


Link to post
Share on other sites
zero57

Can anyone help me with this? I've tried editing a bunch of stuff, but I keep coming up with this error.

Here's the code. Btw, it's a code for a game.

CODE
#NoEnv

#SingleInstance force

#InstallKeybdHook

#Persistent

Suspend, Off

HotKey ~LButton, AutoCl, On UseErrorLevel ;LBUTTON HOTKEY

HotKey ~^LButton, AutoCl, On UseErrorLevel ;CTRL + LBUTTON HOTKEY

Overall_Speed = 50

$*~Pause::

Suspend, Toggle

SoundBeep, 500, 200

RETURN

$Scrolllock::ExitApp

AutoCl:

WinGet , szProcessName, ProcessName, A

If szProcessName = BF2142.exe

{

Loop

{

if (GetKeyState("LButton", "P") = 0)

{

Break

}

Else

{

Sleep %Overall_Speed%

RControl(0,1)

}

}

}

RETURN

RControl(X,Y)

{

}

DllCall("mouse_event", uint, 1, int, X, int, Y, uint, 0, int, 0)

This isn't a gamers forum... Plus this isn't even Autoit....

-------------------------------------------------------

zero57 :):lmao::think::shhh:

!!!!!!!!!! :> !!!!!!!!!!! ;) ;)

Edited by zero57

[font="Arial Black"][u]zero57[/u][/font]

Share this post


Link to post
Share on other sites
Redeven

All right, thanks for replying anyway, I'll go look somewhere else then.

Share this post


Link to post
Share on other sites
jvanegmond

If you could translate it into AutoIt code, and I don't see why you couldn't, then it would work with AutoIt. Alternatively, you can try and get one of the AutoIt forum members to do it for you.

@zero57, drugs are bad man.

Share this post


Link to post
Share on other sites
Redeven

Well, I doubt anyone has that much time on their hands to translate this script. Plus I don't know any forum members here, lol.

Share this post


Link to post
Share on other sites
Tomb

If you could translate it into AutoIt code, and I don't see why you couldn't, then it would work with AutoIt. Alternatively, you can try and get one of the AutoIt forum members to do it for you.

@zero57, drugs are bad man.

indeed. put mouse over this text for secret message.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×