egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The First Eggdrop TCL LameNickometer! Hooplah!
Goto page 1, 2  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Fri Sep 01, 2006 9:43 pm    Post subject: The First Eggdrop TCL LameNickometer! Hooplah! Reply with quote

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! Razz

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 Smile
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Sep 03, 2006 2:44 am    Post subject: Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Sep 03, 2006 4:11 am    Post subject: Reply with quote

I couldn't resist. Smile
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Sun Sep 03, 2006 4:21 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Sep 03, 2006 1:10 pm    Post subject: Reply with quote

demond wrote:
could you add also LameChanometer?

What would it do?
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sun Sep 03, 2006 1:40 pm    Post subject: v05 Reply with quote

Some more updates and reorganizing.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Sep 03, 2006 7:39 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Mon Sep 04, 2006 1:06 am    Post subject: Reply with quote

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 Smile
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon Sep 04, 2006 11:25 am    Post subject: Reply with quote

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 Smile
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Wed Sep 06, 2006 2:21 pm    Post subject: v06 Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Sep 08, 2006 9:02 am    Post subject: Reply with quote

Like the script BUT I have discovered the channel variables are case sensitive (which is a pain); lower case would make life easier. Smile
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Fri Sep 08, 2006 3:32 pm    Post subject: v07 hot off the griddle Reply with quote

You got it. Smile

# Sep.08.06 - Added case-insensitive channelname handling.
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Sep 08, 2006 9:50 pm    Post subject: Re: v07 hot off the griddle Reply with quote

rosc2112 wrote:
You got it. Smile

# Sep.08.06 - Added case-insensitive channelname handling.

Danke. Very much appreciated; working purrrrfectly. Smile

@ demond: My apologies for misreading your post. Very Happy
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Justdabomb2
Voice


Joined: 29 Sep 2006
Posts: 37
Location: United States of America

PostPosted: Sat Oct 14, 2006 2:40 pm    Post subject: Reply with quote

No offense rosc, but how come you space it so weird, with tabs?
_________________
Yeah!
Back to top
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sat Oct 14, 2006 4:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber