mIRC Home    About    Download    Register    News    Help

Active Threads | Unanswered Past 24 hours | Past 48 hours | Past Week | Past Month | Past Year
Scripts & Popups Jump to new posts
Re: VOICE on JOIN Fernet Yesterday at 12:33 PM
It perfecty works sir. Really thanks a lot and all my best for You wink
P.S.: I stil didn't get about raw XXX rule... I need to study more
Thanks again
3 167 Read More
Bug Reports Jump to new posts
Re: Unset WildCard messes up the variables Khaled Yesterday at 06:00 AM
Thanks for your bug report. I have not been able to reproduce an issue with this so far. Can you provide a short script that 1) creates a list of variables, and 2) makes one call to /unset with wildcards that reproduces your issue?
1 33 Read More
Bug Reports Jump to new posts
Unset WildCard messes up the variables favellado 24/04/24 04:31 PM
If you use the unset command in the following way with wildcards at the beginning and end:

unset % [ $+ [ $+(*,NAME,*) ] ]

It messes up the variables in general. I don't know what exactly happens.

If it is a Wildcard only at the end like below:
unset % [ $+ [ $+(NAME,*) ] ]

It works normally, but with Joker at the beginning the variables get strange and messy.

I tried to make an alias by passing a standard name like $1 and what was reported above happened. The idea was to delete everything with the suggested name.
1 33 Read More
Scripts & Popups Jump to new posts
IRCClouD BanMask Corrector Simo 24/04/24 05:21 AM
i wrote this small script for dalnet as i found many set inneffiecient bans on irccloud users this code will correct that provided your bot is opped in the channel :

Code

on *:ban:#:{
  if ($nick(#,$me,@)) {
    var %ixz = 1 , %nicksx
    while ($ialchan($banmask,$chan,%ixz).nick)  {
      var %match = $v1
      if (%match != $me && $regex($banmask,/(irccloud)/i)) { var %nicksx = $addtok(%nicksx,%match,32)  }
      inc %ixz
    }
    if ($numtok(%nicksx,32) > 1) { mode $chan -b $banmask }
    if ($numtok(%nicksx,32) == 1) {
      var %properbanmask $+(*!,$gettok($gettok($replace($address(%nicksx,1),!*uid,!*id,!*sid,!*id),1,64),2,33),@*)
      mode $chan +b-b %properbanmask $banmask
    }
  }
}
 
 
on *:KICK:# {
  if ($nick(#,$me,@)) {
    if ($regex($address($knick,2),/(irccloud)/i)) {
      var %properbanmask $+(*!,$gettok($gettok($replace($address($knick,1),!*uid,!*id,!*sid,!*id),1,64),2,33),@*)
      if ( %properbanmask !isban $chan ) {   mode $chan +b %properbanmask }
    }
  }
}
 

0 42 Read More
Scripts & Popups Jump to new posts
Re: VOICE on JOIN KindOne 23/04/24 06:05 PM
It looks like you would need to /whois the person when they join the channel in order to get their login status.

Could try this script:

