topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 16, 2024, 12:57 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Eggdrop Tcl script output being sent twice to channel [solved]  (Read 9209 times)

ikaroz

  • Participant
  • Joined in 2009
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
mouser solved it in #mircryption, but requested i put the solution in the forums for future reference, so here it is:

Background: I have a Tcl script which (when given a !command) fetches information from a given webpage and displays the info in the channel.

Problem: The eggdrop always displays the info twice, like an echo. This becomes very annoying after a while. ;)
Also, it works like it should if I send the !command in plaintext, however, it displays the info encrypted (in contrary to how I've configured PlainTextBlock).

Solution: Put the mircryption script last in your configuration file, like:

##### SCRIPTS #####
source scripts/alltools.tcl
source scripts/action.fix.tcl
source scripts/myownscript.tcl
source scripts/tcleggdrop_mcpsfuncs.tcl
source scripts/PlaintextBlock.tcl

Problem solved.

Thanks for the help mouser! :)

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: Eggdrop Tcl script output being sent twice to channel [solved]
« Reply #1 on: May 25, 2009, 07:54 PM »
happy to help and welcome to the site.
thanks for documenting it here for the next person  :up: