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.

whois from mirc into eggdrop

Help for those learning Tcl or writing their own scripts.
Post Reply
l
l.kleijn
Voice
Posts: 33
Joined: Sun May 18, 2014 10:02 am

whois from mirc into eggdrop

Post by l.kleijn »

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
User avatar
SpiKe^^
Owner
Posts: 831
Joined: Fri May 12, 2006 10:20 pm
Location: Tennessee, USA
Contact:

Post by SpiKe^^ »

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
.
l
l.kleijn
Voice
Posts: 33
Joined: Sun May 18, 2014 10:02 am

Post by l.kleijn »

I want a whois same as mIRC but then on an eggdrop.
User avatar
CrazyCat
Revered One
Posts: 1306
Joined: Sun Jan 13, 2002 8:00 pm
Location: France
Contact:

Post by CrazyCat »

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.
Post Reply