Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Kheri_
Wanderer


Joined: 11 Oct 2005
Posts: 58

PostPosted: 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.
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: 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
Reply with quote
Kheri_
Wanderer


Joined: 11 Oct 2005
Posts: 58

PostPosted: 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
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net