Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Use id(item) on yourself
01-19-2017, 12:52 AM
Post: #1
Use id(item) on yourself
I need a macro that uses an item on itself. Item id = 3156.
Give Reputation to this user
Find all posts by this user
Quote this message in a reply
01-19-2017, 01:28 AM
Post: #2
RE: Use id(item) on yourself
(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)

Give Reputation to this user
Find all posts by this user
Quote this message in a reply
01-19-2017, 02:49 AM
Post: #3
RE: Use id(item) on yourself
(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
Give Reputation to this user
Find all posts by this user
Quote this message in a reply
01-19-2017, 03:41 AM
Post: #4
RE: Use id(item) on yourself
You can place the item for use at any time. (Ex: 1:00 pm. after 5:00 pm)????
Give Reputation to this user
Find all posts by this user
Quote this message in a reply
01-19-2017, 07:10 AM (This post was last modified: 01-19-2017 07:30 AM by Catar.)
Post: #5
RE: Use id(item) on yourself
(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

3156self (auto: 400ms)
400 {3156self}
Misc.SystemTime.Hour()==13
Misc.SystemTime.Minute()==2
Misc.SystemTime.Second()==20

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


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

3156self (auto: 400ms)
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()

Give Reputation to this user

Before you PM me, READ THIS [Image: KHCf9l2.png]

[Image: naLmyGH.png]

My Scripts, Macros and Tutorials
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)