Comments

 (3) 
  1. Everything
  2. Snippets
KinKinnyKith commented on Perl Snippet: X-Chat: Last-FM Script (Linux + Windows)  -  May 30, 2012
Since the script is working, you can avoid the error message by adding this on line 158:

Code

 

So lines 157-159 will look like:

Code

 

..and you can optimize the foreach block's match and assignment by using a substituion in it's place:

Code

 

KinKinnyKith commented on mIRC Snippet: mIRC autobleh  -  Apr 15, 2012
Nice start to the script KindOne 8)

In my version of this feature I saved the second step of de-opping myself for quiets or bans (not followed by a kick) by adding a -o in the same line as the ban. For example, in aq:

set %command mode $chan +q-o $address($1,2) $me

Along with that change, the on RAWMODE will generate a "you are not operator" for cases where you were already de-op'd, so that can be fixed with a quick op check:

if ($me isop $chan) { mode $chan -o $me }
KinKinnyKith commented on mIRC Snippet: /BANSYNC Channel Ban Synchronization  -  Feb 04, 2012
Nice 8)

Sharing a modification that was requested to handle the case where the ban list is not populated for the source channel, and also bot trigger:

Code

 
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.