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.

How to use .tcl command inside partyline ??

Old posts that have not been replied to for several years.
Locked
R
Rept-Tile

How to use .tcl command inside partyline ??

Post by Rept-Tile »

Hi all. Sorry for a silly question but seems like i never used .tcl command before :) So I need a syntax of it.
Why asking:

[15:21] <Rept-Tile> .tcl putserv "MODE MyBot"
[15:21] <MyBot> Tcl:
---
[15:23] <Rept-Tile> .tcl "putserv "MODE MyBot""
[15:13] <MyBot> Tcl error: extra characters after close-quote

:) What's wrong in 1st try? Bot doesn't receive a "MODE" command reply from server. And yes of course, ".con +s" is set on.

Help me please. Thanks in advance. :)
User avatar
Turambar
Halfop
Posts: 56
Joined: Thu May 29, 2003 6:25 am

Post by Turambar »

in the first command you did forget to include a mode to set and in the second one the " berfore putserv is false

check doc/tcl-commands.doc which comes with your eggrop
R
Rept-Tile

Post by Rept-Tile »

in the first command you did forget to include a mode to set
No. You can use MODE command w/o any parameters after nick to see current mode settings for user or channel. Try it in your IRC client by any of 2 ways:
a) /mode <your_nick>
b) /quote <your_nick>

You'll get a response from server. My bot doesn't get this response. That's why I'm asking. Thanks for reply anyway.

But my question is still actual.[/quote]
R
Rept-Tile

Post by Rept-Tile »

b) /quote <your_nick>
Sorry. A meant "/quote MODE <your_nick>" of course.
User avatar
Turambar
Halfop
Posts: 56
Joined: Thu May 29, 2003 6:25 am

Post by Turambar »

hmm I know that but I thought you wanted to set a mode for the bot lol, anyway..
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

As a side note: MODE <nick> will only work if <nick> is the one sending the MODE command. You cannot see the private usermode of another user.

In any case, what makes you think the bot doesn't get the reply?
r
rolandguy
Voice
Posts: 25
Joined: Wed Aug 13, 2003 1:50 pm

Post by rolandguy »

I think what he means is, he wants to check the bots MODE using putserv "MODE botnick". here's where your problem is Rept-Tile :)
And yes of course, ".con +s" is set on.
you want .console +r ;) also need to have a "set raw-log 1" in your eggdrop.conf

roland
d
d3r3d

Post by d3r3d »

How do you enable the .tcl command?
I commented out the lines like this:

Code: Select all

# Comment these two lines if you wish to enable the .tcl and .set commands.
# If you select your owners wisely, you should be okay enabling these.
#unbind dcc n tcl *dcc:tcl
#unbind dcc n set *dcc:set
and .rehashed and .restarted killed and started again the bot but it still doesnt work.. it tells me "What? Need help?"

EDIT:
FIXED had to do the following:

Code: Select all

set must-be-owner 0
Please help me :cry:[/code]
User avatar
caesar
Mint Rubber
Posts: 3776
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

bind dcc n tcl *dcc:tcl
bind dcc n set *dcc:set
Once the game is over, the king and the pawn go back in the same box.
R
Rept-Tile

Post by Rept-Tile »

you want .console +r also need to have a "set raw-log 1" in your eggdrop.conf
Damn! Correct :) I just forgot that server replies on user's requests in raw format.
Thank you very much rolandguy! :)
(and a little remark: the parameter is "use-console-r" rather than "raw-log" - in eggdrop 1.6.10 at least.
I think what he means is, he wants to check the bots MODE using putserv "MODE botnick". here's where your problem is Rept-Tile
Absolutely right ;)

The question is closed. Cheers!
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

Rept-Tile wrote:
rolandguy wrote:you want .console +r also need to have a "set raw-log 1" in your eggdrop.conf
Damn! Correct :) I just forgot that server replies on user's requests in raw format.

The question is closed. Cheers!
Cheers indeed, eventhough I was hoping *you* would discover the answer instead of someone telling the answer straight away. :( :cry:
R
Rept-Tile

Post by Rept-Tile »

egghead
The question was: "Am I using .tcl command syntax correctly?"
Don't judge me hardly, I had became a VBP last years and just returning to IRC issues time by time.
Good luck! :)
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

Rept-Tile wrote:egghead
Don't judge me hardly...
If there was a judgement, then it was certainly not for you ;)

Now lets wait to see VB being integrated in eggdrop 1.7 :mrgreen:
R
Rept-Tile

Post by Rept-Tile »

LOL! :mrgreen:
r
rolandguy
Voice
Posts: 25
Joined: Wed Aug 13, 2003 1:50 pm

Post by rolandguy »

egghead,

some of the many nuances of eggs really are a bit obtuse for newbies to be able to follow, and the ones I know are common and not FAQ'd I like to help with ;) (esp ones that I have run across and spent too much time figuring out for myself).

for example...to this day, I cannot get my bot to see wallops. yes, it's +w and opered, but it doesn't even log walls in raw *chuckle*

roland
Locked