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: help with sort of nick tracker or AK script raycomp 18/06/21 02:56 PM
thank you but it is all greek to me will have to abandon the idea
2 245 Read More
Scripts & Popups Jump to new posts
Help with find lines of text raycomp 18/06/21 02:50 PM
I have a script saving the information of a user when logging into a channel using ircCloud

Josef=J Josef!uid244513@AzgedaIRC-986B5A42.irccloud.com 1623339086 #volwasseklets
and later use different nick like
Muis=J Muis!uid244513@AzgedaIRC-986B5A42.irccloud.com 1623339086 #volwasseklets

I need to find the lines containing !uid244513 and play all lines in a channel containing that portion. I have tried various methods adapting this script with no success

Quote

on *:text:!uid244513:#: {
var %x = 1
while (%x <= $numtok($strip($1-),32)) {
var %y = 1
while (%y <= $lines(seendata.txt.txt)) {
if ($read(Seendata.txt, %y) == $gettok($strip($1-),%x,32)) || ($read(Seendata.txt, %y) == $gettok($strip($1-),$+(%x,-,$numtok($read(Seendata.txt, %y),32)),32)) {
play #cloudusers ???
}
inc %y
}
inc %x
}


or if someone can help with a sort of AKA script fo ircCloud users
0 88 Read More
Scripts & Popups Jump to new posts
Re: Timer Help, script creates multiple timers tribalcoi 16/06/21 10:40 AM
I found the answer. I had a few timers in the default script that was loading along side my new files. Cleared out the default and it has fixed the problem
1 146 Read More
mIRC Help Jump to new posts
link two channels on my server raycomp 15/06/21 02:23 PM
I have a server with three separate channels, #LetsChat #UserHelp and #Trivia.

Is it possible to link them so that if a user logs into #LetsChat that he automatically the other two?

I have no idea if it is possible and if so how!

Any help, suggestions, or snippet will be appreciated
0 125 Read More
Bug Reports Jump to new posts
Re: Folder input locked with *.* Khaled 14/06/21 10:22 AM
Thanks this issue has been fixed for the next version.
4 272 Read More
mIRC Help Jump to new posts
Re: add delay to on text msg tribalcoi 13/06/21 02:49 PM
This is what im working with right now. It works great as long as the user doesnt spam the trigger. If they spam it i want to only react to the first occurance and ignore the rest of them.

Code
on *:TEXT:sample:#channel:{ timer 1 8 msg #channel !play }


Im moderate with python and ahk but this is killing me.
5 183 Read More
Bug Reports Jump to new posts
mIRC beta Khaled 09/06/21 09:02 AM
The latest beta is v7.65.943. It can be download here and includes these changes:

Quote
Beta v7.65.943 changes:
1.Item 10, https://forums.mirc.com/ubbthreads.php/topics/269043

Beta v7.65.922 changes:
1.Item 8, optimized.
2.Item 2, https://forums.mirc.com/ubbthreads.php/topics/268965
3.Item 9, https://forums.mirc.com/ubbthreads.php/topics/268671
Hopefully, this resolves the other duplicate icon bug reports
as well.

Beta v7.65.676 changes:
1.Item 2, fixed second editbox border not being colored correctly.
2.Item 6, changed. If no group name is found, it is treated as a
server address.
3.Item 7, changed. It has been standard ircd behaviour since 1995
for ircds to ignore modes without parameters. Some ircds now report
errors and/or ignore the /mode in this context. This change is limited
to +ovh combinations of modes to handle the standard popup script
that is in all installations of mIRC since 1995. It does not affect
use of /raw.

Beta v7.65.563 changes:
1.Item 1, added. The code for drawing and selecting the
text/window colors in the Colors dialog was very old, overly
complicated, and difficult to update, so I ended up rewriting
it. It should still work in the same way as before. The default
MDI area color is color 97, a light gray.
2.Item 2, changed.
3.Item 3, changed. Required important changes to the treebar
code to remove dependency on Status windows as root windows
for all other windows. Needs testing.
4.Item 4, changed.
5.Item 5, changed.
6.Added Libera.Chat to the list of default IRC networks.

