BBot - The best bot of the world
Obsidian knife macro help - 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: Obsidian knife macro help (/thread-14521.html)



Obsidian knife macro help - Qapux - 04-02-2014

Hello guys, I need a for obsidian knife.
Basically I want the bot to use the knife on ice cubes.

Whoever gives macro will get a rep +1 Smile

Thanks.


RE: Obsidian knife macro help - Qapux - 04-03-2014

bumpp


RE: Obsidian knife macro help - mr. Kris - 04-04-2014

use in macro
Code:
Self.Backpacks.UseOn(UseID, UseOn)

UseID - obsiadnian knife ID
UseOn - ice cube ID

You must add to looter ice cube, and in BP obsiadian start work.
Ice cubes have 4 ID, 1 ID for all stage ice cubes. You can use obsiadian in 4 stages, last 5 stage = mammoth

So:

Code:
500 {Ice Cubes Knife} Self.Backpacks.UseOn(5908, 7441) Self.Backpacks.UseOn(5908, 7442) Self.Backpacks.UseOn(5908, 7443) Self.Backpacks.UseOn(5908, 7444)

Code:
Self.Backpacks.UseOn(5908, 7441)
Self.Backpacks.UseOn(5908, 7442)
Self.Backpacks.UseOn(5908, 7443)
Self.Backpacks.UseOn(5908, 7444)


I try this solution in server and all work.