sunburst

sunburst

Joined
Dec 24, 2007
Occupation
Student
Location
Google it?
Website
Interests
IRC, Guitar, Electronics

Activity Stream

sunburst commented on a Page, $char  -  Dec 25, 2007

Agh, and replace /(d+)/g with /([backslash]d+)/g :X

 Respond  
sunburst commented on a Page, $char  -  Dec 25, 2007

Just replace $asc(1) and $chr(1) with $chr(backslash1) and $asc(backslash1)

 Respond  
sunburst commented on a Page, $char  -  Dec 25, 2007

I think using $regsubex would be better in this case. Here is an updated version of the code:

Same syntax and all, just uses $regsubex.

 Respond  
sunburst commented on a Page, $ischanmode  -  Dec 25, 2007

Ah, I knew this would come up. That would work, but this is better because it supports wildcards. If the modes were +ist, $ischanmode(#,it) would not work. However, $ischanmode(#,i*t) would work. Just makes it easier to return matches.

 Respond  
sunburst commented on a Page, $ischanmode  -  Dec 25, 2007

Yes I know it is simple, but, as stated in the documentation, I found it very useful and thought I\'d share it with others. Thanks for your rating though!

 Respond  
sunburst created a Page  -  Dec 25, 2007
210 

Returns $true or $false depending on if a channel mode is set. See documentation below. Ability to use wildcards and to match multiple modes at a time. Very simplified code.

sunburst commented on a Page, Replacement for /join  -  Dec 24, 2007

Oh, son! You just got TOLD!
Unless you have some sort of grudge against this person, it really is irritating to act immature and rub a harmless detail into someone\'s face. I am sure this person didn\'t know of that information, thus why he made this snippet. Even though this is pretty simplistic.

 Respond  
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.