Changes:
1.Added MDI area background color option to Colors dialog for
users who want to change how bright the background is.
2.Changed the editbox line separator so that its color is now
based on the color of the editbox, and the nickname list
sizing bar so that its color is now based on the color of the
listbox, so these should now match the user's chosen theme.
3.Changed /window -h to support hiding status windows in both
the switchbar and the treebar.
4.Changed channel and query window icons to make them more
distinctive.
5.Added colors dialog default/undo buttons. Default resets
a built-in theme to its default settings. Undo reverts the
current changes to when the dialog was opened.
6.Changed /server to prioritize group name over server address
to handle server group names that contain periods.
7.Changed parsing of /mode commands that use combinations of
+ovh so that number of modes/parameters are trimmed to equal
number due to changes in how some ircds process these.
8.Optimized Windows 10 Aero theme support.
9.Fixed maximized MDI window duplicate icons bug.
10.Changed tab completion to leave in place non-existent/empty
identifiers/variables, as with previous versions.
1 211,608 Read More
Scripts & Popups Jump to new posts
Re: My color schemes eahm 06/06/21 09:29 AM
52 24,895 Read More
Bug Reports Jump to new posts
Re: $identifier + tab in editbox Khaled 05/06/21 11:01 AM
Thanks this has been fixed for the next version.
2 332 Read More
Scripts & Popups Jump to new posts
Re: ZNC Query Buffer Self-Message Support Mouse 04/06/21 05:44 PM
I just missed a debugging line in the code as the person above mentioned. I can't go back and edit that post so I'll post the corrected code below so other people can copy/paste:

Code
; mIRC znc.in/self-message CAP support script by Mouse
; http://forums.mirc.com/ubbthreads.php/topics/252752
; v0.4 2021-06-04

; If server offers znc.in/self-message capability then request it.
raw CAP:*LS*znc.in/self-message*:{ .raw CAP REQ :znc.in/self-message }

; Local alias to get correct "own" action and nick colors
alias -l owncolor {
  if ($1 == action) {
    if ($color(own text) == $color(normal text)) { return $color(action text) }
    else { return $color(own text) }
  }
  if ($1 == nick && $cnick($me) > 0) {
    return $cnick($me).color
  }
}

; Process all private messages delivered to $me for which $me is not the target/recipient AND
; when no window for $me exists.
on ^*:OPEN:?:{
  if ($target != $me) {
    ; Make sure we have a query window to print to.
    if (!$window($target)) { query $target }
    ; Print message with proper formatting after checking if it's an ACTION.
    if ($gettok($rawmsg,4,32) == : $+ $chr(1) $+ ACTION) {
      echo $owncolor(action) -bfmt $+ $msgstamp $target * $nick $1-
    }
    else { echo $color(own text) -bfmt $+ $msgstamp $target < $+ $chr(3) $+ $owncolor(nick) $+ $nick $+ $chr(3) $+ > $1- }
    ; Halt further processing.
    halt
  }
}

; Process all private messages delivered to $me for which $me is not the target/recipient AND
; when a window for $me exists.
on ^*:TEXT:*:?:{
  if ($target != $me) {
    ; Make sure we have a query window to print to.
    if (!$window($target)) { query $target }
    ; Print message with proper formatting after checking if it's an ACTION.
    if ($gettok($rawmsg,4,32) == : $+ $chr(1) $+ ACTION) {
      echo $owncolor(action) -bfmt $+ $msgstamp $target * $nick $1-
    }
    else { echo $color(own text) -bfmt $+ $msgstamp $target < $+ $chr(3) $+ $owncolor(nick) $+ $nick $+ $chr(3) $+ > $1- }
    ; Halt further processing.
    halt
  }
}
12 5,623 Read More
mIRC Help Jump to new posts
Re: mirc.hlp maroon 04/06/21 02:50 PM
There is no official help file in a different language. If you have an older one in Spanish, it was manually created by someone, and you would need to discover if they created a newer file.

