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.

Get info from a xtra DCC field?

Old posts that have not been replied to for several years.
Locked
j
jedis

Post by jedis »

Hiyas, I modified userinfo.tcl to include a MSN and ICQ field. How would I go about seeing a list of handle's and ICQ #'s dumped to DCC chat? Below is what I tried for ICQ's (it doesn't work, wrong number of args to begin with)

Code: Select all

bind dcc m icqlist icq_list

proc icq_list {handle idx args} {
  putlog "#$handle# icqlist"
  set teller 1
  if {$args == "{}"} {
    putdcc $idx "[Faze.n] Listing ICQ's for users:"
    foreach user [getuser $handle ICQ]
      putdcc $idx "$teller. $user"
      set teller [expr $teller]
    }
  putdcc $idx "[Faze.n] End of userlist. Total: [expr $teller] users."
  } else {
    putdcc $idx "þ Listing users matching your query: $args"
    foreach user [getuser $handle $args]
      putdcc $idx "$teller. $user {$args}"
      set teller [expr $teller]
    }
  putdcc $idx "[Faze.n] End of icqlist. Total: [expr $teller] users."
  }
}
And is there a TCL that will dump all user's email's to dcc chat? In a list format

Code: Select all

 jedis - bleh@sdfsdfsd.com
sidej - ghost@none.com 
And into one big wrapping line, with the email's seperated with comma's and a space, so it can easily be copied/pasted into an email?

Code: Select all

 bleh@sdfsdfsd.com, ghost@none.com 
Any help is appreciated.

<font size=-1>[ This Message was edited by: jedis on 2002-01-27 20:41 ]</font>
Locked