MQ2Events

wwarwolf911

Member
Joined
Sep 5, 2008
Messages
901
Reaction score
13
Points
18
/tell #1# is not working. That person is not online


I want to set up an event that will /tell message the person that triggered the event.
eg. #1# tells the guild, 'raidinvite #2#
command=/raidinvite ${EventArg1.Right[-2].Left[-1]}
and then make it /tell #1# If the raid is locked, try again in 30 sec
 
/tell #1# is not working. That person is not online


I want to set up an event that will /tell message the person that triggered the event.
eg. #1# tells the guild, 'raidinvite #2#
command=/raidinvite ${EventArg1.Right[-2].Left[-1]}
and then make it /tell #1# If the raid is locked, try again in 30 sec

I don't use MQ2Event but it looks to me you got the correct syntax in your command=... why not use the same syntax in your /tell? #1# is not going to work, that is not a variable. #1# is only used in the event line to let it know to define whatever text matches that part of the event into the first event variable. In this case it looks like that is probably ${EventArg1}

The .Right[-2].Left[-1] is cleaning up trash left behind by eq creating links with names (so that you can click the name to interact with it in chat).

So I'm betting
/tell ${EventArg1.Right[-2].Left[-1]} xxxxx
will do what you want.
 
And of course, if you're somehow using this in public, add a small delay between receiving the tell and doing the invite so you don't look suspicious.