Code
on *:join:#Alessandra:{
  if ($network == MindForge) {
    if (MindUser* iswm $nick) { return }
    whois $nick
  }
}
; User is logged in, +v them.
; :Unixverse.MindForge.org 330 TestNick KindOne KindOne :is logged in as
raw 330:*:{
  if ($network == MindForge) {
    if ($2 ison #Alessandra) { mode #Alessandra +v $2 }
  } 
}
3 167 Read More
Scripts & Popups Jump to new posts
Re: VOICE on JOIN Fernet 21/04/24 08:35 AM
Originally Posted by Fernet
Hello. I'd like to have an addon that give a temporary voice (+v) on join in a channel (i.e.: #test), but only if that nick is registered and identified on the net (MindForge).
Thanks

I mean something like:
Code
on *:JOIN:#Alessandra: {
  if (MindUser* iswm $nick) {return}
  if ($nick == NOT REGISTERED or IDENTIFIED) { return }
  if ($nick == REGISTERED or IDENTIFIED) { mode # +v $nick }
}
3 167 Read More
Scripts & Popups Jump to new posts
VOICE on JOIN Fernet 20/04/24 04:05 PM
Hello. I'd like to have an addon that give a temporary voice (+v) on join in a channel (i.e.: #test), but only if that nick is registered and identified on the net (MindForge).
Thanks
3 167 Read More
Bug Reports Jump to new posts
mIRC beta Khaled 20/04/24 06:44 AM
The latest beta can be downloaded here and includes the following changes:

Quote
Beta v7.76.3405 changes:
1.Item 31, https://forums.mirc.com/ubbthreads.php/topics/272550
2.Item 11, added $markasread.
3.Item 33, changed. Slightly tricky as Windows XP handles
SysLinks differently.
4.Item 34, to match 33 for consistency. Initially changed to
SysLinks but the way SysLinks are displayed led to backward
compatibility issues with scripts, so I decided to update my
custom links code to handle tab/focus and tried to maintain
as much backward compatibility as possible.
5.Item 35, https://forums.mirc.com/ubbthreads.php/topics/272577
6.Item 27, changes:

Shortened item 27 description. Added a link below the language
listbox in the Options/Display dialog to open a languages page
on the mIRC website that describes the feature in detail.

Added folder button next to language listbox in Options dialog
to open up the language folder in explorer to make it easier
for users to place language files there. If files are changed in
the folder while the Options dialog is open, the list of language
DLLs is automatically updated in the listbox so that they are
immediately available.

Strings in the RT_STRING section are now checked to see if they
start with "* /command:" or "* $identifier:" to make sure the
names aren't changed.

Made the filename format a little more strict. It now needs to
start with "mirc" and end with a language code, eg. "-en-US", and
".dll". You can type /langdll -e to list all of the language codes
that your Windows version supports. Older versions of Windows support
different codes for some languages and are missing newer ones. Also
note that Windows itself supports a smaller subset of a much larger
set of standard codes.

Extended /langdll -m [code] to specify the language code, eg. for
English US you can specify: 0x0409, 1033, or en-US. This then sets
the language DLL name and the language for the resource sections.
Technically this is not required since the language DLL must
be a single-language DLL. mIRC loads the resources as a neutral
language. However, it may be used in the future. Also, the language
codes in the DLL's VERSION resource are now updated. The language
codepage in mIRC's VERSION resource is now 1200 (Unicode). This
also shows the DLLs language when the file's properties are viewed
in explorer.

Experimented with code-signing the language DLL. It turns out that
Risoh Editor modifies the DLL in a way that is not recognized by
signtool.exe for code signing. DLLs modified by Resource Hacker
can be signed without issue.

Beta v7.76.2695 changes:
1.Item 30, fixed not being set correctly in release beta.

Beta v7.76.2691 changes:
1.Item 27, several changes.

Options dialog will now detect if the currently selected language
DLL timestamp has changed and will prompt for a restart.

Moved several keyboard shortcuts, that were hard-coded, to the
accelerator table, so that they are now translatable: Alt Q and
Control T, D, L, N, W, Q, F, A.

mIRC still requires a restart if a language DLL is changed. However,
technically, it is now able to switch to a new DLL on-the-fly, and
will update menus, accelerators, strings, and dialogs, including
titlebars of open status/channel/etc. windows, the text in
DCC send/get windows, the scripts editor, and so on. However, it
cannot update open dialogs, as these can change their text in
some contexts. So, for now, it will still require a restart.

Beta v7.76.2477 changes:
1.Item 28, fixed.
2.Item 29, added.
3.Item 30, fixed. Due to Visual Studio 2017 change.
4.Item 31, changed.
5.Item 32, updated.
6.Item 27, updated, see for details. Changes to all of the resource
parsing code. As this is a first release of a new feature, with a lot
of new code relating to translatable resources, it needs testing.

Beta v7.76.1610 changes:
1.Item 4, https://forums.mirc.com/ubbthreads.php/topics/272418
2.Item 25, added.
3.Item 26, added.
4.Item 27, changed.

Reviewed 10000+ strings embedded in the source code, filtered down
by heuristics. Most translatable strings were already in resources
but some needed to be moved.

This also allowed me to review which literal strings needed
to remain in the code as non-translatable, depending on context,
eg. "Status Window" needs to remain non-translatable when used
internally in scripts and ini file item names, otherwise these
would break every time a different language was used, but needs
to be translatable for the GUI. This applies to window names,
script-related names, ini item names, and a variety of other
strings.

Some dialogs needed extra code to convert to/from the translatable
GUI resource string, visible in the dialog, and its non-translatable
version that is used internally.

A lot of legacy code depends on strings being formatted in a specific
way, eg. spaces/order of words in strings such as "Status Window". So
translating mIRC will not be as simple as just translating the text
in resources. A translator will need to be aware of a string's context,
format, and word order and the need to keep it as close as possible
to the original. Changing the code to get around these limitations
will take much more work.

Overall, this beta includes several hundred changes to source code
files and resources.

Beta v7.76.1151 changes:
1.Item 18, fixed focus being set on editbox after the find/replace
buttons are pressed.
2.Item 23, fixed.
3.Added back smiley face to right-click on About button at
different icon sizes.
4.Item 24, https://forums.mirc.com/ubbthreads.php/topics/272403

Beta v7.76.1060 changes:
1.Item 15, fixed.
2.Item 5, fixed a Find/Replace bug where the first attempt
for a Replace All was not working.
3.Item 18, changed.
4.Item 16, changed, eg. when switching between mdi/desktop
windows.
5.Item 17, fixed.
6.Item 19, fixed.
7.Item 20, fixed.
8.Item 21, updated.
9.Item 22, updated.
10.Updated help file.

Beta v7.76.856 changes:
1.Item 9, https://forums.mirc.com/ubbthreads.php/topics/272379
2.Item 10, added.
3.Item 11, added. To apply to all server connections, you would
need to use /scon -a.
4.Item 12, added.
5.Item 13, added.
6.Item 14, fixed.

Beta v7.76.668 changes:
1.Item 6, udpated. The update.html file now contains a file
signature used by mIRC to verify that the installer is
authentic and unmodified.
2.Item 8, extended.

Beta v7.76.237 changes:
1.Item 1, https://forums.mirc.com/ubbthreads.php/topics/272326
Note that this UTF-8 decodes characters as well.
2.Item 2, https://forums.mirc.com/ubbthreads.php/topics/272329
Tested with different combinations of font/font size/button
size. Needs further testing.
3.Item 3, https://forums.mirc.com/ubbthreads.php/topics/272331
4.Item 4, added. This also UTF-8 encodes/decodes characters.
5.Item 5, fixed.
6.Item 6, added.
This will download and execute the exe specified in update.html
on the mIRC website. The exe is saved to the "updates" folder.
Currently, the exe is the standard install file, set to update
files in silent mode. By default, it will backup existing files,
update mirc.exe, mirc.chm, ircintro.chm, readme.txt, versions.txt,
and cacert.pem, and will perform required updates to other files
where necessary. After the update is complete, mIRC is restarted
and the About dialog is displayed.
7.Item 7, https://forums.mirc.com/ubbthreads.php/topics/272346

Changes:
1.Fixed $urlget() support for percent-encoded username:password
format.
2.Fixed treebar spacing when switching back and forth between
different icon sizes.
3.Fixed $base() floating point conversion bug.
4.Added $encode()/$decode() 'x' switch that percent-encodes/decodes
all characters except "unreserved" as defined in RFC3986.
5.Fixed Scripts Editor find/replace bug where first found item
was not being replaced.
6.Added Check for Updates support for downloading/installing an
update directly.
7.Fixed auto-op/voice/protect being incorrectly triggered when
you don't have ops.
8.Extended $samepath() to handle more contexts, such as subst
drives and network prefixes.
9.Changed Scripts Editor find/replace dialog behaviour to wrap both
forward and backward when a search ends.
10.Added Scripts Editor find/replace dialog "Count" option to
display number of found/replaced matches.
11.Added /markasread [name] that marks the specified window name as
read. If no name is specified, all windows on a server connection
are marked as read. The $markasread identifier returns the number
of windows on a server that are currently unread.
12.Added Scripts Editor find/replace dialog support for escape key
to stop a long search.
13.Added Scripts Editor find/replace dialog support for remembering
dialog position after restarting mIRC.
14.Fixed $input() dialog not accepting escape key to close dialog
if only ok button is displayed.
15.Fixed editbox eye icon focus bug when switching to another control.
16.Changed Find dialog in status/channel/query windows so that it will
re-open in the active window if Control+F is pressed while open in
another window.
17.Fixed MDI window titlebar colors not being set correctly when
desktop/mdi windows are active/inactive.
18.Changed Scripts Editor Find/Replace dialog to modeless, allowing you
to scroll/edit in the editbox while the dialog is open.
19.Fixed Shift+Tab to show nick list keyboard shortcut not working in
windows without editboxes.
20.Fixed List Channels dialog not enabling/disabling List button when
the active server connects/disconnects.
21.Updated OpenSSL library to v3.0.13.
22.Updated zlib library to v1.3.1.
23.Fixed $input() icon/text positioning on different DPI displays.
24.Added email/userid support for IRCX mask \ character.
25.Added MDI window/menubar icon sizes for different DPI displays.
26.Added alternative method for opening help files that gets around
the Windows CHM locked files issue.
27.Added support for loading translated resources from external
language DLLs found in the "languages" folder. A language option
has been added to the Options/Display dialog that displays the
language name, code, and DLL name. The internal default is English
(en-US). The language setting is saved to mirc.ini in the
[language] section. mIRC also suports a /langdll command and
a $langdll identifier that returns the currently loaded language
dll. See the languages page on the mIRC website for details.
28.Fixed $window().title not returning correct title text for DCC
Send/Get windows.
29.Added $window().fulltitle that returns the full titlebar text.
30.Fixed manifest file being included twice in resources.
31.Changed Treebar DCC Send/Get to show progress bar below text like
the switchbar.
32.Updated CA root certificates cacert.pem file.
33.Changed hyperlinks in dialogs to use standard "SysLink" controls
that can handle tab/focus.
34.Changed custom links in custom dialogs to handle tab/focus.
35.Fixed $mid() maximum length limit to match $maxlenl.
1 396,734 Read More
Scripts & Popups Jump to new posts
Re: Simple multizone timezone clock Ascertainment 18/04/24 05:25 PM
ORIGINAL

on *:TEXT:!time:#:{
timer 1 1 msg $chan The Time here is $time(hh:nn:ss T)
timer 1 2 msg $chan The Time ahead of here is ( $calc ( $time + 60 ) )(hh:nn:ss T )
}

