mIRC Home    About    Download    Register    News    Help

Print Thread
#82143 06/05/04 06:20 PM
Joined: Jan 2003
Posts: 45
R
rela Offline OP
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Jan 2003
Posts: 45
Maybe you can put the year when the topic is set too.


@#botwars @Kreynet
#82144 06/05/04 07:58 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
I think it's the server which gives mIRC (the client) the information about the date on which the topic was set. Therefore, it is beyond the control of Khaled to display the info - mIRC can only display what it's given.

What's more, it's a rarity for a topic to be set for more than a year which is most likely why the developers of the network's IRCd choose not to display a year. However, check out the network's website and see if you can contact the coders team (if there is one) or whoever develops the IRCd and see if that info can be displayed.

Regards,


Mentality/Chris
#82145 06/05/04 08:27 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
The topic timestamp is provided as a CTime seconds value, so mIRC could display the year it was set. However as you said it's incredibly unlikely that a topic would ever be set that long, let alone that anyone would care which year it was set even if it were.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#82146 06/05/04 08:43 PM
Joined: Jun 2003
Posts: 5,024
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Jun 2003
Posts: 5,024
Ah yes, someone said online it was the timestamp heh. * Mentality walks off and learns about IRC frown

Regards,


Mentality/Chris
#82147 06/05/04 11:32 PM
Joined: Aug 2003
Posts: 325
W
Fjord artisan
Offline
Fjord artisan
W
Joined: Aug 2003
Posts: 325
Quote:
The topic timestamp is provided as a CTime seconds value, so mIRC could display the year it was set. However as you said it's incredibly unlikely that a topic would ever be set that long, let alone that anyone would care which year it was set even if it were.

More to the point, has there ever been a room where the topic was set a over a year before?

#82148 07/05/04 02:36 AM
Joined: Dec 2002
Posts: 1,237
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 1,237
A long time ago, I did see a chatroom where the topic was set about 8 months prior to my visit. Does that count? LOL Don't ask me where I saw that one as I was browsing networks but that was probably over a year ago... smile

#82149 07/05/04 04:59 AM
Joined: Dec 2002
Posts: 266
Z
Fjord artisan
Offline
Fjord artisan
Z
Joined: Dec 2002
Posts: 266
I know a channel which had the same topic for over a year. Currently it's topic is:

03:00.14/p * Set by Cheshire_Cat on Sun Aug 31 20:48:59

gg DALnet


You won't like it when I get angry.
#82150 07/05/04 06:49 AM
Joined: Jan 2003
Posts: 45
R
rela Offline OP
Ameglian cow
OP Offline
Ameglian cow
R
Joined: Jan 2003
Posts: 45
I'm asking this, because my channel has a topic from 31 december 2002 now grin


@#botwars @Kreynet
#82151 07/05/04 08:44 AM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
I set one last November which still exists. It's like that song - some things change and some stay the same.

#82152 07/05/04 10:40 AM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
I guess mIRC could display the year if it isn't the current year. Displaying it all the time would be pointless though because most channels change their topic at least once per week.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#82153 07/05/04 02:16 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
I use PnP 4.22 and it shows the topic date in the $fulldate format (Fri 7th May 2004 11:15)

Dont know how to do it, though :P


"All we are saying is give peace a chance" -- John Lennon
#82154 07/05/04 04:29 PM
Joined: Jan 2003
Posts: 56
E
Babel fish
Offline
Babel fish
E
Joined: Jan 2003
Posts: 56
I think it will use a remote script like this to do so ...

Code:
raw 333:*: {
  if ($1 == $me) && ($2 ischan) && ($4 isnum 1-) {

    var %echo, %target = $gettok($readini($mircini,events,default),5,44)

    if     (%target == 1) { %echo = echo -cets "topic text" }
    elseif (%target == 2) { halt }
    else                  { %echo = echo -ct "topic text" $2 }

    %echo * Set by $3 on $asctime($4)
    halt
  }
} 


Ecronika
My mIRC Addons

Link Copied to Clipboard