Re: login conect script
Iire
6 hours ago
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
109
Read More
|
|
Re: Check Stored Hosts on JOIN
Iire
Yesterday at 06:11 AM
You may also want to consider naming and dedicating the table itself to netsplit-affected user storage for a given network, rather than using an all-purpose table name and encoding that information in the individual items' names. ...is how that sentence was meant to end. =r
2
267
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
227
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
117
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,265
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,628
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
351
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,085
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
603
Read More
|
|
|
|