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 does "bind need" works ?

Old posts that have not been replied to for several years.
Locked
N
NeO

Post by NeO »

can someone give me a example of a bind need section ?
I tried :
-------------------------------------------
bind need - op NeO_need_op
proc NeO_need_op {channel type} {
putserv "PRIVMSG $channel :I need op !!"
}
-------------------------------------------
and it doesn't work...
Can you tell me why and what to do to make it works ?
thanks
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

read tcl-command.doc

The example gives "% op" no just plain op.

Guppy, may I ask why it is like this.
g
guppy
eggdrop engineer
Posts: 199
Joined: Mon Sep 24, 2001 8:00 pm
Location: Canada
Contact:

Post by guppy »

its guppy first of all -- I'm case sensitive and its because there is a channel name that can be matched against.

bind need - "% op" someproc
- works for any channel

bind need - "#eggdrop op" someproc
- works only for #eggdrop
E
Elendur

Post by Elendur »

I've got a problem: the "need" bind is only available in version 1.6.x... now how can I "emulate" it ? Is there something better than a periodic timer ?
P
Petersen
Owner
Posts: 685
Joined: Thu Sep 27, 2001 8:00 pm
Location: Blackpool, UK

Post by Petersen »

chanset $chan need-op {commands}

(which someone apparently broke in 1.6.9)
E
Elendur

Post by Elendur »

Thank you!
Locked