BBot - The best bot of the world

Full Version: Use id(item) on yourself
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I need a macro that uses an item on itself. Item id = 3156.
(01-19-2017, 12:52 AM)Kingzael Wrote: [ -> ]I need a macro that uses an item on itself. Item id = 3156.

Quote:target:=Creature.Self()
Creature.ShootOn(!target!, 3156)
(01-19-2017, 01:28 AM)zarize Wrote: [ -> ]
(01-19-2017, 12:52 AM)Kingzael Wrote: [ -> ]I need a macro that uses an item on itself. Item id = 3156.

Quote:target:=Creature.Self()
Creature.ShootOn(!target!, 3156)

Thx bro. It worked Big Grin
You can place the item for use at any time. (Ex: 1:00 pm. after 5:00 pm)????
(01-19-2017, 03:41 AM)Freitas Wrote: [ -> ]You can place the item for use at any time. (Ex: 1:00 pm. after 5:00 pm)????

yes you can, (but why you use Wild growth rune on yourself? ;d )

Here is two macros for you:
this would use exacly at 13:02:20

[macro]400 {3156self}
Misc.SystemTime.Hour()==13
Misc.SystemTime.Minute()==2
Misc.SystemTime.Second()==20

target:=Creature.Self()
Creature.ShootOn(!target!, 3156)
[/macro]

Of course your system clock must be correct ;d

And if you want to use second time, for example 13:02:20 and lets say, 17:01:35 use this

[macro]400 {3156self}
target:=Creature.Self()
Misc.SystemTime.Hour()==13 [time]
Misc.SystemTime.Minute()==2
Misc.SystemTime.Second()==20
Creature.ShootOn(!target!, 3156)
exit()
{time}
Misc.SystemTime.Hour()==17
Misc.SystemTime.Minute()==1
Misc.SystemTime.Second()==35
Creature.ShootOn(!target!, 3156)
exit()
[/macro]