Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Auto Macro Enabled / Disable by Key pressed (Keyboard)
#3
Thank for helping!!!!!!
Sorry for bad english!

@Catar did no work.

In variables i put:
Quote:PauseMacroA=0
and click on apply.

In Macros i add this line in top of script :

Quote:10
{stone}
!PauseMacroA==:No <--- THIS LINE I ADD
!STONESKIN!==1
Self.Inventory.Amulet()<>3081
Tibia.SendKey(115)

I tested it and it did not work

I also tried:

Quote:!PauseMacroA==:No <--- THIS LINE I ADD
10
{stone}
!STONESKIN!==1
Self.Inventory.Amulet()<>3081
Tibia.SendKey(115)

I tested it and it did not work

Quote:10
!PauseMacroA==:No <--- THIS LINE I ADD
{stone}
!STONESKIN!==1
Self.Inventory.Amulet()<>3081
Tibia.SendKey(115)

I tested it and it did not work

I click on Create New Macro and i add this code:

In name a put: pauseA

Quote:10
{pauseA}
PauseKey
K_F4
!PauseMacroA
No [a]
Cooldown.Blocked(pausCD)==0
Tibia.KeyDown(!PauseKey)==1
Cooldown.Create(pausCD, 1200)
PauseMacroA
Yes
exit()
{a}
Cooldown.Blocked(PauseHUD)==0 [b]
HUD.Print(2, 3, 200, 0, 200, 4000, This message will show when your macro is PAUSED change it if u want)
Cooldown.Create(PauseHUD, 4000)
{b}
Cooldown.Blocked(pausCD)==0
Tibia.KeyDown(!PauseKey)==1
Cooldown.Create(pausCD, 1200)
PauseMacroA
No
exit()

I change PauseKey:=:K_DIVIDE to PauseKey:=:K_F4 my example: http://wiki.bmega.net/doku.php?id=virtual_key_codes

I want to active or stop key F4 right?

I testing with separate key on numpad / and did no work too.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)