mIRC Home    About    Download    Register    News    Help

Active Threads | Unanswered Past 24 hours | Past 48 hours | Past Week | Past Month | Past Year
Feature Suggestions Jump to new posts
Re: Missing Documentation maroon Yesterday at 09:11 PM
$wrap(text, font, size, width, bipt, N)

the 'w' switch is mentioned in the lower text, but not in the above syntax.
46 50,892 Read More
Bug Reports Jump to new posts
Re: /nick not changing nick in treebar deVilbaT Yesterday at 05:38 PM
Maybe video helps: https://ufile.io/euyl8dup
Just look on treebar when 2nd windows is open and use /nick. Nick is no change.
5 81 Read More
Scripts & Popups Jump to new posts
Re: on text question XGamerAMD Yesterday at 12:06 AM
thnx for the answer!"!!! preciate
3 133 Read More
Connection Issues Jump to new posts
Re: Can't autojoin channels on Libera when using ZNC maroon 04/10/22 07:54 PM
Sounds like you might need a lot of back/forth for your problem, might help to come to ##mirc on libera or efnet, or #mircscripting at swiftirc. if by 'preferences' you mean your Alt+E window doesn't have any servers, then something happened to servers.ini

Everyone just says libera, but the actual string for $network is Libera.Chat and it's unusual for networks to have a period in their $network string. Even mIRC itself needed an update back then to support the /server command using the groupname having a period instead of seeing it as a hostname

But yes, it helps greatly in mIRC for a variety if issues that you always connect to servers that are listed in your servers list, and even though it says the 'group' is optional, it's best that they match exactly what $network is there.
1 56 Read More
Scripts & Popups Jump to new posts
Re: Need help on storing scores maroon 01/10/22 07:33 PM
From looking at the script, it appears the scores are saved as global variables with names like %FF.score.nick where the 'nick' is replaced with the actual nick. So if someone changes their nick the score starts at zero.

This kind of problem can happen when files are being written-to when the computer crashes, which often results in a zero-size file. You can see your list of variables by clicking on the 'variables' tab once you're in the Alt+R script editor. The default location is a file named 'vars.ini' located in the 'scripts' folder beneath the one where mirc.ini is located.

Unfortunately, mIRC doesn't make a practice of making regular backups of its own .ini files, so if something happens to mirc.ini vars.ini etc, there's no recovery from it.

There may be a backup that was made during an install if you install new updated versions into the same mIRC folder. This next command can be pasted into your 'status window', and will show you if there are any variables files that may have been during a backup:

//echo -a $findfile($mircdir,var*.ini;var*.bak,0,echo -a $asctime($file($1-).mtime) size $file($1-).size $1-)

Hopefully there's a backup of the file in another subfolder somewhere, having a recent enough timestamp to be of value.


Going forward, something you can do to defend against this is to run a script I made a while ago for situations like this.


The script will save backups of mirc.ini, and optionally can save backups of the other settings files that mIRC itself writes to. The filenames are saved including the weekday as part of the filename, so if you use mIRC every day, you can end up with a rolling backup from each day of the past week.

By default I only enabled backups of mirc.ini because it's the most likely of the settings files to have this happen to it, due to being the one most frequently written to. But the script has comment lines in it to show you how to enable saving backups of the other settings files. In your case, there's a comment on line 98 telling that line 99 is the command to make backups of the vars.ini variables, file, and you can enable that by removing the semi-colon from the front.

It's not just having your settings files trashed by a computer crash that these backups are for. Sometimes you can make a configuration change that you either can't figure out how you did it, or how to undo it, or it's too much work to restore things the way you like them. For example, if you accidentally click on the 'cascade' or 'tile' icon, it can be hard to undo that. So, you can use a backup of mirc.ini from the past week to get things back to the way they were before. With a week's worth of backups, then hopefully there'd be at least one of them that's 'good'.

Note that to restore a backup you may need to copy the backup on top of the 'correct' filename while mIRC is not running, because some of the settings files are simply writing the internal settings to disk, and mIRC may ignore your swap and just write on top of it.
1 113 Read More
Latest News Jump to new posts
mIRC 7.71 released Khaled 01/10/22 12:17 PM
Dear mIRC User,

mIRC v7.71 has been released today.

This is a small update that adds features and addresses a number of issues reported by users since the last release. It includes improvements, changes and fixes, including:

Changed the way Windows system libraries are loaded to prevent DLL hijacking.
Added tray tip warning on startup if mIRC has been minimized to the system tray but Windows has hidden its icon.
Fixed colons being stripped out of nick, alternative nick, user, emails, /nick, and server list entries.
Fixed /hsave -i intermittent crash bug caused by a data race / race condition across multiple threads.
Changed CTCP PING to not reply to text containing CTCP control codes to mitigate NAT-AGAIN Linux kernel NAT bug (CVE-2022-2663).
Fixed tab key evaluation of identifiers in editboxes that contain multiple CR/LF-delimited lines.
Fixed nested single-line while loop break bug.
Fixed /socklisten -pu with UPnP, IPv6 address, and dual stack not opening an IPv4 UPnP port on the router.
Fixed Aero theme bug where if /window +b was used, a miniature titlebar was being drawn.
Fixed alternative nick bug when left empty in connect dialog.
Updated CA root certificates cacert.pem file.

How to upgrade?
mIRC is distributed in an installer that installs mIRC on your computer for you. Simply download and run the installer from the download page on the mIRC website. Follow the instructions the installer gives to you. When upgrading all your old settings and scripts will stay as they were, if you want that. Read the questions the installer asks with care and nothing can go wrong. You will be chatting with the new mIRC in no time. If you get stuck or if you want to find out more about a certain feature, just click on a Help button or browse the Help file and you should find lots of hints to help you out.

Where to download?
As always, the latest version of mIRC can be downloaded from the download page on the mIRC website.

Registering mIRC
As you know, mIRC can be downloaded freely and evaluated for 30 days. If you find that you enjoy using mIRC, it would be great and much appreciated if you registered your copy. This licenses you to use your copy of mIRC and helps to support our continued work on mIRC. You can find out how to register here.

Full list of Fixes, Changes and Additions.
For a more detailed list of recent changes, please see the whatsnew.txt file. You will need to read through the help file to learn more about these changes and their impact. Some changes are obvious, some need getting used to - please take your time to play with them and see how they work. May we invite you to use these forums for all questions you might have? The forums offer great help with everything related to mIRC!

Thanks for using mIRC, have fun on IRC!
0 117 Read More
Bug Reports Jump to new posts
Re: Scripts Editor menu bug Khaled 30/09/22 07:06 PM
Thanks this issue has been fixed for the next version.
1 191 Read More