elspoke.tcl - Easy LastSpoke.

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
username
Op
Posts: 196
Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:

elspoke.tcl - Easy LastSpoke.

Post by username »

Hello.
This is lastspoke script. You can excemp some nick from output, and create output only for one nick.
Example:
# 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/
User avatar
spithash
Master
Posts: 248
Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:

Post by spithash »

Briliant!

If you only could translate the notices in english for us to use, it would be awesome ;)
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
F
Football
Master
Posts: 205
Joined: Fri Dec 26, 2008 3:08 pm
Location: Quakenet, #Football

Post by Football »

I join that request please..
Idling at #Football, Quakenet.
User avatar
username
Op
Posts: 196
Joined: Thu Oct 06, 2005 9:20 am
Location: Russian Federation, Podolsk
Contact:

Post by username »

Code: Select all

    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/
Post Reply