Sign in to follow this  
Followers 0
AlmarM

My first selfmade Command :P

17 posts in this topic

I made _Wait()

Its the same as Sleep() :)

_Wait(2000)

Func _Wait($nTime)
    Sleep($nTime)
EndFunc

MY FIRST SELFMADE COMMAND :)

Im to happy for something small :) ?


Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites



[sarcasm]You're truly an autoit god.[/sarcasm]

Well, congratulations on learning autoit.

Share this post


Link to post
Share on other sites

Is this a prank? Did we just get Punk'D? Where is Ashton Kutcher?

Share this post


Link to post
Share on other sites

Haha, I just realized I can do this at every command :)

I just tought I made my own Command :)

Thx for the funny comments :)


Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites

Im trying to make another one called _MouseInfo() but it wont work!!


Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites

_MouseInfo() need to collect XY pos & Hex Color

So if u do: MsgBox(0, "Test", _MouseInfo())

It will pop-up the MsgBox and say:

Title: Test

Msg: X: 234 Y: 546 Hex Color: 0x533453

For example


Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites

_MouseInfo() need to collect XY pos & Hex Color

So if u do: MsgBox(0, "Test", _MouseInfo())

It will pop-up the MsgBox and say:

Title: Test

Msg: X: 234 Y: 546 Hex Color: 0x533453

For example

I made the X and Y part of the command :)

Func _MouseInfo()
 $a = MouseGetPos()
 $b = "X : " & $a[0] & @CRLF & "Y : " & $a[1]
 Return $b
EndFunc

Share this post


Link to post
Share on other sites

You mean MouseGetPos() + PixelGetColor()?

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

@LIMITER

Thx

EDIT:

I had the same script, only I didnt had the Return :)

@weaponx

Yes

Edited by AlmarM

Minesweeper

A minesweeper game created in autoit, source available.

_Mouse_UDF

An UDF for registering functions to mouse events, made in pure autoit.

2D Hitbox Editor

A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0