Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
antipush macros for bbot 82.5
#1
Ofc, items must be in opened BP
video



First one is throwing 2 items alternately when key pressed until you run out of items or release key.

[macro]30 {anitpush} KeyID:=:K_F20 ThrowItem1:=3492 ThrowItem2:=3031 Tibia.KeyDown(!KeyID)==1 Cooldown.Blocked(HUDpush)==0 [hud] HUD.Print(2, 3, 200, 200, 0, 330, AntiPUSH is ON) Cooldown.Create(HUDpush, 299) {hud} Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem1 [t] Map.Thrown(!ThrowItem1, 1, :X, :Y, :Z) exit() {t} Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem2 Map.Thrown(!ThrowItem2, 1, :X, :Y, :Z) exit() [/macro]

[spoiler]
Code:
KeyID:=:K_F20
ThrowItem1:=3492
ThrowItem2:=3031
Tibia.KeyDown(!KeyID)==1
Cooldown.Blocked(HUDpush)==0 [hud]
HUD.Print(2, 3, 200, 200, 0, 330, AntiPUSH is ON)
Cooldown.Create(HUDpush, 299)
{hud}
Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem1 [t]
Map.Thrown(!ThrowItem1, 1, :X, :Y, :Z)
exit()
{t}
Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem2
Map.Thrown(!ThrowItem2, 1, :X, :Y, :Z)
exit()
[/spoiler]


Second one similar, but keep throwing up to 8 items (unless standing with many people on single SQM - WONT WORK WITH 8 PEOPLE ON SINGLE SQM)
Doesn't waste all your gp/worms so fast


[macro]30 {anitpush} KeyID:=:K_F20 ThrowItem1:=3492 ThrowItem2:=3031 Tibia.KeyDown(!KeyID)==1 Map.ItemsOnTile(:X, :Y, :Z)<10 [sqmFULL] Cooldown.Blocked(HUDpush)==0 [hud] HUD.Print(2, 3, 200, 200, 0, 330, AntiPUSH is ON) Cooldown.Create(HUDpush, 299) {hud} Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem1 [t] Map.Thrown(!ThrowItem1, 1, :X, :Y, :Z) exit() {t} Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem2 Map.Thrown(!ThrowItem2, 1, :X, :Y, :Z) exit() {sqmFULL} Cooldown.Blocked(HUDpush)==0 HUD.Print(2, 3, 200, 200, 0, 330, SQM FULL) Cooldown.Create(HUDpush, 299) [/macro]

[spoiler]
Code:
KeyID:=:K_F20
ThrowItem1:=3492
ThrowItem2:=3031
Tibia.KeyDown(!KeyID)==1
Map.ItemsOnTile(:X, :Y, :Z)<10 [sqmFULL]
Cooldown.Blocked(HUDpush)==0 [hud]
HUD.Print(2, 3, 200, 200, 0, 330, AntiPUSH is ON)
Cooldown.Create(HUDpush, 299)
{hud}
Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem1 [t]
Map.Thrown(!ThrowItem1, 1, :X, :Y, :Z)
exit()
{t}
Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem2
Map.Thrown(!ThrowItem2, 1, :X, :Y, :Z)
exit()
{sqmFULL}
Cooldown.Blocked(HUDpush)==0
HUD.Print(2, 3, 200, 200, 0, 330, SQM FULL)
Cooldown.Create(HUDpush, 299)
[/spoiler]




TOGGLE VERSION OF THIS MACRO
Toggle ON and OFF with a key


and this one works similar to second, but it turns macro ON and OFF on key pressed.

[macro]30 {anitpushTOGGLE} KeyID:=:K_F20 ThrowItem1:=3492 ThrowItem2:=3031 Tibia.KeyDown(!KeyID)==1 [throw] Cooldown.Blocked(delay)==0 [switch] !toggleON==0 [toggle] toggleON:=1 Cooldown.Create(delay, 150) Label(throw) {toggle} toggleON:=0 Cooldown.Create(delay, 150) {throw} !toggleON==1 Map.ItemsOnTile(:X, :Y, :Z)<10 [sqmFULL] Cooldown.Blocked(HUDpush)==0 [hud] HUD.Print(2, 3, 200, 200, 0, 330, AntiPUSH is ON) Cooldown.Create(HUDpush, 299) {hud} Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem1 [t] Map.Thrown(!ThrowItem1, 1, :X, :Y, :Z) exit() {t} Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem2 Map.Thrown(!ThrowItem2, 1, :X, :Y, :Z) exit() {sqmFULL} Cooldown.Blocked(HUDpush)==0 HUD.Print(2, 3, 200, 200, 0, 330, SQM FULL) Cooldown.Create(HUDpush, 299) [/macro]

[spoiler]
Code:
KeyID:=:K_F20
ThrowItem1:=3492
ThrowItem2:=3031
Tibia.KeyDown(!KeyID)==1 [throw]
Cooldown.Blocked(delay)==0 [switch]
!toggleON==0 [toggle]
toggleON:=1
Cooldown.Create(delay, 150)
Label(throw)
{toggle}
toggleON:=0
Cooldown.Create(delay, 150)
{throw}
!toggleON==1
Map.ItemsOnTile(:X, :Y, :Z)<10 [sqmFULL]
Cooldown.Blocked(HUDpush)==0 [hud]
HUD.Print(2, 3, 200, 200, 0, 330, AntiPUSH is ON)
Cooldown.Create(HUDpush, 299)
{hud}
Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem1 [t]
Map.Thrown(!ThrowItem1, 1, :X, :Y, :Z)
exit()
{t}
Map.ItemOnTop.ID(:X, :Y, :Z)<>!ThrowItem2
Map.Thrown(!ThrowItem2, 1, :X, :Y, :Z)
exit()
{sqmFULL}
Cooldown.Blocked(HUDpush)==0
HUD.Print(2, 3, 200, 200, 0, 330, SQM FULL)
Cooldown.Create(HUDpush, 299)
[/spoiler]
Reply


Messages In This Thread
antipush macros for bbot 82.5 - by Catar - 05-25-2017, 07:59 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)