Forward Tells

Got a cool macro idea? Wanna request a macro? Here is the place for you!

Moderator: MacroQuest Developers

Ecchi_User
orc pawn
orc pawn
Posts: 18
Joined: Fri Aug 30, 2002 6:34 am

Forward Tells

Post by Ecchi_User » Wed Nov 19, 2003 11:04 pm

Just looking for something that forwards tells to another person.
#chat tell
Sub Event_Chat
/tell hardcoded_user From Var1, Var0
/return
I dont understand parameters in MQ, I know what's required to do this, just need the variables for 'who sent tell' and/or the whole string afterwards.

in_training
Craptastic
Posts: 115
Joined: Fri Oct 10, 2003 8:25 am

Post by in_training » Wed Nov 19, 2003 11:17 pm

Code: Select all

#chat tell

sub Main
     :loop
     /doevents
    /goto :loop
/return


sub Event_chat

     /tell Master @param1 told me: @param2
/return
I am still REALLY new to this, but I think that'll work

Drunkensloth
a lesser mummy
a lesser mummy
Posts: 67
Joined: Sat Oct 18, 2003 2:54 am

Post by Drunkensloth » Sun Nov 23, 2003 10:29 pm

i dont belive that will work because no params have been defined... or input...

$lasttell
will give the name of the last person to send you a tell

and i dont know how to input values from chat... just yet.. will check and reply back later if i find out, back to POEB
And here I was clicking like a sucker!

Zxeses
a ghoul
a ghoul
Posts: 103
Joined: Tue Jan 07, 2003 4:17 pm

Post by Zxeses » Mon Nov 24, 2003 2:04 pm

Code: Select all

sub Event_chat(MsgType,MsgFrom,MsgText)
   /if @MsgType==tell /tell Master @MsgFrom told me: @MsgText
/return

Ecchi_User
orc pawn
orc pawn
Posts: 18
Joined: Fri Aug 30, 2002 6:34 am

Post by Ecchi_User » Tue Nov 25, 2003 3:39 am

Thank you zxeses. works perfectly. exactally as i was hoping for.

uloseirl
orc pawn
orc pawn
Posts: 15
Joined: Thu Jan 22, 2004 9:15 pm

Post by uloseirl » Sun Jan 25, 2004 12:35 am

hmm, this could be useful leaving a trader on while xping..


How would I be able to have my trader respond to that guy with whatever i want?

Something like(and i dont know the correct symbology here)

tell^buyername (msg)