BBot - The best bot of the world

Full Version: Macro Dont Work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have macro to open quest doors which looks like this

Code:
Macro (33246 32534 8:1000 {Open Door} VarSet(X) Self.X VarSet(Y) Self.Y VarSet(Z) Self.Z Map.Use(6258, !X!, !Y!, !Z!, 5))

point before the macro is

Code:
Fixed (33246 32534 8)

the id of the quest doors is right, the pos is ok still bot wont open these doors, anybody knows why and how to fix it ? where did i made mistake ? Undecided

Greets
Mephisto Wink
This in Cavebot
Code:
.
.
.
Fixed (33246 32534 8)
Macro (33246 32534 8:Open Door)
.
.
.

Paste This in Advanced Tools>Macros
Code:
0 {Open Door} X:=Self.X Y:=Self.Y Z:=Self.Z VarAdd(X, 1) Map.Use(6258, !X!, !Y!, !Z!, 5)

If the Door is at right use the macro, is left cahnge VarAdd(X, 1) with VarSub(X, 1), if up change VarAdd(X, 1) with VarSub(Y, 1), if down change VarAdd(X, 1) with VarAdd(Y, 1)
well i think it got bugged but somehow i made it work with that macro spliff gave me, reput to him and topic can be closed Wink
Not bugged, is that how to write macros changed Tongue