Nun weiss ich nicht, ob du schlampig gequoted hast oder dein Quelltext so aussieht, aber:
Code:
MouseInRange(minx,maxx,miny,maxy)
{
MouseGetPos, x, y
If (y >= miny) and (y <= maxy) and (x >= minx) and (x <= maxx)
  Return 1
Return 0
ist unvollständig, es fehlt ein { am Ende
Code:
MouseInRange(minx,maxx,miny,maxy)
{
MouseGetPos, x, y
If (y >= miny) and (y <= maxy) and (x >= minx) and (x <= maxx)
  Return 1
Return 0
}
Ansonsten gehen mir langsam auch die Ideen aus. :/
Meine Skripts von früher basieren allesamt auf normalen Tasten ohne Maustasten.

Xorn