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 

elspoke.tcl - Easy LastSpoke.

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Thu Dec 27, 2012 3:34 pm    Post subject: elspoke.tcl - Easy LastSpoke. Reply with quote

Hello.
This is lastspoke script. You can excemp some nick from output, and create output only for one nick.
Example:
Quote:
# Show full output.
[23:08:22] <@tvrsh> !last
[23:08:22] <+bionic> [23:05:52] <tvrsh> np Assemblage 23 - Document (Schreibgeschutzt Remix) (MP3@192kbps, 6.62mb)
[23:08:22] <+bionic> [23:05:53] <Info> [video] Assemblage 23 - Document (lyrics) (05:13) @ http://youtu.be/ktBmwP8KfXc
[23:08:23] <+bionic> [23:05:56] <tvrsh> asdf
[23:08:23] <+bionic> [23:05:59] <tvrsh> man
[23:08:23] <+bionic> [23:05:59] <lamestbot> * synonims.tcl = Словарь синонимов деловой лексики. Выдает в канал синонимы указанного слова: http://forum.egghelp.ru/post1518.html#p1518 [tvrsh]

# The chosen nick only.
[23:08:33] <@tvrsh> !last +tvrsh
[23:08:33] <+bionic> [23:05:52] <tvrsh> np Assemblage 23 - Document (Schreibgeschutzt Remix) (MP3@192kbps, 6.62mb)
[23:08:33] <+bionic> [23:05:56] <tvrsh> asdf
[23:08:33] <+bionic> [23:05:59] <tvrsh> man

# Everyone except chosen nick.
[23:25:39] <@tvrsh> !last -tvrsh
[23:25:39] <+bionic> [23:05:53] <Info> [video] Assemblage 23 - Document (lyrics) (05:13) @ http://youtu.be/ktBmwP8KfXc
[23:25:39] <+bionic> [23:05:59] <lamestbot> * synonims.tcl = Словарь синонимов деловой лексики. Выдает в канал синонимы указанного слова: http://forum.egghelp.ru/post1518.html#p1518 [tvrsh]

All information keeps in memory, and it clears after .rehash.

Download it here: elspoke.tcl
_________________
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
spithash
Master


Joined: 12 Jul 2007
Posts: 248
Location: Libera

PostPosted: Thu Dec 27, 2012 5:51 pm    Post subject: Reply with quote

Briliant!

If you only could translate the notices in english for us to use, it would be awesome Wink
_________________
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
Football
Master


Joined: 26 Dec 2008
Posts: 205
Location: Quakenet, #Football

PostPosted: Sat Dec 29, 2012 2:37 pm    Post subject: Reply with quote

I join that request please..
_________________
Idling at #Football, Quakenet.
Back to top
View user's profile Send private message
username
Op


Joined: 06 Oct 2005
Posts: 196
Location: Russian Federation, Podolsk

PostPosted: Sun Dec 30, 2012 10:59 am    Post subject: Reply with quote

Code:
    if {[info exists elspoke(lasttime,$chan)] && [expr $elspoke(lasttime,$chan) + $elspoke(delay)] > [clock seconds]} {
        putserv "NOTICE $nick :$elspoke(color1)You can use one request in $elspoke(color2)$elspoke(delay) $elspoke(color1)[lindex {. second seconds seconds} [::elspoke::elspoke_numgrp $elspoke(delay)]]."
        putserv "NOTICE $nick :$elspoke(color1)Wait $elspoke(color3)[expr $elspoke(delay) - [expr [clock seconds] - $elspoke(lasttime,$chan)]] $elspoke(color1)[lindex {. second seconds seconds} [::elspoke::elspoke_numgrp [expr $elspoke(delay) - [expr [clock seconds] - $elspoke(lasttime,$chan)]]]] and try again."
        return 0
    }

_________________
Архив TCL скриптов для ботов Eggdrop/Windrop:
http://egghelp.ru/
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
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