BBot - The best bot of the world

Full Version: Macro Door
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Can someone make a macro to open a door in a specif position. Yeah i know than i can use the maptool but i prefer a macro.
wiki Wrote:Map.Use(ID, X, Y, Z, Range) use a item in the ground ( samples: door, ladder )

Make your way till the door and then add this:

Code:
1000 {Open Door} VarSet(X) Self.X VarSet(Y) Self.Y VarSet(Z) Self.Z Map.Use(DOOR_ID, !X!, !Y!, !Z!, 1)

Or as the door doesn't move you can add its position (X,Y,Z) in the macro:

Code:
1000 {Open Door} Map.Use(DOOR_ID, X, Y, Z, 1)