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
search nicks including the amount of chars used Simo 09/10/24 05:47 PM
Greetings folks,

i have been using this alias for a while and it works fine for searching for nicks in channel with wildcard * as well but when i try with ??? (to search for nick length) it doesnt seem to trigger.

Here is what we work with :

Code

NSearch {
  if ($active !ischan) { echo -stac own This command can only be used on a channel. | halt }
  if (!$1) { echo -a *********** no valid entry was given ************* Syntax : /nsearch som*nick | halt }  
  var %o,%counter,%i = 1
  while ($nick($active,%i,a)) {
    if ( $1 iswm $v1) {
      %o = $addtok(%o,$v2,32)
    }
    inc %i
  }
  if (%o) {
    while %o {
      echo $active $gettok(%o,1-50,32)
      %o = $deltok(%o,1-50,32)
      inc %counter 50
    }
  }
}

0 24 Read More
Scripts & Popups Jump to new posts
Re: add popup permission for topic change Simo 08/10/24 12:51 PM
Thanks Epic that seems to work as desired.
2 221 Read More
Scripts & Popups Jump to new posts
Re: Nickname colorization by user status Digi1977 28/09/24 08:20 PM
I use these colours myself, set by mIRC Address Book (Tools Menu -> Address Book) or ALT+B

~ Purple / & Yellow / @ Red / % Green / + Blue - and after 10 mins of inactivity, They turn dark colour

Or search for cnicks in mirc.ini and replace with this:
(remember to go into Address Book and tick Enable so they show up)

[cnicks]
n0=,6,~,,0,0,0,2,10,0
n1=,30,&,,0,0,0,2,10,0
n2=,5,@,,0,0,0,2,10,0
n3=,3,%,,0,0,0,2,10,0
n4=,10,+,,0,0,0,2,10,0
n5=,93,,,0,1,0,2,10,0
n6=,13,~,,0,0,0,0,0,0
n7=,8,&,,0,0,0,0,0,0
n8=,4,@,,0,0,0,0,0,0
n9=,9,%,,0,0,0,0,0,0
n10=,11,+,,0,0,0,0,0,0
4 1,158 Read More
Scripts & Popups Jump to new posts
Re: query problem erase TECO 27/09/24 09:30 PM
Try it like this:
Code
alias -l texto {
  var %mes $replace($asctime(mmmm),January,Enero,February,Febrero,March,Marzo,April,Abril,May,Mayo,June,Junio,July,Julio,August,Agosto,September,Septiembre,October,Octubre,November,Noviembre,December,Diciembre)
  var %dia $replace($asctime(dddd),Sunday,Domingo,Monday,Lunes,Tuesday,Martes,Wednesday,MiƩrcoles,Thursday,Jueves,Friday,Viernes,Saturday,Sabado)
  echo -q (E)nSesion: %dia $date(dd) de %mes de $date(yyyy)
  echo -q 00,02Hora: $time - 00,02Mascara: $address($1,5)
  if ($comchan($1,0)) && ($1 != $me) {
    var %i = $comchan($1,0),%r
    while (%i) {
      if ($1 !isreg $comchan($1,%i)) { var %p = $left($nick($comchan($1,%i),$1).pnick,1) }
      else { unset %p }
      var %r = %r %p $+ $comchan($1,%i)
      dec %i
    }
    echo -q 00,04Canales comunes: $replace(%r,$chr(32),$chr(44) $chr(32))
  }
}
1 286 Read More
Bug Reports Jump to new posts
Re: Windows 11 Insider Graphics Bug mags 22/09/24 03:30 PM
I am also having this exact issue and I have no idea what is causing it. Started around the time I updated to 7.77. Frozen MIRC and I'm unable to even close it without going to task manager. Windows 11 home.
2 319 Read More
Feature Suggestions Jump to new posts
Re: Editable Language Files Khaled 17/09/24 12:08 PM
Thanks, a few more checks have been added, and the issue with colons has been fixed. These changes will be in the next beta.
18 5,774 Read More
mIRC Help Jump to new posts
Re: Move status windows back to MDI? mc128 16/09/24 09:37 PM
Wow, thanks Khaled! I searched the settings/help for quite a while -- I was convinced this setting didn't exist. I've been using mIRC since 1997 and it's surprising (in a good way!) that you're still updating it so often and replying to help requests in such short order. I really appreciate it. Keep up the nice work!
2 352 Read More
Bug Reports Jump to new posts
mIRC beta Khaled 15/09/24 06:31 PM
The latest beta can be downloaded here and includes the following changes:

Quote
Beta v7.77.1717 changes:
1.Item 19, updated.
2.Item 20, changed https://forums.mirc.com/ubbthreads.php/topics/272891
Note that even after sounds have been enabled/disabled in the Options
dialog, the device manager may still take a while to register that
the sound card is no longer in use.
3.More work on language DLLs. When translated DLLs are exported to
resource files, they only contain id values for controls, not the id
names used in the original resource file. I have added code that:

1) Parses the original resource file, builds a list of identifier
names/values used by its resources, and creates a resource.h file
2) Parses the language resource file exported from a translated DLL
by Resource Hacker
3) Matches the translated resources against those in the original
resource file
4) Performs a bidirectional merge: a) copies matching id names from
the original resource file to the translated resource file, and
b) copies translated text from the translated resource file to
the original resource file.

