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.
Old posts that have not been replied to for several years.
T
Tzvika-Pick
Post
by Tzvika-Pick » Wed May 26, 2004 11:07 am
Hello,
I am try to set my new eggdrop to give me a privte msg when it needs ops.
I gave this command on the partyline:
.chanset #????? need-op { PUTSERV "PRIVMSG Tzvika-Pick :Test!" }
But after a few seconds, I get this error on the partyline:
invalid command name " PUTSERV "PRIVMSG Tzvika-Pick :Test!" "
I'm lost! What's wrong? If there any newbies FAQ for this?
KrzychuG
Master
Posts: 306 Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:
Post
by KrzychuG » Wed May 26, 2004 12:51 pm
Just use putserv . Tcl is case-sensitive.
T
Tzvika-Pick
Post
by Tzvika-Pick » Fri May 28, 2004 7:24 am
Hmm.. still doesn't work...
.chanset #???? need-op { putserv "PRIVMSG Tzvika-Pick :Test!"}
Successfully set modes { need-op { { putserv "PRIVMSG Tzvika-Pick :Test!"} } } on #????.
#Tzvika-Pi# chanset #???? need-op { { putserv "PRIVMSG Tzvika-Pick :Test!"} }
Tcl error in script for 'need-op':
invalid command name " putserv "PRIVMSG Tzvika-Pick :Test!""
Any other ideas?
]Kami[
Owner
Posts: 590 Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:
Post
by ]Kami[ » Fri May 28, 2004 8:25 am
Try:
.chanset #????? need-op putserv "PRIVMSG Tzvika-Pick :Test!"
And aswell, look this:
.chanset #???? need-op { putserv "PRIVMSG Tzvika-Pick :Test!"}
Successfully set modes { need-op { { putserv "PRIVMSG Tzvika-Pick :Test!"} } } on #????.
After Test!" there is }.You need to put one space free.
T
Tzvika-Pick
Post
by Tzvika-Pick » Fri May 28, 2004 12:23 pm
Allright! It worked just great!
Thanks alot!
One more question, if that's allright..
I want the eggdrop to check if the user Tzvika-Pick is online, before sending the PRIVMSG. How can it be done?
KrzychuG
Master
Posts: 306 Joined: Sat Aug 16, 2003 2:51 pm
Location: Torun, Poland
Contact:
Post
by KrzychuG » Fri May 28, 2004 12:45 pm
Thats my only idea:
onchan <nickname> [channel]
Returns: 1 if someone by that nickname is on the specified channel (or
any channel if none is specified); 0 otherwise
Module: irc
T
Tzvika-Pick
Post
by Tzvika-Pick » Sun Jun 13, 2004 1:52 pm
Well, excuse my funny newbies questions, but I have one more question...
I am trying to make the bot send two msgs to two diffrent nicks. How do I put both need-op commands for the same channel??
Is there any kind of manual for me to read?
dollar
Op
Posts: 178 Joined: Tue Oct 28, 2003 3:47 pm
Location: Netherlands
Post
by dollar » Sun Jun 13, 2004 2:24 pm
]Kami[ wrote: Try:
.chanset #????? need-op putserv "PRIVMSG Tzvika-Pick :Test!"
And aswell, look this:
.chanset #???? need-op { putserv "PRIVMSG Tzvika-Pick :Test!"}
Successfully set modes { need-op { { putserv "PRIVMSG Tzvika-Pick :Test!"} } } on #????.
After Test!" there is }.You need to put one space free.
Eh? You need not use {}'s at all... ""s are fine...
dollar (or something similar) at:
#eggdrop / #tcl - undernet
#egghelp / #tcl / #eggtcl - efnet
#eggdrop.support / #tcl - quakenet
#eggdrop - ircnet
T
Tzvika-Pick
Post
by Tzvika-Pick » Tue Jun 15, 2004 2:25 pm
Yeah, I know that already
Any idea about my other questions? How do I make the egg send 2 msgs and where can I find some reading stuff about this?