| View previous topic :: View next topic |
| Author |
Message |
jedis Guest
|
Posted: Sun Jan 27, 2002 11:38 pm Post subject: |
|
|
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: | 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
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?
Any help is appreciated.
[ This Message was edited by: jedis on 2002-01-27 20:41 ] |
|
| Back to top |
|
 |
|
|
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
|
|