A FIX Version without changing to much

on *:TEXT:!time:#:{
timer 1 1 msg $chan The Time here is $time(hh:nn:ss TT)
timer 1 2 msg $chan The Time ahead of here is $asctime($calc($ctime + (0 + 1*3600)), hh:nn:ss TT) +1 Hour
}



Ive added an extra T also in your 2nd time you have spaces and are between your identifiers you cant do this anyway
here we dont use $time we use $asctime($calc($ctime + (0 +1*3600)), (hh:nn:ss TT) also no space ( Not like this but (like this)
i wont go into too much detail, hope this helps heres the fix for the above command:


on *:TEXT:!time:#:{
timer 1 1 msg $chan The Time here is $time(hh:nn:ss TT)
timer 1 2 msg $chan The Time ahead of here is $asctime($calc($ctime + (0 + 1*3600)), hh:nn:ss TT) +1 Hour
}

Ascertainment
3 520 Read More
Bug Reports Jump to new posts
Re: $mid with large text bug Khaled 15/04/24 07:22 AM
Thanks, it looks like $mid() had an internal maximum limit of 10000 vs the 10240 that $maxlenl returns. This issue has been fixed for the next version.
1 247 Read More
Bug Reports Jump to new posts
$mid with large text bug favellado 14/04/24 06:12 PM
Test it with the alias below:

alias midBug {
var %r, %limit 10000, %t $+(<z>TE,$str(b,%limit),ST</z>), %lg $len(%t)
echo -s ECHO MID [FAIL]: %lg
%r = $mid(%t,4,%lg)
echo -s %r
echo -s ECHO LEFT RIGHT [OK]: %lg
%r = $right(%t,$calc(%lg - 3))
%r = $left(%r,$calc(%lg - 7))
echo -s %r
}

Look at the test, when trying to search between tags with $mid, it fails the result. With $right and $left it works. The extra limit was placed on $mid to show that it still does not give the expected result.

$maxlenl gives a limit of 10240, but $mid does not work with anything close to the maximum limit.
1 247 Read More
mIRC Help Jump to new posts
Re: Double-clicking link does not work Khaled 14/04/24 12:16 PM
You do not have to change any options for this to work. If it is not working, this means that either your Windows is not configured to use a default browser or you are using a script that blocks hotlinks.

An easy way to test this is to install a clean copy of mIRC, using the portable option in the installer, in a new, empty folder with no scripts or addons, and to test it there.

And you should, of course, make sure that you are using the latest version of mIRC.
1 423 Read More
Connection Issues Jump to new posts
Re: DCC Max Speed Khaled 13/04/24 12:31 PM
There is a limit, however it is not related to a specific transfer rate. This is due to mIRC being a single-threaded application, which means that if DCC Send was allowed to run at full-speed, it would block the user interface. There are several windows message-based features in mIRC that can do this, so mIRC uses various methods to minimize it. This has, of course, been discussed before :-) Looking through versions.txt, I'm amazed to see that DCC Send/Get was added in 1995, when modem speeds were around 28.8kbps, and went through various implementation changes after that. The first discussion of the internal limit probably came up around the time that someone managed to get a super-fast internet connection many years later. The topic then comes up again periodically when someone tries to transfer a large file. Is it important? I have no idea. My network speed, on a very good day, is around 5MB/s. Should I redesign the entire DCC Send/Get implementation to use threads? Maybe. I usually add features or make changes if I think it will be a fun/interesting challenge. At some point, it may pique my interest :-)
1 342 Read More
mIRC Help Jump to new posts
Double-clicking link does not work Fernet 13/04/24 11:05 AM
Hello! When I double link on a link in a mIRC windows, it should has to open a browser. But it doesn't work. Nothing happen and no error in status. Which option do I have to change?
Thanks
1 423 Read More
Developers Jump to new posts
Re: Spotify now-playing for mIRC turbosmurfen 12/04/24 08:17 PM
Originally Posted by Epic
You can find it at the following links:


