egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Get info from a xtra DCC field?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
jedis
Guest





PostPosted: Sun Jan 27, 2002 11:38 pm    Post subject: Reply with quote

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
Code:
 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:
 bleh@sdfsdfsd.com, ghost@none.com


Any help is appreciated.

[ This Message was edited by: jedis on 2002-01-27 20:41 ]
Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber