PennMUSH Community

Ticket #7222 (closed suggested feature: fixed)

Opened 2 years ago

Last modified 1 year ago

@chan/recall added functionality

Reported by: Trinsec Assigned to: devteam
Priority: minor Milestone: 1.8.3p4
Keywords: Cc:
Visibility: Public

Description

@chan/recall <channel>=<timeframe>
<timeframe> being stuff like '1h' or '23m'
Which implies 'in the last <time given>'

Example:
I log on, enter middle of conversation, wonder what the last 10 mins 
were about. @chan/recall public=10m

Would just be an 'addition' to the current @chan/recall (check if the 
time units are given, 'h' or 'm' or even 's' if you're funky, or 'd' for 
days.)
Any other letters: Current response of 'How many lines did you want to 
recall?' is good.
No letters: Current response with buffer sizes is good.

Would be useful, as a timeframe is probably more familiar to the 
end-user to give than the buffer size and that the resulted response 
will be indeed lines inside said timeframe instead of having something 
from eons ago also shown.

Attachments

recall-time.patch (4.0 kB) - added by Talvo on 02/28/07 17:09:24.
Patch to add the extra functionality into @chan/recall and crecall()

Change History

02/28/07 17:09:24 changed by Talvo

  • attachment recall-time.patch added.

Patch to add the extra functionality into @chan/recall and crecall()

02/28/07 17:12:30 changed by Talvo

Since there wasn't a lot of space to comment with the file, I'll add it separately. I wrote a patch for the functionality Trinsec described that seems to work fine in both @chan/recall and crecall(), though both ignore the <start line> argument when a timestring is given, since it doesn't really make a lot of sense. Relies on Javelin's patch in ticket 7230 which refactors stringsecs(). Hope it works OK.

03/25/07 14:42:07 changed by raevnos

  • type changed from incoming to suggested feature.

05/04/07 15:11:36 changed by raevnos

  • milestone set to 1.8.3p3.

05/24/07 09:24:07 changed by raevnos

  • milestone changed from 1.8.3p3 to 1.8.3p4.

07/07/07 20:59:54 changed by raevnos

  • status changed from new to closed.
  • resolution set to fixed.