Re: login conect script
Iire
Yesterday at 11:55 AM
Hello, I'm noticing two things in your on NOTICE event, (and one minor thing in your /prelogin alias): For the /prelogin alias, ($network) will be treated as plain text, rather than as the identifier $network surrounded by parentheses. In order to get the network name wrapped in parentheses, you will need to use a $+ concatenator (preferably the infix version) between each " (" and " )" parenthesis and the $network identifier: ( $+ $network $+ ) As for the on NOTICE event issues... The first thing I see there is that you have an extra event parameter: on *:NOTICE:*You are now identified* :* :NickServ:{ If you remove the part underlined in red, the event should trigger correctly and will no longer attempt to execute " /NickServ:{ " as a command whenever anybody sends you a notice containing the text " You are now identified". The second, which I'm assuming is a typo, is that you're checking if the value of $server is irc.misiochat.net, without a g... if ($server == irc. misiochat .net) { ...rather than irc.gmisiochat.net, with a g. Other than those two things, your script should work fine. However, you should also be aware that timers will evaluate identifiers and variables used in their command parameter twice: once when the /timer command itself is encountered and the timer is created, and then again when that timer is actually executed and runs the command you've passed to it. Although this is unlikely to be an issue for your particular case, you should get into the habit of wrapping any identifiers or variables that you use within a timer's command parameter inside the $unsafe() identifier in order to prevent mIRC from attempting to evaluate them twice. (Imagine, for instance, what might happen if any of your passwords began with a $ or % character.) So .timerNickServ 1 3 msg NickServ IDENTIFY $ns_pass ...would become: .timerNickServ 1 3 msg NickServ IDENTIFY $unsafe( $ns_pass ) And .timerOper 1 1 OPER $oper_user $oper_pass ...would become: .timerOper 1 1 OPER $unsafe( $oper_user $oper_pass ) Hope this helps.
1
144
Read More
|
|
Re: InspIRCd numeric 650 and "Services Message".
Khaled
18/05/25 01:43 PM
Thanks for your bug report. As far as I can tell, this is behaving as expected.
mIRC added support for DALnet's numerics 650 and 651 in 2002.
When mIRC sees numeric 650, it assumes that one or more service messages will follow, so it plays a single notice event sound, displays the message "Services Message" in reverse (as requested by users at the time), and then displays a list of incoming services messages. When it receives numeric 651, this indicates the end of the group of related services messages.
That said, it looks like InspIRCd does not send numeric 651, which means that mIRC cannot tell when the services messages group has ended.
I am going to change the implementation of this to be less dependent on receiving numeric 651. This change should be in the next beta.
1
231
Read More
|
|
Underscores
RoCk
11/05/25 03:09 PM
There is the option to fill spaces for sending files, could you add the option to remove underscores when receiving files? I have a script to do just that, but I help a lot of users who get confused with scripts. Thanks!
0
118
Read More
|
|
Re: Upper case nick
Simo
11/05/25 11:37 AM
on !*:JOIN:#:{
if (!$Timer($+(CheckNicks,.,$network,.,$chan,.,$nick))) { .Timer $+ $+(CheckNicks,.,$network,.,$chan,.,$nick) -md 1 750 badnick_alias $unsafe($chan) $nick }
}
ON *:nick:{
haltdef
var %whloop = 1
while ( $comchan($newnick,%whloop) != $null ) {
var %chan $v1
if (!$nick(%chan,$newnick,@&~%) && $nick(%chan,$me,@&~%)) { badnick_alias %chan $newnick }
inc %whloop
}
halt
}
ON *:op:#:{
if ($opnick == $me) {
var %loop = 1, %nick , %kickmsg = please change your nick thank you....
while (%loop <= $nick($chan,0)) {
%nick = $nick($chan,%loop)
if ($len( %nick ) < 3 || ($calc($regex(%nick,/[A-Z]/g) * 100 / $len(%nick)) > 30)) {
if (!$nick($chan,%nick,~&@%+)) { var %banmask = $addtok(%banmask,$MuteBanMask(%nick),32) }
if ($numtok(%banmask,32) == 10) { mode $chan + $+ $str(b,$numtok(%banmask,32)) %banmask | unset %banmask }
}
inc %loop 1
}
}
if (%banmask) { mode %chan + $+ $str(b,$numtok(%banmask,32)) %banmask }
}
Alias MuteBanMask { return ~q: $+ $address($1,2) }
alias badnick_alias {
var %chan $1 , %nick $2
if (%nick !ison %chan || $nick( %chan , %nick ,@&~%)) { halt }
if ($len( %nick ) < 3 || ($calc($regex(%nick,/[A-Z]/g) * 100 / $len(%nick)) > 30)) {
if (!$Timer($+(CheckNickZ,.,$network,.,%chan,.,%nick))) {
.Timer $+ $+(CheckNickZ,.,$network,.,%chan,.,%nick) 3 15 badnick_still_on_chan $unsafe(%chan) %nick
}
}
}
alias badnick_still_on_chan {
inc $+(%,CheckWarnings,.,$network,.,$1,.,$2)
if ($2 ison $1 && $($+(%,CheckWarnings,.,$network,.,$1,.,$2),2) < 3) { NOTICE $2 WARNING }
elseif ($($+(%,CheckWarnings,.,$network,.,$1,.,$2),2) == 3 && $2 ison $1 ) { if ($MuteBanMask($2) !isban $1) { mode $1 +b $MuteBanMask($2) } | .Timer $+ $+(CheckNickZ,.,$network,.,$1,.,$2) off | unset % $+ $+(CheckWarnings,.,$network,.,$1,.,$2) }
elseif ($2 !ison $1) { .Timer $+ $+(CheckNickZ,.,$network,.,$1,.,$2) off | unset $eval($+(%,CheckWarnings,.,$network,.,$1,.,$2),1) }
}
29
5,286
Read More
|
|
Re: Join flood protection
Simo
10/05/25 11:27 AM
yes u can by changing :
if (%wildsite !isban %chan) { mode %chan +b %wildsite }
to
if (%wildsite !isban %chan) { ban -u $+ $duration(3h) %chan %nick 2 }
22
31,640
Read More
|
|
Re: Couldn't look up your hostname - Google Fiber
Sat
04/05/25 08:09 AM
For IRC servers, it is not enough that your IP address can be resolved a hostname. The IRC server also checks that that hostname can be resolved back to that same IP address. That two-way check prevents hostname spoofing, because it is relatively easy to make a privately owned IP address resolve to, say, fbi.gov.
I would guess that in your case, the problem is in the host-to-IP part of the check. If that is indeed the case, only Google can fix that issue for you.
1
353
Read More
|
|
Re: Editable Language Files
OnurGVNGL
29/04/25 08:54 PM
Hello. I have translated many software's into Turkish, and finally, after the addition of editable localization support, I had the opportunity to translate the mIRC program, which has been the love of my youth, into Turkish. The translation was done via Resource Hack in version 7.81. However, as mentioned below, there are some areas that remain untranslated: I couldn't find the source of the translation on Resource Hack ''Commands menu, channel modes (right clicked on channel), right click on nick and status'' (images are below) Channel ModesCommandsRightClickNickRightClickStatusOutside of these, everything is going quite well. The localized DLL file has been tested several times in the Resource Hack program to check for potential errors. So far, I haven't encountered any issues with visuals or meaning. *The scan was performed using the /langdll -d command. The results are as follows: Deleted:241 Added: Added:0 Warnings:68 (To find warnings, Press Control+F and search for "Warning:") Done I will focus on this part, but I have no idea how to handle the translations below the image. I'm around. OnurGVNGL
22
15,115
Read More
|
|
Re: BAN/QUIET
Fernet
26/04/25 10:53 AM
i believe i made some mistakes in the nick event ive posted this should fix it :
on *:JOIN:#test,#chan1,#chan2,#chan3,#chan4,#chan5:{
if ($nick($chan,$me,@%&~)) {
if ($round($calc($regex($nick,/[A-Z]/g) / $regex($nick,/[A-Za-z]/g) * 100),0) > 40) {
if ($+(~q:,$address($nick,2)) !isban $chan) { putmode $chan +b $+(~q:,$address($nick,2)) }
}
}
}
ON *:nick: {
var %loopnckz = 1
while ( $comchan($newnick,%loopnckz) != $null ) {
var %chan $v1
if (!$istok(#test #chan1 #chan2 #chan3 #chan4 #chan5 ,%chan,32)) { break }
if ($nick(%chan,$me,@%&~)) {
if ($round($calc($regex($newnick,/[A-Z]/g) / $regex($newnick,/[A-Za-z]/g) * 100),0) > 40) {
if ($newnick isvoice %chan) { putmode %chan -v $newnick }
if ($+(~q:,$address($newnick,2)) !isban %chan) { putmode %chan +b $+(~q:,$address($newnick,2)) }
}
inc %loopnckz
}
}
}
This option is not what I need: I can't understand about "regex" and all my other stuffs (WARN, TIMER,etc...) have been deleted. Sorry but I prefer towork on my addon , not to have a new one that I can't edit. Thanks a lot for help.
3
613
Read More
|
|
Re: Nick change check from list
Fernet
16/04/25 06:23 AM
im not sure i understand the question. OK. Let me try to explain... I created a list of badwords in a text file badwords.txt: duck lussy pass button --->bone<---etc.... If an user write LOOK AT MY BONE he'll be banned because te word BONE is in the list of words. But if he write LOOK AT MY FATBONE he won't be banned because the word FATBONE is not in the list So I used wildcard: *duck* *lussy* ?ass* *butt* --->*bone*<---So to cover what is wrote before or after the badword. In the case if he write LOOK AT MY FATBONE he should has to be banned because *bone* include everything wrote before or after ( isin or iswm maybe?) But it doesn't work. And for nicks is the same: it works if someone wear a nick that has no wildcards in list. If an user wear LUSSY he'll be banned, but if he wear BIGLUSSY , nothing happen. I hope Ibeen more clear. Thanks
6
1,724
Read More
|
|
mIRC 7.81 released
Khaled
09/04/25 06:07 PM
Dear mIRC User, mIRC v7.81 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: Added Follow Windows Dark Mode option to Display dialog. Fixed server-specific settings not being loaded on startup. Updated OpenSSL library to v3.0.16. Changed Treebar non-focus selected item to use more visible color in dark mode. Added custom dialog scroll properties pos N and page N. Changed nickname auto-color feature to use improved contrast ratios. Fixed DirectShow crash bug relating to sound initialization on startup. Fixed Aero theme bug when Windows 11 transparency effects are enabled. Fixed Alt+X not working to toggle the maximized state for desktop @windows. 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 mIRCAs 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
937
Read More
|
|
mIRC beta
Khaled
05/04/25 03:10 PM
There are no betas available for testing at this time. Please download the latest version of mIRC from the mIRC website.
1
434,108
Read More
|
|
Re: Use of a deprecated method
Khaled
03/04/25 08:06 PM
Thanks for your bug report and the link. I haven't seen this reported when compiling in Visual Studio 2017/2022, however I have gone ahead and switched out the use of gethostname() to the method recommended in the link.
1
490
Read More
|
|
|
|