This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

The First Eggdrop TCL LameNickometer! Hooplah!

Support & discussion of released scripts, and announcements of new releases.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

The First Eggdrop TCL LameNickometer! Hooplah!

Post by rosc2112 »

You've seen it in Perl, you've dreamed about having one for your eggie, you've been waiting for it, now here it is! :P

A LameNickometer in TCL! Impress your friends, insult your k-l4m3 enemies! Includes multi-channel support, public command and optional on-join trigger.

http://members.dandy.net/~fbn/lamenick.tcl.txt

Uploaded to archive as well.

Enjoy :)
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Sep.01.06 - Removed the "> 25%" check from onjoin trigger.
- Simplified the lamenickchar regex.
- Changed color codes in output cos some clients apparently think the percent numbers are color codes.

Sep.03.06 - No longer penalizing uppercase letter if it's the first letter in $lamenick
- Added "special cases" handling for extra lameness..
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

I couldn't resist. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

could you add also LameChanometer?
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

demond wrote:could you add also LameChanometer?
What would it do?
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

v05

Post by rosc2112 »

Some more updates and reorganizing.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

rosc2112 wrote:
demond wrote:could you add also LameChanometer?
What would it do?
It's called 'sarcasm'.
Satire; irony; ridicule; taunt; gibe
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

Alchera wrote:
rosc2112 wrote:
demond wrote:could you add also LameChanometer?
What would it do?
It's called 'sarcasm'.
Satire; irony; ridicule; taunt; gibe
no no, I was serious

suppose your channel chatter consists mainly of one- or two-word phrases, idiotic remarks, too much emoticons, excessive amounts of caps, colors, repeats, you name it - as opposed to another style of chatter implying greater intelligence of those generating it - that is where your LameChanometer kicks in - well, not literally :)
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use

Code: Select all

 tag when posting logs, code
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Ah so basically a lame-chanuser script. Sounds kinda complicated, at least for me. The PISG script does something similar tho, so it might be useful as a guide, like the perl lamenick-o-meter which is what I used (more or less) for this tcl.

I'm thinking it would have to keep score in real-time, and do averages based on the totals of *all* users currently in chan, or at least in memory. I'll have to think on it a while, and see if I can decipher the regex parsing in PISG to handle things like repeat-chars, shouting(capslock) and so on. I'm not at all familiar with perl, but I have reference books to decipher things.

Anyway, I'll think on it a while, and put it in my todo list, and maybe someday I'll have something :)
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

v06

Post by rosc2112 »

Another bit of updating:

# Sep.05.06 - Added special exemptions regex's for "AFK" and "2112" (unless they're also in the "special cases")
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Like the script BUT I have discovered the channel variables are case sensitive (which is a pain); lower case would make life easier. :)
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

v07 hot off the griddle

Post by rosc2112 »

You got it. :)

# Sep.08.06 - Added case-insensitive channelname handling.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Re: v07 hot off the griddle

Post by Alchera »

rosc2112 wrote:You got it. :)

# Sep.08.06 - Added case-insensitive channelname handling.
Danke. Very much appreciated; working purrrrfectly. :)

@ demond: My apologies for misreading your post. :D
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
J
Justdabomb2
Voice
Posts: 37
Joined: Fri Sep 29, 2006 7:16 pm
Location: United States of America

Post by Justdabomb2 »

No offense rosc, but how come you space it so weird, with tabs?
Yeah!
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Space what so weird? The script itself? or the output? Tabulating code makes it easier to read and see where subfunctions/tests start/end. It's a good habit to get used to and good coding style.
Post Reply