mIRC Home    About    Download    Register    News    Help

Print Thread
Topic history identifiers #46166 01/09/03 05:20 PM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline OP
Hoopy frood
OP Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Why is it there is no way to get the topic history for a channel? I want to rewrite the channel central (since Khaled doesn't seem to want to make any changes to it), and I want it to have all the features of the current channel central. So, I think it would be useful if there was some sort of $topichistory(#channel,N)[.setby|setat]
That returns the Nth topic in the topic history, and if you use .setby or .setat it will return either who set it or when it was set. And of course N = 0 would return the total number of topics in the history.

Re: Topic history identifiers #46167 01/09/03 11:57 PM
Joined: Dec 2002
Posts: 266
Z
zack Offline
Fjord artisan
Offline
Fjord artisan
Z
Joined: Dec 2002
Posts: 266
That would be a great addition, though (as you probably realise and probably have already done) it's not that had to script at all smile

Just use:
  • on TOPIC event
  • Hash tables (or other data storage)
  • $prop to get the properties you require
  • And a custom identifier, it could be coded within seconds/minutes smile


You won't like it when I get angry.
Re: Topic history identifiers #46168 01/09/03 11:58 PM
Joined: Dec 2002
Posts: 2,809
C
codemastr Offline OP
Hoopy frood
OP Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Yeah you could script it, but I'm thinking, mIRC already stores the information for us... so why not just let us access it?

Re: Topic history identifiers #46169 02/09/03 05:39 AM
Joined: Dec 2002
Posts: 46
L
LtGuide Offline
Ameglian cow
Offline
Ameglian cow
L
Joined: Dec 2002
Posts: 46
i suggested this once back when the old boards were 'alive' as $topic

i dont recall anyone giving any support, so you definitely have mine..


evil is in the eye of the beholder