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.

Errrmm.

Old posts that have not been replied to for several years.
Locked
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Errrmm.

Post by caesar »

How to remove this to user defined channel flags after I have uloaded the tcl that used this 2:
repeat-lines: 2 repeat-time: 2

I have tryed to remove them directly from the chan file then reloaded the eggdrop and after an chaninfo #mychan they are still there and appear again in the chan file. What to do cos this drives me nuts..

And when I add another channel this 2 appears .. errmm.. damn norepeats tcl.. I hate it..
Once the game is over, the king and the pawn go back in the same box.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

You will either have to restart your bot (using .die and restart, or via .restart).

If you prefer not to lose information this way, then create a small script with the following two line in, load it up, rehash, then remove it again.

Code: Select all

deludef int repeat-lines
deludef int repeat-times
Any entries in the channel file, that do not match rither a channel flag, or user defined flag, will be discarded, without error.

A rehash of the bot, will only replace any existing stuff, with the new contents of files. This will not delete anything (unless programs are triggered too). As such, stuff like this remains, even if it isn't contained in a script.

A rehash will clear the memory, thus dicarding the flags, a .die obviously will, and the last method, is to trigger code to remove it (like above).
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Thanks, fixed the problem. :)
Once the game is over, the king and the pawn go back in the same box.
Locked