This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

how to return user@host from DCC

Old posts that have not been replied to for several years.
Locked
User avatar
Dedan
Master
Posts: 260
Joined: Wed Jul 09, 2003 10:50 pm
Location: Memphis

how to return user@host from DCC

Post by Dedan »

are "getchanhost" and "dcclist ?type?" the only ways
to return user@host from DCC chat connection???

Code: Select all

bind dcc -|- +b Add:DCC

proc Add:DCC {handle idx text} {

  # i want user@host of nick

}
I once was an intelligent young man, now i am old and i can not remember who i was.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

no

[dcclist ?type?] is the only way
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

Code: Select all

proc getidxhost {idx} {
 foreach u [dcclist chat] {
  if {[lindex $u 0]==$idx} {
    return "[lindex $u 2]"
  }
 }
 return 0
}
Locked