BBot - The best bot of the world
100% USELESS MACRO - Printable Version

+- BBot - The best bot of the world (https://forums.bmega.net)
+-- Forum: Scripts & Macros (https://forums.bmega.net/forum-4.html)
+--- Forum: Free Scripts (https://forums.bmega.net/forum-10.html)
+--- Thread: 100% USELESS MACRO (/thread-20697.html)



100% USELESS MACRO - Catar - 05-23-2017

What do you think you can use this for?



Drops an item on item with certain ID on 1 sqm radius.
[macro]100 {useless macro} IDdropON:=3147 IDtoDROP:=3031 Xi:=-1 Yi:=-1 {CheckAgain} X:=Add(:X, !Xi) Y:=Add(:Y, !Yi) Map.ItemOnTop.ID(!X, !Y, :Z)==!IDdropon [Continue] Map.Thrown(!IDtoDROP, 1, !X, !Y, :Z) exit() {Continue} VarAdd(Xi, 1) !Xi==2 [CheckAgain] Xi:=-1 VarAdd(Yi, 1) !Yi==2 [CheckAgain] Exit() [/macro]
[spoiler]
Code:
IDdropON:=3147
IDtoDROP:=3031
Xi:=-1
Yi:=-1
{CheckAgain}
X:=Add(:X, !Xi)
Y:=Add(:Y, !Yi)
Map.ItemOnTop.ID(!X, !Y, :Z)==!IDdropon [Continue]
Map.Thrown(!IDtoDROP, 1, !X, !Y, :Z)
exit()
{Continue}
VarAdd(Xi, 1)
!Xi==2 [CheckAgain]
Xi:=-1
VarAdd(Yi, 1)
!Yi==2 [CheckAgain]
Exit()
[/spoiler]


RE: 100% USELESS MACRO - MegaNo0body - 05-24-2017

Too useless


RE: 100% USELESS MACRO - Catar - 05-24-2017

maybe there is some quest that requires putting an item on certain item on map? ;D