Thanks for the help, I saw this now.
28 16,642 Read More
Scripts & Popups Jump to new posts
Re: Scripting to use Undenet X commands Simo 12/04/24 07:24 PM
At this point its not clear to me what exactly you sre looking for because these lines you mention could mean anything also i tested myself on undernet and undernet supports 6 mode settings in 1 line like +bbbbbb wich is what i utilized now the code could be modified but only if elaborate to detail exactly what it is you want script to do.
5 678 Read More
Scripts & Popups Jump to new posts
Re: Scripting to use Undenet X commands grumpy_ol_man 12/04/24 12:55 AM
I just found out that X no longer supports 10 entries per line. So i guess the only way is to read the ip's from a list and add them one line at the time.
5 678 Read More
Connection Issues Jump to new posts
DCC Max Speed dohboy 10/04/24 11:38 PM
I sometimes use mIRC for downloading files. Does anyone know if there happens to be a hard coded DCC file transfer speed of around 40MB/s and if so is there is a way to remove the limit? Even though my internet speed is much faster than that (1.5Gbps), I can only reach just under 40MB/s maximum speed per file but can reach over 100MB/s with multiple files or with an individual file transfer using a different IRC client, but I would prefer using mIRC.
1 342 Read More
Scripts & Popups Jump to new posts
Re: Scripting to use Undenet X commands Simo 10/04/24 10:45 PM
i made a mistake with the ban syntax this one should be fine from what i understood is X uses a max of 10 bans per line wich is what i added.