189 / 5000
Translation results
No hay un archivo de ayuda oficial en otro idioma. Si tiene uno más antiguo en español, alguien lo creó manualmente y necesitaría descubrir si creó un archivo más nuevo.
1 191 Read More
Scripts & Popups Jump to new posts
Re: How to ban the real ip? Help please Robert 03/06/21 02:41 PM
Send me a private message for the code when you're done! Thank you Epic
4 232 Read More
Scripts & Popups Jump to new posts
Re: Need help with regex. turbosmurfen 02/06/21 03:42 PM
Thanks for the information about regex.
6 235 Read More
Bug Reports Jump to new posts
Re: mIRC 7.65.563 editbox issue. Mythos 02/06/21 03:09 AM
Reporting from mIRC Beta 7.65.922 (from my proper account I recovered! ... technically I have another account, too, but the email for that account is long since missing and I don't recall the password, but that's another story.)

The bug I reported seems fixed. Border colors maintain between my monitors.
9 564 Read More
Feature Suggestions Jump to new posts
position save|clear all channels maroon 01/06/21 10:09 PM
It would be nice to have a menu choice to save just the entries for the actual channels without saving everything else. If there are N channels open, then it would create/alter N items under the [windows] section.

When I used the upper left menu of a channel window to make the choice position/save-all, I was expecting it to create N [windows] entries to save all N currently-open channel windows. Instead, it created a pair of entries for each channel plus a pair for a lot of other things, including all the open @windows including @debug. It creates an item for @windowname as well as for @windowname-networkname. It's reasonable to expect that 'all' in the channel menu means all channels, and possibly the status window too, but not for all the other entries for all @windows, as well as wdccs* or wdccg if there happens to be an active dcc in/out at the time.
0 199 Read More
Bug Reports Jump to new posts
Re: /font -a and status windows maroon 01/06/21 09:48 PM
As i discussed with Wims in channel, this behavior has been around forever, and it's related to the design of the [windows] and [fonts] sections which both use 'reserved' names which can also be valid nicks, and where the [fonts] section doesn't the $network name. For example, Wims' example command creates/alters the [fonts] entry for fstatus, so this affects all status windows.

The [windows] section controls the size and location of windows, but also uses itemnames that collide with valid nicks. For example, if your mIRC is full screen with channel and query windows being "normal" not maximized, someone else using 'main' as their nick would create in your mIRC a query window that matches the size of the main mirc window itself.

In effect, what the /font -a switch actually does is change the setting for the activewindowname, not the 'active' window. Doing that command in the status window changes fstatus that sets the font for all status window, doing it in #test changes f#test affecting that channel name at all networks, as does doing it in query window with maroon affects fmaroon which controls the font for the maroon nick at all networks.

To overcome just a portion of these issues would involve editing the documentation to more accurately describe the current behavior of -a being for the windowname instead of for the window.

To have the font change be for just the $active window, the itemname in [fonts] would need to be more similar to how it's handled in [windows], by being fstatus-freenode instead of just fstatus.

However, even that is still a valid nick. To avoid the crash against valid nicks, the reserved names need to change, so they begin with a character that can't begin a valid nick. i.e. making reserved names create .ini lines like 1main=string or +fstatus=string.
1 153 Read More
Scripts & Popups Jump to new posts
Re: How to kick with older reason? Help me pls Robert 01/06/21 02:48 PM
Ok thanks Epic so much
32 1,181 Read More
Bug Reports Jump to new posts
Re: MDI duplicate icons Epic 01/06/21 02:27 PM
mIRC beta v7.65.922 ‒ No bug found, problem resolved. I no longer observe this and cannot reproduce. Thank you very much.
22 1,021 Read More
Developers Jump to new posts
Re: Request for mIRC icon package Epic 31/05/21 08:29 PM
I roughly presented out how it might look and I've seen something similar in other applications. It would be interesting to have a look at this.
Can you create (using the mIRC open client) some kind of project layout in Photoshop and place it here as an image (.png) so we can see your idea?
3 435 Read More
Scripts & Popups Jump to new posts
Re: filter script not showing correct details Orobas 31/05/21 08:00 PM
Hi Maroon

