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
343
Read More
|
|
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.
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
684
Read More
|
|
Re: Scripting to use Undenet X commands
Simo
10/04/24 10:26 PM
you could try this :
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
684
Read More
|
|
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
684
Read More
|
|
Re: Showing the wrong time
Khaled
07/04/24 07:38 AM
I have tested this in Windows 10 and have not been able to reproduce any issues with the time/timezone mIRC is displaying.
However, in order to track down issues like this, I would really need the information I asked for in my previous post.
3
764
Read More
|
|
Re: DCC Progress Bar color?
Khaled
07/04/24 07:29 AM
Thanks for spotting this. The treebar was incorrectly using the same colors as the switchbar. The switchbar itself was using colors that were added before a number of other changes. I have changed both to use the text color for the bars so as to correctly stand out against the background.
1
216
Read More
|
|
Scripting to use Undenet X commands
grumpy_ol_man
07/04/24 07:25 AM
Hi, i have a channel on undernet and get a few trools frequently. I usually kick/ban them with "/msg x@channels.undernet.org ban #channel *!*@ip1.*,ip2.*,ip3.* 3h " That works well for one or 2 lines. I want to script so I can send several lines to X. I know I can open a query window to a nick and use the /play "text" 1500. But that is not working with sending X Commands. Any help is much appreciated.
5
684
Read More
|
|
Re: Spotify now-playing for mIRC
ChimpJ
06/04/24 01:57 PM
Forgive my ignorance but I am unable to find spoton.dll. Have looked in the zip and on github. If you could point me in the right direction I would be very grateful. Thanks in advance!
28
16,677
Read More
|
|
Re: Showing the wrong time
Wien
06/04/24 09:52 AM
Hello Khaled,
If the forum time is UTC, then the the difference between actual time and the UTC - 7 hours according to the post time of the topic of Sunlily. According to Sunlily the time showed on mIRC was UTC - 8 hours which was wrong.
According to my investigation there is an issue in mIRC with these two timezones:
Currently set in mIRC (don't know which version): (UTC-08:00) Baja California (UTC-08:00) Coordinated U:niversal Time-08 (UTC-08:00) Pacific Time (U.S. and Canada)
Should be set as in mIRC: (UTC-07:00) Arizona (UTC-07:00) La Paz, Mazatlan (UTC-07:00) Mountain Time (U.S. and Canada) (UTC-07:00) Yukon
I think there is an issue with the Pacific and Mountain time in mIRC. Please check these two timezones in mIRC Khaled?
3
764
Read More
|
|
DCC Progress Bar color?
eahm
06/04/24 09:30 AM
Is there a way to change the color of the new DCC Progress Bar? I use a black background and I can't see the bar unless I select the line nick.
Thank you.
1
216
Read More
|
|
Re: please help how to write script
lonthong
06/04/24 09:14 AM
Dear Epic,
thank you for your reply , i already see all link you give to me
script not working { /timer 0 900 msg #" your channel " "your messages" /timer 1 10 msg #" your channel " "your messages" }
and changes to
on *:connect:{ if ($network == "your server") { /timer 0 900 msg #" your channel " "your messages" /timer 1 10 msg #" your channel " "your messages" } }
my script is working well now
thank you
2
364
Read More
|
|
Re: please help how to write script
Epic
04/04/24 06:45 PM
Obviously, to do this you need to create a script that will do what you want. To get started, try reading/studying the help documentation: https://www.mirc.com/help/html/index.html?remote.htmlIn addition, something similar using a timer has already been discussed in the next forum thread: #Post272454If after reading the information in the links you still have difficulties creating a script or it is not exactly what you want to do, then try to describe your idea in more detail, as well as provide text examples/screenshots/handwritten drawing/scheme on a sheet of paper or something else, so that we understand exactly what you want to do.
2
364
Read More
|
|
please help how to write script
lonthong
04/04/24 03:56 AM
Dear Sir / Madam
please help how to write timer in mirc script i try writein status " /timer 3 5 msg #chan This test message using timer " <<< it work well but not work when i write in remote (script area)
please help how to do that
i want to post a message in my channel every 30 minutes
thank you
2
364
Read More
|
|
Re: Mark As Read
TECO
03/04/24 05:18 PM
Hi Khaled, I would like to ask you if it is possible to add an identifier, for example $markasread, that allows you to return $true or $false when the windows are all read or not? Example:
3
945
Read More
|
|
Re: Continue/While/Bracket bugs
Wims
03/04/24 03:58 PM
Talking about the fixed code: ON *:TEXT:whatever:#channel: {
IF (1 == 1) { Command1 | Command2 } ; | TestCommand3 }
AlwaysCommand
} You cannot comment code reliably with the ';' if it's not starting the line. You can check this thread for more informations about how ; can in fact be used to comment only a single statement out of multiple statement separated by a |, but is has a quirk and you cannot comment out the last statement if it ends with a } or the } is parsed incorrectly, but if no } are involved on the line, you can comment a single statement, even the last : alias test { echo -ag ok | echo -ag ok1 | ;echo -ag ok2 } Will only display ok and ok1, it's also worth noting that the else statement does not have this problem and you can always comment out the last statement of a single line else statement with multiple statements in it as is the case in the above link. You also still have one extra } in this code, making 'alwayscommand' outside on the on text event because spaced out } cannot be commented out if ; isn't starting the line. Focusing only on the line " IF (1 == 1) { Command1 | Command2 } ; | TestCommand3 ", what's happening there is that } in itself acts as a statement separator: //if (1 == 1) { echo -ag ok | echo -ag ok1 } echo -ag ok2
is equivalent to //if (1 == 1) { echo -ag ok | echo -ag ok1 | echo -ag ok2 }
If you change the condition to 1 == 2 for example, 'ok2' is not echoed It's known that } act as a statement separator, same as |, and you don't need prior { } involvement to see this: //echo -ag ok } echo -ag ok1
is equivalent to //echo -ag ok | echo -ag ok1
So then ';' is seen as starting a statement but you see, the quirk with ; and commenting out single statement is that it correctly works stopping at a | but not a }, so this is the same as IF (1 == 1) { Command1 | Command2 | ; | TestCommand3 } Where you just have an empty commented out statement, and /testcommand3 is executed 'normally' Although the problem is as simple as "; starting a statement which is not starting a line but is the last statement in a line doesn't stop at } correctly", given Khaled's answer it's likely that fixing it would require more work than just adding that logic once somewhere. But of course I would like to be able to comment out single statement like that so I wouldn't mind a fix. I wouldn't recommend anyone trying to comment out single statement out of multiple statements separated by | on a single line or trying to commentate anything with ; if it's not starting the line anyway because of all of these, but if you're aware of them, you can actually workaround them. For example you can solve the issue reported in the mentioned url by adding a fake last empty statement, just by adding a spaced out pipe character, which works for your case as well, coming from this code: ON *:TEXT:whatever:#channel: {
IF (1 == 1) { Command1 | Command2 | TestCommand3 }
AlwaysCommand
} and trying to get testcommand3 not to be executed without changing much in the code, your best bet is ON *:TEXT:whatever:#channel: {
IF (1 == 1) { Command1 | Command2 | ;TestCommand3 | }
AlwaysCommand
} But trying to use ; when it's not starting a line and when it's not starting a statement properly either (properly aka after the } in your original example isn't proper) is just not possible.
17
3,768
Read More
|
|
Re: Continue/While/Bracket bugs
KindOne
02/04/24 07:39 PM
ON *:TEXT:whatever:#channel: {
IF(1==1) {Command1 | Command2 } ; | TestCommand3 }
AlwaysCommand
}
You have multiple issues in your example. 1. The "IF" cannot touch the "(". 2. The "==" cannot touch the numbers. 3. The "{" cannot touch the "Command1". Fixed example:
ON *:TEXT:whatever:#channel: {
IF (1 == 1) { Command1 | Command2 } ; | TestCommand3 }
AlwaysCommand
}
17
3,768
Read More
|
|
closing help file from script -- /winhelp
Wims
01/04/24 09:57 PM
For a better handling and managing of a custom help file, such as updating it from the web, I would like to be able to close an help file from a script via /winhelp.
/winhelp -n <name> <file> [keyword] /winhelp -c <name>
0
104
Read More
|
|
Re: Continue/While/Bracket bugs
HaArD
01/04/24 08:50 PM
I've done some searches under "Comment" "Bracket" Brace" and "{" and "}" and not found this being discussed anywhere. I've just spent many hours trying to debug a script only to discover that the a comment at the end of the line that starts with a ; character after the code does not stop the parser from reading and processing a } character and therefore unintentionally closing a loop/event. Running v7.76 e.g.
ON *:TEXT:whatever:#channel: {
IF(1==1) {Command1 | Command2 } ; | TestCommand3 }
AlwaysCommand
}
Will output Command1 and Command2. The "AlwaysCommand" will never execute as mIRC will treat the last } after "TestCommand3" on the IF line as the closing bracket for the ON TEXT event. You can see this instantly in the way the script window will indent the code. Remove that supposedly commented text " | TestCommand3 }", or even just the "}" and everything will ident and execute as expected. Having read this post and the replies I don't expect this is critical enough to warrant a serious "fix", it sounds like it might be very difficult to fix. I'm capturing here so some future fool like me can find an answer before banging their head off the desk for several hours. Khaled: I am constantly in awe of the power and scope of the script engine "as-is". Thanks for everything.
17
3,768
Read More
|
|
|
|