FLCL

FLCL

Joined
Oct 24, 2007

Activity Stream

FLCL commented on a Page, $iseven - $isodd  -  Oct 27, 2007

Should look a bit better now, thanks jaytea and Olliegod.

 Respond  
FLCL commented on a Page, $iseven - $isodd  -  Oct 27, 2007

there\'s lots of ways to accomplish this, FLCL\'s methods are probably amongst the worst i\'ve seen (sorry, just seems like you\'ve copied techniques without understanding them at all :P), here\'s quite possibly the shortest method:

Nope. I fully understand this snippet. I guess it\'s just my habit to over complicate things with $regex. I am going to reduce the code a bit more right now. Hopefully it won\'t be as bad as it was before.

I\'ll probably go with something similar to $iif(2 // $1) as you pointed out jaytea.

 Respond  
FLCL created a Page  -  Oct 26, 2007
151 

Add items, delete items, edit items, free hash tables, and make new hash tables with this snippet.

 Respond   mIRC  
FLCL created a Page  -  Oct 26, 2007
413 

Snippet colours urls in a string of text red.

 Respond   mIRC  
FLCL commented on a Page, /pnick  -  Oct 26, 2007

Thanks xDaeMoN. :)

 Respond  
FLCL created a Page  -  Oct 26, 2007
170 

$iseven returning $true if the string is even. $isodd returning $true if the string is odd.

FLCL commented on a Page, /pnick  -  Oct 26, 2007

Odd. That shouldn\'t happen. I tested it and it worked perfectly fine.

 Respond  
FLCL commented on a Page, /pnick  -  Oct 26, 2007

I, because I am pretty lazy, use this to check users in my channel from the active browser. I use this in an on join event so it will tell me the current list of users in the channel It doesn\'t have to serve any particular use. I really don\'t understand the second half of your comment, but yeah. Whatever it serves the user for I guess.

 Respond  
FLCL commented on a Page, $acon  -  Oct 25, 2007

Sorry for the double post, but /help $scon is also helpful as well.

 Respond  
FLCL commented on a Page, $acon  -  Oct 25, 2007

Ah. Sorry about that. The properties are actually what the $scon properties are. Basically, properties of $scon $acon and /dcon can be any identifier, but that identifier has to be relative to the network. For example
$acon(network) would return the networks you are currently on.
$acon(server) returns each server you are on
$acon(away) would return any network that you are away on and display \'$true\'
$acon(awaymsg) if you were away, it would display the away message on the network that you are away on.
etc.

The same applies for /dcon (/dcon network for example)

Hope this helps.

 Respond  
FLCL commented on a Page, Auto Voicer  -  Oct 25, 2007

This snippet, no offense to the author all though there will probably be some taken, isn\'t worth an 8.0. But it can deserve more if you make a few changes: One, why not set this to all chans? Or have specific channels added to the variable. This can be done through token identifiers. Two, you don\'t check if you are an op. You can receive an error. This can be done by either adding if ($me isop $chan) of an @ to the user levels in the on *:TEXT. Three, one thing you will hear is people saying remove the /\'s. The /\'s before commands aren\'t needed and tend to be removed. So I would remove them.

You could even take this snippet a bit further by adding a prohibited list or something of the sort. Just try to find a way to make this snippet unique.

 Respond  
FLCL commented on a Page, /pnick  -  Oct 25, 2007

Thanks Scakk, much appreciated. :P

 Respond  
FLCL commented on a Page, /pnick  -  Oct 25, 2007

Done.

 Respond  
FLCL commented on a Page, /pnick  -  Oct 25, 2007

Should work now.

 Respond  
FLCL commented on a Page, /pnick  -  Oct 25, 2007

Didn\'t recognize that. I\'ll fix that right now Scakk, thanks for pointing that out.

 Respond  
FLCL created a Page  -  Oct 25, 2007
526 

Returns the nicks in the channel with their modes in character format. /pnick (#channel)

FLCL created a Page  -  Oct 25, 2007
106 

$acon returns a basic $scon for all networks you are connected to. You can either specify a property ($acon(property)). The idea was developed from xDaeMoN's $sc snippet, instead of returning a single network, I just remade the snippet completely and made it grab data from all networks.

FLCL commented on a Page, Custom aliases I use  -  Oct 25, 2007

Wouldn\'t $remove($1-,etc) do the same thing as $truedeltok? Also, you are lacking much error checking here.

 Respond  
FLCL created a Page  -  Oct 25, 2007
184 

Snippet that returns the last opped user and how many minutes ago the user was opped. /lastopped (chan)

 Respond   mIRC  
FLCL commented on a Page, Regex Caps kicker  -  Oct 24, 2007

Comments? Feedback?

 Respond  
FLCL created a Page  -  Oct 24, 2007
931 

Code that kicks a user with more than 65 percent caps and ten characters.

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.