mIRC Home    About    Download    Register    News    Help

Active Threads | Unanswered Past 24 hours | Past 48 hours | Past Week | Past Month | Past Year
mIRC Help Jump to new posts
Re: Old version of mirc does not support /cnick Khaled Yesterday at 08:34 AM
You should not, under any circumstances, use older versions of mIRC.
6 115 Read More
Feature Suggestions Jump to new posts
Re: Improving $findfile() $findfile() $read and /write Khaled Yesterday at 08:30 AM
That is not how the Windows find file/dir API works. When a search is initiated, a handle must be opened, used, and then closed every time. You cannot leave a handle open and then use it again.

If the issue you are having is that you are calling $findfile()/$finddir() repeatedly with the same parameters in a loop, you will need to use the @window or /command parameter that was added to these identifiers specifically for this purpose.
1 33 Read More
Bug Reports Jump to new posts
Re: mIRC beta Khaled 13/07/20 12:42 PM
The latest beta is v7.61.1242 and can be downloaded from here. It includes the following changes:

Beta v7.61.1242 changes:
1.Item 33, updated, eg. "Log Files" dialog is now "mIRC Log Files",
"Clear History" is now "mIRC Clear History", and so on, to make them
consistent with most other dialog titles. About 15+ dialogs were

The "Window Group" and "Window Order" dialogs have been renamed "mIRC
Group" and "mIRC Order". The SSL Private Key Password dialog has been
renamed "mIRC SSL Private Key Password".

The "mIRC" dialog title prefix only applies to top-level dialogs, not
to dialogs that are window-specific or open inside other dialogs.

The Lock dialogs in "Channels List" and "Options/Other/Lock" are now
named "Lock" when locking and "Unlock" when unlocking.

2.Item 34, changed.
3.Item 35, https://forums.mirc.com/ubbthreads.php/topics/267468
4.Item 36, changed.

Beta v7.61.1161 changes:
1.Item 30, added.

This feature has been implemented in such a way that it should not
affect scripts or other features. Sounds, including /splay, continue
to play and trigger events but are muted. Tips are processed but hidden.
Flashing taskbar window icons are processed but not flashed. The Tray
icon state is updated but remains static. This feature also prevents
new non-custom windows, such as status/channel/query windows, from
opening on the desktop by minimizing them. While do not disturb is
enabled, the /vol -u switch is pre-empted. If the mute state is
disabled externally, it is re-enabled. The do not disturb option is
persistent and is saved to the ini file.

Other than the above, this feature will not prevent scripts from
running and performing actions.

Note that this feature uses per-application muting for sounds, so it
will only work on Windows Vista onwards.

2.Item 31, added.
3.Item 32, https://forums.mirc.com/ubbthreads.php/topics/267401
As this has the potential to break backwards compatibility, it will
be reverted if it causes any issues.

Beta v7.61.1001 changes:
1.Item 26, fixed.
2.Item 27, fixed.
3.Item 28, added.
4.Item 29, added.

Beta v7.61.961 changes:
1.Item 22, https://forums.mirc.com/ubbthreads.php/topics/266950
2.Item 23, added.
3.Item 24, added.
4.Item 25, optimized.

Beta v7.61.817 changes:
1.Item 15, https://forums.mirc.com/ubbthreads.php/topics/267210
2.Item 17, https://forums.mirc.com/ubbthreads.php/topics/267228
3.Item 18, https://forums.mirc.com/ubbthreads.php/topics/267230
4.Item 19, fixed.
5.Item 20, fixed.
6.Item 21, added. This fix only applies when permonitorv2 is set in
the manifest, which it is not currently. It works by hiding the
caption whenever an MDI window is maximized. Unfortunately, there are
still display glitches which seem to be core Windows 10 MDI bugs.

Beta v7.61.439 changes:
1.Item 13, https://forums.mirc.com/ubbthreads.php/topics/267157
2.Item 15, added. Needs testing to ensure $comval() is working as
before and with new feature.
3.Removed support for "Open in new browser" and "Activate new window"
from Catcher dialog as these methods are no longer recognized by
modern web browsers.
4.Item 16, https://forums.mirc.com/ubbthreads.php/topics/267175

Beta v7.61.367 changes:
1.Item 11, https://forums.mirc.com/ubbthreads.php/topics/266927
2.Item 10, updated.
3.Item 12, added.
4.Item 13, changed.
5.Item 14, updated.
6.Item 3, https://forums.mirc.com/ubbthreads.php/topics/267074
Decreased frequency of polling.

