declare question

Drowfire

Nothing is Impossible
Joined
Nov 12, 2007
Messages
160
Reaction score
3
Points
18
hi folks,
tried and searched 3 hours now,but cant get it working.

i want to start a mac with /mac xyz item

later in the mac it needs to cast the specifc item which was declared on the start.

hope you understand what i am searching for.either iam to tired now oder the iam thinking to much complicated.

regards
 
Check out tutorial.mac that comes with the mq2 compile. It uses this for NoPok extension.

${Param0} is the TLO your looking for

You'll just need to add something like /itemcast ${Param0}
 
great thx much fry,ive thought too complicated.

Code:
/declare Item ${Param0}
.
.
/casting "${Param0}"|item

works like a charm.