 |
jenwin Beginner
Joined: 05 Jul 2003 Posts: 24 Location: Sweden
|
Posted: Sat Mar 27, 2004 11:28 pm
Tell and time challenge |
[8D]
Heya,
I got this idea in my head but dunno really how to get it to work... See I am right now capturing tells that are sent to me and using the following triggers etc
(%w) tells you
#cap %1
oki, that works pretty good, but now I want to add to the text at what time the tell came in, how do I timestamp the event and send it to the #cap window? and can it be that there is a way to get the timestand after the message
for instals Killer tells you "yadadayd" thursday 16.30pm
Thanx for your time |
|
|
 |
Vijilante SubAdmin

Joined: 18 Nov 2001 Posts: 5187
|
Posted: Sun Mar 28, 2004 12:42 am |
Sure can.
This little trigger will do it for you.
#TRIGGER {(%w) tells you} {#IF (%ismember(%1,%names)=0) {#WIN %1;:%1:#TRIGGER {^(*)$} {#PSUB {%%%1 %time("aaaa h.nna/p")%cr} %%%x1} "" {color|notrig};#CAP %1;#EXEC %concat(%window,":#NOOP")} {#CAP %1}} |
|
|
 |
jenwin Beginner
Joined: 05 Jul 2003 Posts: 24 Location: Sweden
|
Posted: Sun Mar 28, 2004 1:28 am |
Thank you kindly
|
|
|
 |
|
|