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.

control $idx command

Old posts that have not been replied to for several years.
Locked
S
Stone

control $idx command

Post by Stone »

I need an example for control $idx :/

i have tryd

Code: Select all

bind dcc - login pl:log

proc pl:log {handle idx text} {
control $idx te:con
}

proc te:con {idx text} {
putdcc $idx "test" 
}
but we can i make to logout ?
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Once you have control over a DCC session, you can do plenty of things.

However, there are four things you can do at the end of your control proc.

1: Retain control over the session

2: Pass control over to another proc.

3: Return control back to eggdrop, at which point they are on the partyline again.

4: Use "killdcc" to kick the user off the partyline.
User avatar
strikelight
Owner
Posts: 708
Joined: Mon Oct 07, 2002 10:39 am
Contact:

Post by strikelight »

ppslim wrote:Once you have control over a DCC session, you can do plenty of things.

However, there are four things you can do at the end of your control proc.

1: Retain control over the session

2: Pass control over to another proc.

3: Return control back to eggdrop, at which point they are on the partyline again.

4: Use "killdcc" to kick the user off the partyline.
I wouldn't recommend doing #2 .. Eggdrop has problems freeing sockets that are passed beyond a single control proc... Mainly because there is no sense in having multiple controls for a single idx when all can be written within the one procedure.
S
Stone

Post by Stone »

thx :>
Locked