Code: Select all
|AFK Tell Recorder By: Ted
|--------------------------
|/back echo's all tells recieved while
|macro is running to MQ window
#chat tell
#Event TellReturn "[MQ2] back"
Sub Main
/declare tnum int outer 0
/squelch /alias /back /echo back
/echo Recording your tells now.
:chatloop
/doevents
/goto :chatloop
/return
Sub Event_Chat(ChatType,Sender,ChatText)
/varset tnum ${Math.Calc[${tnum}+1]}
/declare t${tnum} outer "${Sender} - '${ChatText}'"
/return
Sub Event_TellReturn(string Command)
/echo ::Welcome Back - You have missed ${tnum} Tells::
/declare i int local
/for i 1 to ${tnum}
/echo ${t${i}}
/next i
/end
