Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
296 views
in Technique[技术] by (71.8m points)

blowfish - Why only PUTNOW works with bind time or bind cron in eggdrop tcl?

I made a script that says "Hello World" every 10 minutes. I use bind time or bind cron. But it only works with "putnow". It does not work with puthelp or putserv. Why?

  • I can see Message 2 and Message 3 (in pm), but not Message 1

Here is the code:

bind cron - {*/5 * * * *} reminder
#bind time - "?5 * * * *" reminder

proc reminder {min hour day month year} {
    putquick "PRIVMSG #BobsChan :Hello World - Message 1"
    puts "This goes in the logs- Message 2"
    putnow "PRIVMSG funkyBob :Hello World - Message 3"
}

Update: I figured out that it has something to do with the blowfish encryption. I disabled silent mode of blowfish in tcleggdrop_mcps_sitesettings.ini and now eggdrop gives me this message every time gets triggerd: "eggdrop reply blocked since command was issued in plaintext; this bot only responds to encrypted commands". If I bind the same proc to a pub trigger, it works just fine though.

question from:https://stackoverflow.com/questions/66052013/why-only-putnow-works-with-bind-time-or-bind-cron-in-eggdrop-tcl

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...