|
Kheri_ Wanderer
Joined: 11 Oct 2005 Posts: 58
|
Posted: Sat Oct 15, 2005 9:13 am
tells |
how could i make it when, i type tells
i'd get a list of the last tells, lets say 20.
^(%w) tells you, "(*)"$
that's like all i know to do. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sat Oct 15, 2005 10:49 am |
#CLASS TellsSaver
#VARIABLE TellsRec {} {}
#ALIAS tells {#ECHO {%expandlist(@TellsRec,%cr)}
#TRIGGER {^(%w) tells you, "(*)"$} {#ADDITEM TellsRec {%concat("%1",": ","%2")};#IF (%numitems(@TellsRec)>20) {#DELNITEM TellsRec 1}}
#CLASS 0 |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
Kheri_ Wanderer
Joined: 11 Oct 2005 Posts: 58
|
Posted: Sat Oct 15, 2005 7:47 pm |
there was a problem, i removed the { before %expandlist. It works great.
Thanks Vijilante. :)
is there anyway to make it to show what time it is? i haven't found anything like that. |
|
_________________ Old |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sat Oct 15, 2005 11:04 pm |
Yep was missing the closing brace there, so eliminating the extra opening worked just as well. Adding time stamps is simply a matter of tacking the %time function into the %concat properly.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|