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.

Delay channel join

Old posts that have not been replied to for several years.
Locked
D
Dw2k
Voice
Posts: 16
Joined: Sat Dec 07, 2002 4:40 pm
Location: Dundee || Liverpool
Contact:

Delay channel join

Post by Dw2k »

I was wondering if its possible to delay eggdrop joining channels before performing a sethost?

Thanks :D
Dave
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

You could use the init-server or EVNT binds to perform the "sethost".

Otherwise, somthing like

Code: Select all

set delaylist [list #channela #channelb]
proc delaychan {a} {
  gobal delaylist
  foreach chan $delaylist {
    channel set $chan "${a}inactive
  }
}

utimer 1 [list delaychan +]
utimer 11 [list delaychan -]
Locked