Use MWALL with keys - Printable Version +- BBot - The best bot of the world (https://forums.bmega.net) +-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html) +--- Forum: Requests (https://forums.bmega.net/forum-17.html) +--- Thread: Use MWALL with keys (/thread-20914.html) |
Use MWALL with keys - ybn - 09-06-2018 i need a script to use mwall with keys on adjacents sqms like the catar honey flower macro. ty RE: Use MWALL with keys - Catar - 09-06-2018 I think I done it, Try this (its on numpad, if u want normal number keys, just do what i said in flower thread) [macro]70 {mwall keys} MiliSecDelay:=300 runeID:=3180 NY:=Sub(:Y, 1) SY:=Add(:Y, 1) WX:=Sub(:X, 1) EX:=Add(:X, 1) Cooldown.Blocked(DropDelay)==0 Tibia.KeyDown(:K_NUMPAD7)==0 [NW] Tibia.KeyDown(:K_NUMPAD8)==0 [N] Tibia.KeyDown(:K_NUMPAD9)==0 [NE] Tibia.KeyDown(:K_NUMPAD4)==0 [W] Tibia.KeyDown(:K_NUMPAD6)==0 [E] Tibia.KeyDown(:K_NUMPAD1)==0 [SW] Tibia.KeyDown(:K_NUMPAD2)==0 [S] Tibia.KeyDown(:K_NUMPAD3)==0 [SE] exit() {NW} UseonID:=Map.ItemOnTop.ID(!WX, !NY, :Z) Map.UseOn(!runeID, !UseonID, !WX, !NY, :Z) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {N} UseonID:=Map.ItemOnTop.ID(:X, !NY, :Z) Map.UseOn(!runeID, !UseonID, :X, !NY, :Z, 0) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {NE} UseonID:=Map.ItemOnTop.ID(!EX, !NY, :Z) Map.UseOn(!runeID, !UseonID, !EX, !NY, :Z, 0) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {W} UseonID:=Map.ItemOnTop.ID(!WX, :Y, :Z) Map.UseOn(!runeID, !UseonID,, !WX, :Y, :Z, 0) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {E} UseonID:=Map.ItemOnTop.ID(!EX, :Y, :Z) Map.UseOn(!runeID, !UseonID, !EX, :Y, :Z, 0) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {SW} UseonID:=Map.ItemOnTop.ID(!WX, !SY, :Z) Map.UseOn(!runeID, !UseonID, !WX, !SY, :Z, 0) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {S} UseonID:=Map.ItemOnTop.ID(:X, !SY, :Z) Map.UseOn(!runeID, !UseonID, :X, !SY, :Z, 0) Cooldown.Create(DropDelay, !MiliSecDelay) exit() {SE} UseonID:=Map.ItemOnTop.ID(!EX, !SY, :Z) Map.UseOn(!runeID, !UseonID, !EX, !SY, :Z, 0) Cooldown.Create(DropDelay, !MiliSecDelay) exit() [/macro] [spoiler] Code: MiliSecDelay:=300 |