zDCC - DCC Get Announcer

By knoeki on Jan 13, 2010

Nothing special really, just a little script to announce stuff you're getting through DCC.

Usage: /zdcc

where N is the number of the DCC get you want to show.

Maybe at one point I'll expand this.

;; zDCC v1.0, (C) Knoeki 2010. All rights and/or wrongs reserved.

alias zdcc {
    if ($1 <= $get(0)) {
        var %n $1
        say DCC Get $+(#,%n,) :: $+(#,$get(%n).file,) $+($chr(40),,$bytes($get(%n).size).suf,$chr(41),) :: Nick: $+(,$get(%n),) :: $+(,$round($calc($get(%n).cps / 1000), 2),,kB/s) :: $+($chr(40),,$get(%n).pc,$(%),,$chr(41))
    }
    elseif ($1 == $null) {
        echo -a You must specify a DCC get number.
    }
    else {
        echo -a Number out of range, please specify a number below $calc($get(0) + 1)
    }
}

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.