Top

Comments

  (1,577)  RSS
Jethro_'s
Jethro_
Comments: 1,577
 
mIRC Snippet:  Country Codes Replacer
Posted 4 hours 32 mins ago
I take that it's working, since you haven't responded. Silence means yes to me.
Jethro_
Comments: 1,577
 
mIRC Snippet:  Gline List Dialog
Posted 1 day ago
WorldDMT is right. That saves the work of setting all the vars unnecessarily. When it comes to scripting, always think hard and find an efficient, shorter way to make your script work faster and use less resources if feasible.
Jethro_
Comments: 1,577
 
mIRC Snippet:  Native(!) URL Parser
Posted 1 day ago
Firstmate, if my post appears to be ignorant or disparaging (at least to you), I apologize. But my main aim is to tell people to like regex. For your info, I'm still learning about regex, and I know I won't be good at mastering it. Learning is a long, winding road that it's never enough. Again, I'm not trying to get people withdrawn from using other methods, identifiers, or commands made available to simulate regex. They're also good for scripting purposes but will come in a limitation as Hawkee suggested, hence not universal.

Jethro_
Comments: 1,577
 
Image:  FruiTLooP-iRC
Posted 2 days ago
lol That sure is colorful.
Jethro_
Comments: 1,577
 
mIRC Snippet:  BOT RPG / FIGHTING / SLAVERY
Posted 2 days ago
That little thing in your hands is very cute.
Jethro_
Comments: 1,577
 
mIRC Snippet:  Country Codes Replacer
Posted 2 days ago
Ok thanks to you, SnoooP. I wound up having to rewrite it, and I think I've had it fixed...:P
Jethro_
Comments: 1,577
 
mIRC Snippet:  Country Codes Replacer
Posted 2 days ago
Gee, looks like it's gotten worse than before.
Jethro_
Comments: 1,577
 
mIRC Snippet:  Channel List Info with Mode Definitions
Posted 2 days ago
Yes, _Teen_, but I'm sure it can be modified to fit the profile of other networks.
Jethro_
Comments: 1,577
 
mIRC Snippet:  BOT RPG / FIGHTING / SLAVERY
Posted 2 days ago
Aucun50 Wrote:
Quote:
Little thing called elseif and else might want to try them.
To the best of my recollection there was a guy who was fascinated by the tremendous amount of if statements himself...
Jethro_
Comments: 1,577
 
mIRC Snippet:  Away/Oper
Posted 2 days ago
Why didn't you use the $away identifier? Use if ($away) equals away and if (!$away) equals no longer away.
Jethro_
Comments: 1,577
 
mIRC Snippet:  Native(!) URL Parser
Posted 2 days ago
I concur with Hawkee wholeheartedly. Regex is universal in just about every programming language known to date. By using tokens (other than the ones made solely for certain programming languages) that will only work for MSL and nothing else.

Aucun50, you don't like using regex is because you don't want or bother to understand how it works. Once you get some understanding of it, you'll find yourself fancying it more than you think.
Jethro_
Comments: 1,577
 
mIRC Snippet:  Country Codes Replacer
Posted 3 days ago
Ok SnoooP, I've updated the script to make sure it's a two-letter word ending in the vhost to match for the country codes, along with two addition of part and quit event. Let me know if there's any shortcoming that you find.
Jethro_
Comments: 1,577
 
mIRC Snippet:  Channel List Info with Mode Definitions
Posted 3 days ago
Ford, that is a good idea, but the problem is, if I have the output emitted via raw 323, the channel info will go to the bottom and the mode definitions go on top, which will become the opposite of what the original output is supposed to be.
Jethro_
Comments: 1,577
 
mIRC Snippet:  RegEx Swear Kick
Posted 3 days ago
Ever since I've learned about regex, I've come to a conclusion that it is not a best tool for a bad work kicker. Let's you have lots of bad words to add. Your regex string will get very, very long over time. (unless, of course, you use the line break identifier) but that will still look very untidy and you can get your remote file increased in size. The best method I have found is using hash tables with
Quote:
if ($hfind(badword,$1-,w,1)) {
to look for matches.

However, you can still use regex to match bad words stored in a text file. Something like this:
Code:
if ($regex($1-,/(?:^| )(\Q $+ $replacecs($read(swear.txt,n,1),\E,\E\\E\Q,$chr(32),\E|\Q) $+ \E)(?= |$)/iS)) {
Jethro_
Comments: 1,577
 
mIRC Snippet:  Country Codes Replacer
Posted 3 days ago
Ok, I got ya. I've added it.
Jethro_
Comments: 1,577
 
mIRC Snippet:  Country Codes Replacer
Posted 3 days ago
You mean to have an asterisk symbol added? If so, I have added it so it simulates the default output.
Jethro_
Comments: 1,577
 
mIRC Snippet:  Channel List Info with Mode Definitions
Posted 3 days ago
Plus I don't see how raw 322 will check the "whole list" when it only returns the channel info you've specified.
Jethro_
Comments: 1,577
 
mIRC Snippet:  Channel List Info with Mode Definitions
Posted 3 days ago
napa182, give me your best suggestion so I can learn from it. I'm sure there is a way to keep the list window closed upon the trigger of this script.
Jethro_
Comments: 1,577
 
mIRC Snippet:  Country Codes Replacer
Posted 3 days ago
Thank you, Snooop. I have fixed the bug.
Jethro_
Comments: 1,577
 
mIRC Snippet:  Channel List Info with Mode Definitions
Posted 3 days ago
napa182, this script is to check for all the channels within a server.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Next
Bottom