Ticket #9 (closed defect: invalid)
action_complex_shows stopped working
| Reported by: | szrof | Owned by: | james |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.1.0 |
| Component: | plugins | Version: | 0.0.9 |
| Keywords: | link url | Cc: |
Description
I have no clue why, but since I restarted my eggdrop, I can no longer get action_complex_shows to work, for some bizarre reason. I get:
Tcl error [bMotion_event_action]: invalid command name "bMotion_plugin_complex_action_shows"
I hate TCL. Could someone have a look at it? I have no time to code until Christmas, unfortunately, which makes it all the more annoying that something broke in code that was working perfectly and which I haven't touched since.
Change History
comment:2 Changed 6 years ago by szrof
Somehow, I can't seem to get eggdrop to allow .tcl, despite enabling it in the config file. More later.
comment:3 Changed 6 years ago by szrof
- Status changed from new to closed
- Resolution set to invalid
May I have a nice, big "AAAAAARGH" from everyone keeping track?
Thanks.
I found out what the problem was. The problem was that svn somehow left me with a totally defective copy of the file, which looked more like a diff than a correct file. Removing it and svn updating again solved the problem.
Sorry for any headaches caused. This will teach me not to think that svn cleanup will reliably sort all problems.
comment:4 Changed 6 years ago by Jordan
- Keywords link url added
Some links for you: http://kdrug.iitalia.com/wellbutrin/wellbutrin-xl-side-effects.html wellbutrin xl side effects. http://unhas.web.fc2.com/propecia/generic-propecia.html generic propecia. http://ibern.ibelgique.com/ibuprofen/ibuprofen-price.html ibuprofen price. http://arao.greatnow.com/tramadol/buy-cheap-tramadol-online.html buy cheap tramadol online. http://vasin.250free.com/didrex/didrex-shortage.html didrex shortage. http://veleda.web.fc2.com/xanax/buy-cheap-xanax.html buy cheap xanax. http://ellar.greatnow.com/xenical/cheap-xenical.html cheap xenical. http://ibern.ibelgique.com/carisoprodol/information-on-carisoprodol.html information on carisoprodol. http://ielia.iespana.es/valium/lowest-valium-price.html lowest valium price. http://aadi.web.fc2.com/fioricet/lowest-fioricet-price.html lowest fioricet price. http://sdrug.isuisse.com/pain-killers/alcohol-and-pain-killers.html alcohol and pain killers. http://verna.ifrance.com/ativan/ativan-use.html ativan use. http://ibern.ibelgique.com/hydrocodone/hydrocodone-information.html hydrocodone information. http://aadi.web.fc2.com/valium/online-pharmacy-valium.html online pharmacy valium. http://luxmed.ibelgique.com/carisoprodol/order-soma-carisoprodol.html order soma carisoprodol. http://ielia.iespana.es/tramadol/tramadol-hydrochloride.html tramadol hydrochloride. http://vedis.greatnow.com/diet-pill/diet-pill-sale.html diet pill sale. http://verna.ifrance.com/carisoprodol/carisoprodol-price.html carisoprodol price. http://veleda.web.fc2.com/lexapro/lexapro-alternative.html lexapro alternative. http://arao.greatnow.com/steroid/steroid-alternative.html steroid alternative. http://ielia.iespana.es/valium/ valium. http://luxmed.ibelgique.com/diazepam/order-diazepam.html order diazepam. http://ellar.greatnow.com/valium/order-valium.html order valium. http://veleda.web.fc2.com/zanaflex/medicine-zanaflex.html medicine zanaflex. http://ibern.ibelgique.com/clonazepam/buy-clonazepam-online.html buy clonazepam online. http://aadi.web.fc2.com/nexium/order-nexium.html order nexium. http://aadi.web.fc2.com/effexor/effexor-and-anxiety.html effexor and anxiety. http://vedis.greatnow.com/carisoprodol/carisoprodol-side-effects.html carisoprodol side effects. http://veleda.web.fc2.com/meridia/ meridia.

This means something's broken (syntactically) in your code, and so TCL isn't creating the function. Alas, the clever way I make bMotion ignore TCL errors so they don't kill the eggdrop means you don't notice when you load bMotion.
The way to fix this is to enable .tcl in your eggdrop config, and then do:
This will load and parse the file, and report any errors (without killing the bot). This way, you can see where your error is :)
(I'm guessing it's because your curly-brackets are not on the same line as your if/else, TCL seems to work best with {s on the same line.)