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.

Eggdrop.cfg need-key Problem !

Old posts that have not been replied to for several years.
Locked
R
Recoilmaster
Voice
Posts: 12
Joined: Tue Mar 11, 2003 1:22 pm

Eggdrop.cfg need-key Problem !

Post by Recoilmaster »

Hi !

This is in the Eggdrop.cfg

need-key { putserv "PRIVMSG Q :clearchan #timelessmod.com"; putserv "PRIVMSG Q :unbanall #timelessmod.com"; putserv "PRIVMSG Q :deopall #timelessmod.com" }

but if i enter a key and i kick the Bot to rejoin he doesn't activate all commands some but not all.

And i get this Error

[22:04] Tcl error in script for 'need-invite':
[22:04] missing "

Can someone Help ?

Thx

Bye Keule
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

The value for this entry is length limited.

To get around this, the NEED bind was invented.

Try using this instead.

Another method is to create your own proc for this, then place the line to call it in the need-key section.
R
Recoilmaster
Voice
Posts: 12
Joined: Tue Mar 11, 2003 1:22 pm

Post by Recoilmaster »

I try csmouse script but this dont have a deopall function and i try

need-key { putserv "PRIVMSG Q :deopall #timelessmod.com" }

but same Error

Plz Help :(
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Folow ppslim's sugestion and consult the tcl-commands.doc file for the bind need. Also, a lil forum search should reveal some examples about this.
Once the game is over, the king and the pawn go back in the same box.
Locked