This allows me a bit of leeway on how to proceed with handling
translations, eg. the translated resource file can now be uploaded
to Crowdin to match against the original resource file, since the
id names can now be matched. Or I can just use the updated original
resource file with all of its structure intact, including non-text
changes to dialogs/controls/etc. but with the translated text. This
also enables Resource Hacker to more easily import the original
resource file by using the created resource.h include file.

Beta v7.77.1162 changes:
1.Item 17, fixed https://forums.mirc.com/ubbthreads.php/topics/272834
2.Item 18, updated. Apart from the the string changes in previous
betas, also added resource strings for the default internal color
theme names, since only "mIRC Classic" was in resources as a
translatable string. The default theme names remain in English
internally and in mirc.ini but use the translated resource in
the color dialog.
3.Item 13, https://forums.mirc.com/ubbthreads.php/topics/272867
Changed so that find dialog is now positioned above or below
found text.
4.Item 11, changed how the mirc-en-GB.dll filename format is parsed
to allow you to use - dashes in the name before the language code.

Beta v7.77.1065 changes:
1.Item 1, fixed.
2.Item 2, fixed.
3.Item 3, changed again to remove startup flicker on Windows 11.
4.Item 3, added alternative method of retrieving the titlebar button
icons/colors. This is disabled for now and may be used in future.
5.Item 4, added.
6.Added SCRAM support for channel binding with tls-unique /
tsl-server-endpoint / tls-exporter. However, no IRC servers currently
support these, so I was unable to test them. This is disabled for now
and may be used in future.
7.Added alternative /dns -mn method which supports specifying the DNS
server address as IPv6. This does not work under XP. This is disabled
for now and may be used in future.
8.Item 5, added. Works on Windows 7 onwards.
9.Item 6, added.
Note that the Windows taskbar does not support a "success" progress
bar color, like the switchbar/treebar progress bars.
10.Item 7, added.
11.Item 8, changed. This is still limited to hiding repeat away messages
for at most ten minutes.
12.Item 9, added.
13.Item 10, added. Experimented with SVG support using ThorVG. It uses
the Meson build system which outputs an... odd Visual Studio
solution file. So it took some tweaking to get it to work. mIRC can
now use NanoSVG, LunaSVG, or ThorVG. The current default is LunaSVG
as it is under active development, covers most SVG uses, has a
reasonable size, and is easy to build.
14.Item 11, extended. Added several new checks based on translations
seen and questions received so far, such as:

Changed a number of words that should be capitalized, such as COM, ID,
DNS, CAP, and removed plurals for some words where they were not
necessary.

Checking for capitalized words, eg. if the English text contains the
word "CTCP", the translation should probably also contain it.

Checking for colons ":", eg. spacing, addition, removal, which should
be the same in the translation.

Translators, please run this beta and type:
//langdll -d mirc777.exe $mircexe
to see what has changed since v7.77.
and:
//langdll -d mirc777.exe mirc-your-dll.dll
to check your DLL for errors. These will be highlighted in red and
prefixed with the word ""Error:".

Updated forum post to include issues to look out for:
https://forums.mirc.com/ubbthreads.php/topics/272687

15.Item 11, ResourceHacker was removing an old style from the saved
resource file that was causing /langdll -d to report an error due
to a dialog style change. This is now taken into account.
16.Item 12, extended.
17.Item 13, extended.
18.Item 14, fixed https://forums.mirc.com/ubbthreads.php/topics/272799
19.Item 15, fixed https://forums.mirc.com/ubbthreads.php/topics/272805
20.Item 11, fixed an issue with how icon resources are handled in
external language DLLs. It turns out that when /langdll -m creates
the language DLL, UpdateResource() is writing icon controls in dialogs
incorrectly. This looks like an UpdateResource() bug as it is being
provided with a pointer to the dialog resource that is in mIRC. I
have made changes to several dialogs that use icon controls to get
around this issue, so that they now display icons correctly when
loading the external language DLL.
21.Item 16, added.

Changes:
1.Fixed SCRAM intermittent authentication bug.
2.Changed SCRAM nonce generation method to comply with RFC.
3.Fixed Aero theme helper windows startup flicker on Windows 11.
4.Added timestamp prefix to scripting error messages.
5.Added Windows taskbar support for DCC Send/Get desktop windows
taskbar button progress bar.
6.Added /window -qS:P switch that sets the S state and P percent
of the progress bar for a custom @window, where S = 0 disabled,
1 = in progress, 2 = success, 3 = error.
7.Added $window().pbstate/pbpercent properties to return the custom
@window progress bar state.
8.Changed "Hide away reminders" option to apply to all contexts.
9.Added /write and $read() support for WR switches where the line read
from a file is treated as the wildcard/regex.
10.Added support for loading SVG files using the LunaSVG v2.4.1
library.
11.Extended /langdll -d compare method to highlight changes in
dialog/control/string style/size/position/format along with
keywords (prefixed by "Error:") to make spotting issues easier.
12.Extended Find dialog in windows so that if the editbox has the
focus and you press Shift+Enter, it searches forwards.
13.Extended Find dialog in windows to vertically center found
text and to highlight the line.
14.Fixed server list parsing gpf bug that was causing a random
crash on startup/while running.
15.Fixed $regml() bug relating to /F and empty groups.
16.Added /findtext -hc switches to show/clear highlight.
17.Fixed flickering menubar bug.
18.Updated various resources strings to improve support for
translations.
19.Updated TagLib library to v2.0.2.
20.Changed Enable Sounds option in Options/Sounds dialog so that
it frees use of the sound card to allow device changes.
21.Updated OpenSSL library to v3.0.15.
1 414,297 Read More