Beta v7.61.159 changes:
1.Item 1, https://forums.mirc.com/ubbthreads.php/topics/245917
Required significant changes to code.
2.Item 2, https://forums.mirc.com/ubbthreads.php/topics/266935
3.Item 3, https://forums.mirc.com/ubbthreads.php/topics/266791
Experimental. Required significant changes to code. Uses undocumented
Windows APIs. Only works on Windows 7 onwards. If any part of the
method fails, defaults to global Control+Break.
4.Item 4, updated.
5.Item 5, updated.
6.Item 6, https://forums.mirc.com/ubbthreads.php/topics/266960
7.Item 7, https://forums.mirc.com/ubbthreads.php/topics/266966
8.Item 8 and 9, https://forums.mirc.com/ubbthreads.php/topics/266720
Required important changes to the regex and these identifiers,
so need testing to ensure changes are working correctly and are
backward compatible.
9.Item 10, updated.

1.Changed how on KEYUP/KEYDOWN are processed. This affects the values
returned in $keyval and $keychar for combined key presses.
2.Reverted change to $cnick() so that it returns default values for
non-existent nicks.
3.Changed how Control+Break key is handled so that it only works when
mIRC is the active application.
4.Updated PCRE regex library to v8.44.
5.Updated LibZip library to v1.6.1.
6.Added $width() and $height() sixth $true/$false parameter to enable
custom window-specific measurement.
7.Added support for irc hotlinks that uses the non-standard plus sign
prefixed port number format, such as +6697.
8.Extended $bfind() to support regex searches using:

$bfind(&binvar, N, M, [name]).regex

Where M is a regular expression when .regex is used. The name
parameter is the $regml() name.

9.Extended $regml()/$regmlex() to save result to a &binvar using:

$regml([name], n, [&binvar])
$regmlex([name], m, n, [&binvar])

When saving to a &binvar, returns length of saved text.

10.Updated OpenSSL library to v1.1.1f.
11.Changed [ssl] certificate warning item name in mirc.ini to ensure
one-time reset to a new default value.
12.Added CAP support for setname. This is automatically enabled if
available and will cause the server to send the setname event to the
client when users change their full name. Events are not shown but
are triggered as RAW events.
13.Changed IRCv3 CAP support of draft/label and draft/labeled-response
to label and labeled-response. ACK replies from the server are not
shown but are triggered as RAW events.
14.Updated colors dialog, control+K dialog, and /color command to
support color indexes 16 to 98.
15.Added $comval() .result property to support &binvar as a fourth
parameter, same as $com(), to store one dimensional array results. If
array is BSTR, it is stored using null bytes as separators.
16.Added on CHAR event that returns translated keyboard presses. Uses
the same format as on KEYDOWN/KEYUP.
17.Fixed tray tip display bug with different DPI settings.
18.Fixed /hmake not allowing maximum prime value for table size during a
hash table rename.
19.Fixed display of channel name in numeric 477 on some networks.
20.Fixed script editor rich editbox bug that may have caused font to be
set incorrectly.
21.Added workaround for maximized MDI window caption bug in Windows 10
on monitors with some DPI/resolution combinations.
22.Fixed custom window treebar folder not staying open in some contexts.
23.Added $min()/$max() identifiers that return minimum/maximum of a
list of values. Defaults to numbers. Properties: .text, .textcs,
and .nick. If a single parameter is used, it is treated as a space-
delimited list of values. If two or more parameters are used, each is
treated as a separate value.
24.Added check for numeric 696 on ircds that report errors when mode
requests include more modes than parameters.
25.Optimized processing of long strings in /commands, token identifiers,
$calc(), $eval(), and identifier parameters.
26.Fixed "Mark As Read" menu item in treebar, switchbar, toolbar and
MDI popup menus not resetting flash/hilight correctly.
27.Fixed CAP logon/authentication messages not being displayed if
remotes are disabled.
28.Added highlight dialog item that allows you to specify the channels
and/or nicks to which the highlight applies.
29.Added $highlight().chans property.
30.Added a "Do Not Disturb" option to the Tools menu that allows you
to temporarily disable all visible/audible notifications such as
sounds, tips, flashing window icons, tray icon animations, and more.
31.Added /donotdisturb [on|off] command and $donotdisturb identifier.
32.Fixed if/while parser not detecting some invalid bracket combinations.
33.Updated dialog titles for several features. Most dialog titles are
now prefixed with "mIRC". Some dialog titles have also been changed
to better describe their purpose.
34.Changed richedit editbox in windows, scripts editor, and custom
dialogs so that it no longer beeps when cursor is moved beyond text
range, like standard editboxes.
35.Fixed incoming server messages being truncated at 1024 bytes for
servers that send messages longer than the standard 512 byte maximum.
36.Extended $maxlenl maximum internal string length to allow parsing of
IRCv3 8191 byte message tag + 512 byte message.
1 186,334 Read More
Scripts & Popups Jump to new posts
Re: helps in using nicknames special characters - Erro maroon 12/07/20 12:13 PM
Sounds like you have a server which does not support UTF8. Try unchecking the choice: options/irc/messages/"utf8 encode message"
if it doesn't work, it would be hard to know without being able to test it at such a defective server too.
1 67 Read More
mIRC Help Jump to new posts
Re: Twitch subscription script TinSoldier 11/07/20 03:16 AM
I think the problem here is anything about twitch and IRC is all but ignored.

