| View previous topic :: View next topic |
| Author |
Message |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Fri Sep 01, 2006 9:43 pm Post subject: The First Eggdrop TCL LameNickometer! Hooplah! |
|
|
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!
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  |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sun Sep 03, 2006 2:44 am Post subject: |
|
|
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.. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Sep 03, 2006 4:11 am Post subject: |
|
|
I couldn't resist.  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Sun Sep 03, 2006 4:21 am Post subject: |
|
|
could you add also LameChanometer? _________________ connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sun Sep 03, 2006 1:10 pm Post subject: |
|
|
| demond wrote: | | could you add also LameChanometer? |
What would it do? |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sun Sep 03, 2006 1:40 pm Post subject: v05 |
|
|
| Some more updates and reorganizing. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Sep 03, 2006 7:39 pm Post subject: |
|
|
| rosc2112 wrote: | | demond wrote: | | could you add also LameChanometer? |
What would it do? |
It's called 'sarcasm'.
| Quote: | | Satire; irony; ridicule; taunt; gibe |
_________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Mon Sep 04, 2006 1:06 am Post subject: |
|
|
| Alchera wrote: | | rosc2112 wrote: | | demond wrote: | | could you add also LameChanometer? |
What would it do? |
It's called 'sarcasm'.
| Quote: | | 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] tag when posting logs, code |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Mon Sep 04, 2006 11:25 am Post subject: |
|
|
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  |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Wed Sep 06, 2006 2:21 pm Post subject: v06 |
|
|
Another bit of updating:
# Sep.05.06 - Added special exemptions regex's for "AFK" and "2112" (unless they're also in the "special cases") |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Sep 08, 2006 9:02 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Fri Sep 08, 2006 3:32 pm Post subject: v07 hot off the griddle |
|
|
You got it.
# Sep.08.06 - Added case-insensitive channelname handling. |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Fri Sep 08, 2006 9:50 pm Post subject: Re: v07 hot off the griddle |
|
|
| 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.  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Justdabomb2 Voice
Joined: 29 Sep 2006 Posts: 37 Location: United States of America
|
Posted: Sat Oct 14, 2006 2:40 pm Post subject: |
|
|
No offense rosc, but how come you space it so weird, with tabs? _________________ Yeah! |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sat Oct 14, 2006 4:59 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
|