mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2014
Posts: 337
TECO Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Jul 2014
Posts: 337
Hi Khaled,

I detected a bug in Channel Central.
When I check a channel's ban list using the command: /mode #chan +b

Return:
(#mircscripting) *!*@blo.users.swiftirc.net TECO!none@vhost.cferreira.org 1698846295
(#mircscripting) deVilbaT!*@* TECO!none@vhost.cferreira.org 1698846295
(#mircscripting) *!*@Swift-81AFA2D5.compute-1.amazonaws.com Ouims!~Ouims@simple.mIRC.user 1697837400
(#mircscripting) *!*@Swift-F9128509.adsl196-7.iam.net.ma mIRC!mIRC@services.swiftirc.net 1697150010
(#mircscripting) End of Channel Ban List

But then Channel Central doesn't show the year:
[Linked Image from i.ibb.co]

And these bans are all from 2023.
I think it would be important to add the year on Channel Central.

And I make a suggestion regarding the /mode #chan +b command, I think it would be better if it returned the time and date in text format associated with the $ctime time value.

Exemple:

Example ban list:
(#mircscripting) *!*@blo.users.swiftirc.net TECO!none@vhost.cferreira.org Wed Nov 01 13:44:55 2023
(#mircscripting) deVilbaT!*@* TECO!none@vhost.cferreira.org Wed Nov 01 13:44:55 2023
(#mircscripting) *!*@Swift-81AFA2D5.compute-1.amazonaws.com Ouims!~Ouims@simple.mIRC.user Fri Oct 20 22:30:00 2023
(#mircscripting) *!*@Swift-F9128509.adsl196-7.iam.net.ma mIRC!mIRC@services.swiftirc.net Thu Oct 12 23:33:30 2023
(#mircscripting) End of Channel Ban List

It was also tested on the latest beta version of mIRC 7.77.1917


TECO
irc.PTirc.org (Co-Admin)
Joined: Dec 2002
Posts: 5,511
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,511
Thanks, I have added this to my to-do list.

Joined: Jul 2014
Posts: 337
TECO Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Jul 2014
Posts: 337
Originally Posted by Khaled
Thanks, I have added this to my to-do list.

Keeps returning the time value in $ctime:

(#mircscripting) *!*@blo.users.swiftirc.net TECO!none@vhost.cferreira.org 1698846295
(#mircscripting) deVilbaT!*@* TECO!none@vhost.cferreira.org 1698846295
(#mircscripting) *!*@Swift-81AFA2D5.compute-1.amazonaws.com Ouims!~Ouims@simple.mIRC.user 1697837400
(#mircscripting) *!*@Swift-F9128509.adsl196-7.iam.net.ma mIRC!mIRC@services.swiftirc.net 1697150010
(#mircscripting) End of Channel Ban List

Tested on mIRC Beta 7.78.6786


TECO
irc.PTirc.org (Co-Admin)
Joined: Feb 2011
Posts: 469
K
Pan-dimensional mouse
Offline
Pan-dimensional mouse
K
Joined: Feb 2011
Posts: 469
I'm using 7.78.6786. The Channel Central window shows the year.

Joined: Jul 2014
Posts: 337
TECO Offline OP
Pan-dimensional mouse
OP Offline
Pan-dimensional mouse
Joined: Jul 2014
Posts: 337
Originally Posted by KindOne
I'm using 7.78.6786. The Channel Central window shows the year.

I checked that it is working correctly

Last edited by TECO; 06/01/25 11:22 PM.

TECO
irc.PTirc.org (Co-Admin)
Joined: Dec 2002
Posts: 5,511
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 5,511
Quote
And I make a suggestion regarding the /mode #chan +b command, I think it would be better if it returned the time and date in text format associated with the $ctime time value.
If you are referring to the result printed to the status window, mIRC already displays this in brackets:

[19:27] #swiftirc *!*@89.187.177.72 set by SwiftIRC!SwiftIRC@SwiftIRC.net (Sun Dec 17 22:57:25 2023)

If you are using a script to display this numeric, you will need to parse the $ctime value.


Link Copied to Clipboard