many thanks for the reply and apologies for the time delay in this message.. real life had me priority.

Much appreciated for the feedback. I know my scripting is exceptionally rough and crude and should be using much better code but that is all i know i am afraid when it comes to msl scripting lol.

I'll sit down and have a play and see if i can improve my script from your suggestions!
4 202 Read More
Feature Suggestions Jump to new posts
Re: $pos() - Support negative indexes Epic 28/05/21 04:17 PM
You're right. The identifier doesn't really need to return an error if multiple parameters are missing on run. It is enough to notify about this in an echo message and halted the script.

Therefore this line should be replaced:
Code
return $+(,$color(info).dd,*) insufficient parameters ‒ $+(correct syntax:,$color(notice).dd) $eval($posmir(text,string,N),0)

Replace with this line:
Code
echo -sc info * insufficient parameters ‒ $+(correct syntax:,$color(notice).dd) $eval($posmir(text,string,N),0) | halt

Thank you for your help with the hint cool
5 250 Read More
Scripts & Popups Jump to new posts
Re: Add ":" and " " (space) after nick completion with meow81 28/05/21 11:34 AM
how to make it also for a nick that is not the first word of a phrase ?
13 399 Read More
Bug Reports Jump to new posts
Re: channel voice / op -- You must specify a parameter Khaled 27/05/21 04:39 PM
The main issue is that because these popups have been in use for so long, they are likely in most mIRC installations, in the original or modified form.

One solution could be to make mIRC check for /modes that specify combinations of just +/-ovh and to trim these to match the number of parameters.

Actually, I could also make it trim the number of parameters to the modes, if too many parameters are specified. Just in case :-]

This will only affect /mode not /raw mode.

I'm going to add this to the next beta to see how it works out.
20 2,817 Read More
Feature Suggestions Jump to new posts
Re: Missing Documentation maroon 26/05/21 05:01 PM
While making this answer to a question
https://forums.mirc.com/ubbthreads....-you-must-specify-a-parameter#Post268998

I noticed that labels in popups aren't behaving the same way as the command following the semi-colon.

When more than 1 nick is highlighted, the command following the semi-colon sees $2 $3 etc get filled in, but they are not filled as seen by the menu label. While it is true that the /help doesn't mention anything beyond $1, the default popups menu does contain them and the command here does use them:

.Op:/mode # +ooo $$1 $2 $3

... and users could see unexpected behavior if they assume that $2 behaves the same way across the entire label if you have the following lines in the nicklist popup menu:

Label (0) $0 (1-) $1- parms $parms (2) $2 : echo -a (0) $0 (1-) $1- parms $parms (2) $2
.Give Op to $1-3:/mode # +ooo $$1 $2 $3

In the label, the $0 is always 1 when $2- is filled due to more than 1 nick selected, $parms is always ignoring the presence of $2- nicks, and $2- $2 $3 etc are always blank. This can result in a menu command targeting a different group of nicks than indicated by the label, ie giving ops to 3 nicks even though the label says only 1 nick.

Whether $2- should become part of the menu label, or the /help should be updated to indicate that $2- are valid in the :/command portion, I dunno.
31 36,712 Read More
Scripts & Popups Jump to new posts
Re: Open Proxies New_One 26/05/21 03:58 PM
Hello Epic , now it os its working very well now smile , i just change tha part as u say on client connecting and its working very well , thanks alot for your help smile
20 1,739 Read More
Page 1 of 2 1 2