I read somewhere that twitch uses a "basic" but not 100% IRC complient custom server..

I have 3 IRC clients, all can connect to twitch chat and can chat back and forth, but the userlist only ever shows my bot in the clients userlist, no guest names show up.

But on twitch chat all the names are there, i'm only awear of a user in chat if they type something.. then their name shows up and there chat text too... but the username list doesnt show them.

I suspect this non complient irc service is the source of the problem, and twitchs custom commands.

searching google for mirc and twitch only shows videos from about 2013 at the latest.. so i assume most people only now use custom IRC code or preprogrammed bots for twitch that use the new command structure .

Why twitch cant include or leave in backwards compatibility for old complient IRC clients is beyond me..
They also added oauth so i assume security mite be involved for why the non standard code was added plus custom twitch commands too were added.
1 178 Read More
Scripts & Popups Jump to new posts
Re: Auto connect random proxylist.txt! Help please Kendy 11/07/20 01:35 AM
I have many ideas related to socket websites, but I haven't found anyone who is good at this. Do you know anyone on this forum who is good at writing Mirc for sockets?
7 121 Read More
Bug Reports Jump to new posts
Re: Incoming message length drum 10/07/20 10:43 PM
Excellent, thank you!
8 185 Read More
Scripts & Popups Jump to new posts
Re: Timestamp in MS HelpPlease 09/07/20 03:13 PM
Thank you so much for the help & how to. This works perfectly for me. Genuine thank you, really appreciate you taking the time to reply. grin
3 112 Read More
Feature Suggestions Jump to new posts
Please add /copy sparse option Raccoon 09/07/20 02:40 PM
Could you please add a /copy -p switch that instructs mIRC to create sparse blocks when it encounters a buffer full of zeros during a file copy? Simply use seek() instead write() and the file system will handle the rest for you as needed.

I would also like to know how large of a buffer does mIRC use in file copy? The minimum size sparse block NTFS will create is 64 KB. But all of that is handled at a very low level under the hood anyway. As long as it sees that a SEEK was performed instead of a WRITE, NTFS will attempt to conserve disk space by generating a "sparse" sector with the hole size information instead of a literal string of 0x00's on the platter. If you could please let the buffer be 64 or 128 KB when the -p switch is used, when identifying if the buffer is full of zeros, for maximum sparsificity.

Pretty please! laugh
0 60 Read More
mIRC Help Jump to new posts
twitch & mirc userlist & bots TinSoldier 08/07/20 10:45 PM
So i can connect to my twitch channel, i can type in the chat in mirc & from firefox on my channel on twitch.
All text goes through properly.

For some reason, the users in my twitch channel chat don't show up on mirc's user list.

The only username is my own when i login to twitch.

I also added a dice script in the remote window, no errors are shown but the script seems to to not work, and when sending the command !dice on ( should turn on the script ) seems to be ignored, even though it shows up in twitch's chat window. i used ( /remote on ) as well.

I'm suspecting the issue here mite be twitchs IRC server and not interacting with MIRC properly to show users in the chat, which i also suspect may be breaking the dice games script too.

Can Anyone confirm where this issue lies, is it twitch or MIRC or other ?
and maybe a fix for this issue ( which seems to be solely with the users in chat list missing or not updating).
0 34 Read More
Connection Issues Jump to new posts
Re: Bitdefender VPN causes disconnect maroon 06/07/20 10:49 PM
I don't have an answer, but something maybe to try, see if this works, which makes a timer that pings yourself every 45 seconds, which you can change the interval, as well as removing the dot so you can see when yourself is pinging. Something like this can also trigger a reconnect if it makes the client suddenly realize you're not connected. It's purposely not -o because there's no point in continuing to ping yourself after you've intentionally disconnected.

