Goto page Previous  1, 2 Software Documentation mq2moveutils
Reply
Im courious what is on my buttons at home then. Just a best guess from work at the time.
Wed Mar 26, 2014 10:49 am
Listen to This Guy
Very helpful command.
Thank you for posting that.

It works great if i add it directly into the macroquest.ini

/stickme=/multiline @ /echo [${Time.Time24}] Command issued: /stickme@/noparse /bca //multiline ; /if (!${Defined[StickZone]}) /declare StickZone string global;/if (!${Defined[StickTar]}) /declare StickTar int global@/bca //varset StickZone ${Zone.Name}@/bca //varset StickTar ${Me.ID}@/noparse /bca //if (${Zone.Name.Equal[${StickZone}]} && ${Spawn[${StickTar}].ID} && ${Spawn[${StickTar}].Distance}<200 && ${LineOfSight[${Me.Y},${Me.X},${Me.Z}:${Spawn[${StickTar}].Y},${Spawn[${StickTar}].X},${Spawn[${StickTar}].Z}]}) /multiline ; /echo [${Time.Time24}] Sticking to ${Spawn[${StickTar}].CleanName};/face ID ${StickTar} fast;/stick ID ${StickTar} 10@/noparse /bca //timed 3 /if (${Stick.Status.Equal[OFF]}) /bc [${Time.Time24}] Stick target ${Spawn[${StickTar}].CleanName} isn't nearby. Staying put.


Anyone knows the correct form if i want to add it into a macro (with alias command) and it automatic write into macroquest.ini ?

My first tries dont seem to work (removed the time stamp):

/alias /stickme /multiline ; /echo Command: /stickme ; /squelch /noparse /bca //multiline ; /if (!${Defined[StickZone]}) /declare StickZone string global ; /if (!${Defined[StickTar]}) /declare StickTar int global ; /bca //varset StickZone ${Zone.Name} ; /bca //varset StickTar ${Me.ID} ; /noparse /bca //if (${Zone.Name.Equal[${StickZone}]} && ${Spawn[${StickTar}].ID} && ${Spawn[${StickTar}].Distance}<200 && ${LineOfSight[${Me.Y},${Me.X},${Me.Z}:${Spawn[${StickTar}].Y},${Spawn[${StickTar}].X},${Spawn[${StickTar}].Z}]}) /multiline ; /echo Sticking to ${Spawn[${StickTar}].CleanName}; /squelch /face ID ${StickTar} fast ; /stick ID ${StickTar} 10 moveback behindonce ; /noparse /bca //timed 3 /if (${Stick.Status.Equal[OFF]}) /bc Stick target ${Spawn[${StickTar}].CleanName} isn't nearby. Staying put.
Thu Mar 27, 2014 1:53 am
/alias work for all characters. Copy and paste it once and it will work for every character you play with.

But to answer the question...

/alias <aliasname> <what's behind the /stickme=>

Your format looks OK. Maybe it's an error replacing @ with ;. Make sure the command is less than 250 characters. EQ client will bug out if it's too big..
Thu Mar 27, 2014 5:09 pm
Senior Project Member
Goto page Previous  1, 2 Software Documentation mq2moveutils
Reply