Comments

 (309) 
  1. Everything
  2. Snippets
  3. Images
  4. Hardware
Gummo commented on mIRC Snippet: Bad Word Kicker  -  Jan 30, 2010
Perhaps he simply doesn't understand regex and copy/pasted that after modifying it.
Gummo commented on mIRC Snippet: $utf8 + upsidedown and octatext  -  Jan 20, 2010
Nice script, though elseif would remove some conditionals in the first alias.
montague's code there uses an interesting method of reversing the text with the inner-most $regsubex, uses $replacex to swap the letters with hex codes representing the upside-down letters (spaced to make later regex accurate easily) and the outside regsubex simply converts those values to the correct pairs of characters with $base.
$base would probably have made your script easier, FordLawnmower.
Gummo commented on mIRC Snippet: Spamfilter dialog  -  Jan 06, 2010
Specifically, for the warn action..
A spamfilter match snotice is sent, a message telling the user that a copy of what the said was sent to opers (with your given reason) is sent to the user but their message still goes through.
It's similar to block without actually blocking.
Gummo commented on mIRC Snippet: Spamfilter dialog  -  Jan 06, 2010
I can't really imagine that actually helping people who know the /spamfilter command as it is, but you could make it helpful by allowing straight text for the reason and then using something like:
$replace($did(27),_,__,$chr(32),_)
It would also be more helpful if those checkboxes were words, rather than the actual character used in /spamfilter, e.g. 'Private Messages' instead of 'p'.
Good job with the script, though. :)

By the way, Unreal supports the 'warn' action now.
Gummo commented on mIRC Snippet: color text rainbow color  -  Jan 05, 2010
Eh.

Code

 

That gives it a black background where there's a comma, you might want to put ctrl+bctrl+b instead or something.
Gummo commented on mIRC Snippet: iRCop helper  -  Dec 27, 2009
One way to improve it is to not leave yourself open to interception by fake services, but that relies on server-side aliases.

It should also be noted that this is not for a standard Anope-based server; some commands are not supported elsewhere.
Gummo commented on mIRC Snippet: link checker  -  Nov 23, 2009
You should always unset global variables such as %link there.. That lets you not repeat the code at the top, too, with another method.
Gummo commented on mIRC Snippet: Random topic! (v2.0)  -  Nov 17, 2009

Code

 

Why not just use

Code

 
Gummo commented on mIRC Snippet: Ban Finder  -  Nov 17, 2009
Thanks guys. :)
@FordLawnmower, I like to see the /whois info as well. Saves me having to do it twice. ;)
EDIT: Also lets me know that it's working, lol.
Gummo commented on mIRC Snippet: $utf8 + upsidedown and octatext  -  Aug 08, 2009
You know, the modulus of two numbers is $calc(num1 % num2)
Gummo commented on mIRC Snippet: Twitter Status Update + Direct Message  -  Apr 16, 2009
I never got the excitement from posting what you're doing so people know, like, "Going to the toilet."
Gummo commented on mIRC Snippet: Remote Editor Protection  -  Apr 15, 2009
Editor protection.. Is that what you call this random script?
Gummo commented on mIRC Snippet: CTCP Reply Message Faker  -  Mar 13, 2009
You can make ping checking scripts which test the time difference between your /ctcp and the reply, rather than comparing the $ctime.. This gets around the text ping replies and is what I did.
Gummo commented on mIRC Snippet: ascii text v3.0  -  Jan 28, 2009
wIRC has its own 'on input' event, so you have to disable that if you want this to be the only one..
Gummo commented on mIRC Snippet: $ralias - Get info on remote aliases  -  Jan 06, 2009
Hmm, looks like some mighty fine ideas went into this one. :)
Gummo commented on mIRC Snippet: spam protection (bot)  -  Dec 25, 2008
Perhaps make:

Code

 

Become:

Code

 

To remove false positives. The \b is a word boundary.
Gummo commented on mIRC Snippet: $leapyear and $leapcount  -  Dec 23, 2008

Quote

It returns the remainder of the quotient of two numbers.

Use % in a $calc to do this easily. :)
Gummo commented on mIRC Snippet: Pwnisher3's color talker dialog  -  Dec 21, 2008
The background colour should have two digits to prevent colour failure if your text starts with a number.
Background should also have the 99 colour option to have no background. :P
Gummo commented on mIRC Snippet: Pwnisher3's color talker dialog  -  Dec 21, 2008

Code

 

Apart from the fact that you aren't always in a channel when you send a message to someone (You can use $target instead of $chan), this script will message the channel any /commands you use.
Gummo commented on mIRC Snippet: Power Script  -  Dec 10, 2008
Did you know that /scid -r resets the connection to the original, removing the need for that $cid variable?
Gummo commented on mIRC Snippet: 5 Color Script (Fade)  -  Dec 07, 2008
You don't have to /unset when you only use /var. Also,

Code

 

The on input event can't trigger if $0 is 0, so the line isn't needed.
Gummo commented on mIRC Snippet: Twister Game  -  Dec 04, 2008
The following piece of code:

Code

 

Appears to have disappeared. It should work now..
Gummo commented on mIRC Snippet: Recursive mass-mode  -  Nov 06, 2008
Interesting method, but you should really var %i, %n and %curr_nick, rather than setting them permanently..

Also, not all servers allow 10 modes at once, requiring the use of $modespl for correct function.
Gummo commented on mIRC Snippet: $maketok(word,C) identifier  -  Oct 20, 2008
I see the $chr($2) doesn't work there..
So you know, you don't actually need to have text stored to do that, though you would need to use /(?<!^)(?!$)/g for complete accuracy. However, token identifiers ignore null tokens, so it's not especially important here.
Gummo commented on mIRC Snippet: $maketok(word,C) identifier  -  Oct 20, 2008
Wouldn't this then work also?

Code

 
Gummo commented on mIRC Snippet: Basic ChanInfo  -  Oct 19, 2008
I'd just set a %var to $iif($1,$1,$chan), then use %var.. Easy.
Gummo commented on mIRC Snippet: $maketok(word,C) identifier  -  Oct 19, 2008
The purpose is to make $mid with tokens instead..
Have you even thought about it, ^Neptune?
Gummo commented on mIRC Snippet: $maketok(word,C) identifier  -  Oct 19, 2008
..So $gettok($maketok(text,46),2,46) is the same as $mid(text,2,1).
That's what its use is, yes?
I don't see the point, really, but ok.
Gummo commented on Image: hmm  -  Oct 13, 2008
Lol, I did mention that opinion, just not here. :P
Gummo commented on Status: Gummo  -  Oct 12, 2008
@Littleasianjennii These are profile comments right here, anyway.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. 6
  8. 7
  9. 8
  10. 9
  11. 10
  12. 11
  13. Next
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.