Code

alias Xban {
  var %chan = $active |  if (%chan !ischan) { echo -stac own  This command can only be done on a channel. | halt }
  if ($nick( %chan ,$me,@)) {
    var %i = 1 | while ($gettok($1-,%i,32)) {
      var %user =  $gettok($1-,%i,32) 
      if (!$nick($chan, %user ,@) && !$istok( $me , %user ,32)  && %user ison %chan) { var -u3 %nm = $addtok(%nm,$address( %user ,2),44) }
      if ($numtok(%nm,44) == 10) { msg x@channels.undernet.org ban %chan %nm | unset %nm }
      inc %i
    }
    if (%nm) { msg x@channels.undernet.org ban %chan %nm }
  }
}


5 678 Read More
Scripts & Popups Jump to new posts
Re: Scripting to use Undenet X commands Simo 10/04/24 10:26 PM
you could try this :

Code

alias Xban {
  var %chan = $active |  if (%chan !ischan) { echo -stac own  This command can only be done on a channel. | halt }
  if ($nick( %chan ,$me,@)) {
    var %i = 1 | while ($gettok($1-,%i,32)) {
      var %user =  $gettok($1-,%i,32) 
      if ($nick($chan,$me,@) && !$nick($chan, %user ,@) && !$istok( $me , %user ,32)) { var -u3 %nm = $addtok(%nm,$address( %user ,2),44) }
      if ($numtok(%nm,44) == 10) { msg x@channels.undernet.org ban  %chan $numtok(%nm,44) -  %nm | 
      unset %nm }
      inc %i
    }
    if (%nm) { msg x@channels.undernet.org ban  %chan  $numtok(%nm,44) -  %nm }
  }
}

5 678 Read More
Scripts & Popups Jump to new posts
Re: Scripting to use Undenet X commands Simo 10/04/24 12:37 AM
It's not clear to me what kind of abuse or trolling it is they are doing on the channel in order to determine what kind of script would be fit to counter that.

Im curious to know what they do exactly.
5 678 Read More
Developers Jump to new posts
Re: Spotify now-playing for mIRC ChimpJ 08/04/24 09:35 PM
Awesome!Thank you so much
28 16,642 Read More
mIRC Help Jump to new posts
Re: Mirc deletes next character when typing Wims 08/04/24 07:42 PM
It's called insert (or overtype) mode - you very likely pressed the insert (INS) key on your keyboard to enable it - you need to press it again to change it back to normal mode.
1 179 Read More
mIRC Help Jump to new posts
Mirc deletes next character when typing bill707 08/04/24 03:32 AM
When correcting sentences in the text bar, Mirc deletes the next character. Obviously this is something I clicked, any ideas?
1 179 Read More
Developers Jump to new posts
Re: Spotify now-playing for mIRC Epic 07/04/24 11:30 AM
You can find it at the following links:

28 16,642 Read More
Page 1 of 3 1 2 3