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 

whois from mirc into eggdrop

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
l.kleijn
Voice


Joined: 18 May 2014
Posts: 33

PostPosted: Fri Jun 10, 2022 8:23 am    Post subject: whois from mirc into eggdrop Reply with quote

Quote:
proc pub:whois {nick host hand chan arg} {
global botnick opchan
set unick [lindex $arg 0]
whois1 from keyword
}
bind raw - 319 server:whois1

proc whois1 {from keyword arg} {
global botnick opchan
putserv "PRIVMSG $opchan :\002WHOIS\002: $arg"
}


How can i fix this after i do .whois Leon
that an eggdrop show the whois of mIRC
Back to top
View user's profile Send private message
SpiKe^^
Owner


Joined: 12 May 2006
Posts: 781
Location: Tennessee, USA

PostPosted: Fri Jun 10, 2022 9:14 am    Post subject: Reply with quote

Maybe you could explain better what you are after...
_________________
SpiKe^^

Get BogusTrivia 2.06.4.7 at www.mytclscripts.com
or visit the New Tcl Acrhive at www.tclarchive.org
.
Back to top
View user's profile Send private message Visit poster's website
l.kleijn
Voice


Joined: 18 May 2014
Posts: 33

PostPosted: Fri Jun 10, 2022 10:36 am    Post subject: Reply with quote

I want a whois same as mIRC but then on an eggdrop.
Back to top
View user's profile Send private message
CrazyCat
Owner


Joined: 13 Jan 2002
Posts: 986
Location: France

PostPosted: Sun Jun 12, 2022 5:47 pm    Post subject: Reply with quote

Do you mean you want to do !whois <nick> in chan and the eggdrop returns you a notice (or pm) giving you the whois response ?

If yes, this is dumb. Why use an eggdrop as relay for a basic command, doing a /whois directly is better than doing !whois with all the complexities needed in the script.
If no, I don't understand what you're waiting for.
_________________
https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help 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