on *:CONNECT:{ .timer $+ $network 0 45 .ping $!me }
1 110 Read More
Scripts & Popups Jump to new posts
Re: need help :) maroon 06/07/20 09:33 PM
This does an echo instead of sending to channel, since that could cause you to be disconnected for flooding

//var %file $mircini , %section# 1 | while ($ini(%file,%section#)) { var %section $v1 , %item# 1 | while ($ini(%file,%section,%item#)) { var %item $v1 | echo -a [section] %section item= %item value: $readini(%file,n,%section,%item) | inc %item# } | echo -a === | inc -s %section# }
1 74 Read More
Scripts & Popups Jump to new posts
Re: timestamp with milliseconds HelpPlease 06/07/20 09:00 PM
Originally Posted by Protopia
Slightly faster initialisation (<1s rather than 2s):
alias ctimems {
  if (!$var(%ctimems.ticks,0) || !$var(%ctimems.ctime,0) || (!$isid)) {
    var %ctime = $calc($ctime + 1), %ticks
    while (%ctime > $ctime) %ticks = $ticks
    set -e %ctimems.ticks %ticks
    set -e %ctimems.ctime $ctime
  return $left($calc(%ctimems.ctime + (($ticks - %ctimems.ticks) / 1000) + .0001),-1)

And $timestampms:
alias timestampms {
  var %tsfmt = $timestampfmt
  if (s isin %tsfmt) {
    %tsfmt = $replacex(%tsfmt,ss,ss.xxx,s,s.xxx)
    var %ct = $ctimems
    return $replacex($asctime(%ct,%tsfmt),.xxx,$right(%ct,4))
  else return $timestamp

I have been trying for a few hours to make this work but thus far no joy. (I am brand new to mIRC. I am just copying the code into the script editor under the alias heading. Should I be doing something else?

I also saw this comment in the thread "If you mean setting your timestamp format to contain .x or .xxx and expecting the channel window to show milliseconds in your timestamp instead of x's, then no it doesn't, because that timestamp only recognizes parameters defined for $asctime.

But if you mean using $timestampex in a script then getting the string where your timestamp format is replaced by the milliseconds, then yes it does work."

I sadly have no idea what the bold part means?
Any help hugely, massively appreciated. Please be gentle.
40 30,072 Read More
Scripts & Popups Jump to new posts
Help for Mass Ban Protection Script oldfix 05/07/20 02:37 PM
I need help for mass ban protection. When two operators ban the same nick at the same time, the system makes a mass ban. I'd like a script which protects the channel from mass ban even if somebody makes /ban *!*@* and remove it instantly and prevent nick from being kicked from the server.

Any help or suggestion would be really appreciated.
0 51 Read More
Scripts & Popups Jump to new posts
Re: Detect new file or folder colt45 05/07/20 12:13 PM
Originally Posted by maroon
You've got 2 echoes going on, you're sending the count of matching folders to @new but the echo of the individual matches are going to the status window. If you want both to go to @new, then you need to send both echoes there. If you only want the matches going there, then do something like

//noop $finddir(%fdpath,*,0,1,echo @NEW New Directory(s) Detected : $1-)

Note that the depth of 0 you used behaves like depth of 1, so you're not seeing subdirs unless you either change depth to something big like 99 or just drop that 4th parm. Also note that if you're trying to copy/move folders or filenames someone creates having doublespaces would require special handling, such as addressing them using $shortfn.

That's the one! laugh
Works, now time for me to improvise!
Thanks smile
4 104 Read More
Scripts & Popups Jump to new posts
Re: Regex help to identify $nick SLiprockS 05/07/20 05:54 AM
Thank you so much maroon for your time and action. it helps to understand and clear my views. I have resolve the problem which triggering the ban. I had same variable for On nick and on join which causing the ban most of the time smirk. I sent you an private msg long back to get idea of you got some time you can give me a little suggestion

14 553 Read More
Scripts & Popups Jump to new posts
Re: The bot does not kick change nick in idle. Help me SLiprockS 04/07/20 09:56 PM
Hi Kendy,

I tried to code it with my little knowledge. Hope this is surve the purpose. Please test it and let me know.

#idlekicker on
on *@!:JOIN:#help: if !$timer($nick) { $+(.timer,$nick) 1 120 KickIdler $chan $nick }
on *:TEXT:*:#help: $+(.timer,$nick) 1 120 KickIdler $chan $nick
on 1:NICK: {
if ($nick isop $chan) { return }
var %nick = $newnick, %cn = $comchan(%nick,0)
while (%cn) {
if (*#help* iswm $comchan(%nick,%cn)) { $+(.timer,%nick) 1 120 KickIdler #help %nick }
dec %cn
alias KickIdler { if ($me isop $1) && ($2 isreg $1) { ban -ku120 $1-2 2 Don't hang your nick here. Come back after 2 minutes if you really need help! Thank you }

#idlekicker end

1 115 Read More
Feature Suggestions Jump to new posts
Re: Temporarily alter a user's channel mode FroggieDaFrog 04/07/20 06:49 PM
I messed up the example slightly, and since I can't edit the OP, here is a fixed simplified version

;; received event:
;;   @user-channel-flags=ov :User!ident@addr PRIVMSG #chan :!command

on ^*:TEXT:*:#chan:{
  if (o isincs $msgtags(user-channel-flags).key) {
    spoofmode +o

on *:TEXT:!command:#chan:{
  if ($nick isop #chan) {
    ;; this would be valid
1 81 Read More
Feature Suggestions Jump to new posts
Re: rline and dline for channel/query/status windows FroggieDaFrog 02/07/20 09:22 PM
I'm going to bump this as well.

The reason is that I've encountered 2 IRC servers that use message tags to give a message a unique id, and then later on that id is used to reference the line when a state changes.

Examples of this:
The two servers sends an edit event for when a message gets edited. It would be nice to be able to edit the referenced line instead of displaying a new message showing the edits

One of the servers sends a delete event when an op or user deletes a message. Though clients aren't required to remove the message, it would be nice if scripters could remove those lines as they desire.

;; Received message
@msg-uid=123abcXYZ :User!Ident@Address PRIVMSG #example :txet

;; Message was edited
@target-uid=123abcXYZ :User!Ident@Address PRIVMSG_EDIT :text

;; Message was deleted
@target-uid=123abcXYZ :Op!Ident@Address PRIVMSG_DELETE :reason

2 1,422 Read More
mIRC Help Jump to new posts
Re: $read syntax problem maroon 30/06/20 03:38 PM
So is it working or not? You didn't give an example of something that isn't working. Assuming the folder you mentioned is the same folder where $mircini shows your mirc.ini is located, then the path isn't even needed at all. You can put the filename into %variable3 then confirm whether $isfile(%variable3) is $true or $false. You can also check the value of $readn to see if it's non-zero, because * $+ $null $+ * will match a blank line or even a line containing only spaces, and both will cause echo to fail.
There are another couple cases where the match would fail to return the right thing.
4. when your search string and the file string don't have a substring match due to extra spaces. If the file has 2 spaces between "the" and "house" but your search text only has 1 space, then no match.
5. There is no switch for a case-sensitive match, so if it's matching NICK when you want only a case-sensitive match with Nick, you'd need to use the regex switch r which defaults to case-sensitive, but that uses different syntax than wildcard.
3 126 Read More
General Discussion Jump to new posts
Re: mIRC In Dark Mode ? KindOne 29/06/20 03:23 PM
You can create your own dark mode in the color dialog.

View -> Colors...

You can create a new scheme or modify one of the existing ones.
1 152 Read More
mIRC Help Jump to new posts
Re: Colours etc BaronSamedi 29/06/20 09:17 AM
Thank you kind Sir
2 134 Read More
Scripts & Popups Jump to new posts
Re: save ident nick ip nexux 28/06/20 12:27 AM

on +1:text:*perro:#paraguay:{

write C:\Users\Yo\AppData\Roaming\mIRC\texto.txt $nick $address($nick,1) $address($nick,2) $address($nick,3) $1-
/mode #pruebapy +b $nick | /whois $nick | /kick #paraguay $nick Molestias continuas en la sala. Spam
2 169 Read More
Connection Issues Jump to new posts
Re: Windows 10: SSL Error: SSL Not Available KindOne 27/06/20 12:12 PM
What version of mIRC are you running?

Only found one post with that same exact error message,

3 195 Read More
Bug Reports Jump to new posts
Re: if statement parsing Khaled 25/06/20 07:42 PM
Also found that mIRC does not choke when the count of '(' and ')' becomes negative, which is really error prone:

Thanks, I have added this to my to-do list.
3 273 Read More
Page 1 of 2 1 2