egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[filled] blowfish test script

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
bast
Voice


Joined: 07 Oct 2006
Posts: 37

PostPosted: Fri Apr 27, 2007 6:12 pm    Post subject: [filled] blowfish test script Reply with quote

This wouldenīt be to hard to code i guess, but itīs greek to me.
So iīll ask instead.

I want a script that will answer

Test encryption worked!!

When someone types test in a chan with blowfish.
Should only answer on test.
so the user knows if he has set the correct key.


Last edited by bast on Sun Apr 29, 2007 5:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
w00f
Halfop


Joined: 04 Oct 2006
Posts: 49

PostPosted: Fri Apr 27, 2007 8:07 pm    Post subject: Reply with quote

just find out one blowcrypt.
a good blowcrypt must have an option "if key exists then encrypt and reply if key used", this means the bot will never talk in plaintext if you have any blowkey enabled to one #.

no idea how is your blowcrypt script , so enable that option if you have, and if your blowcrypt doesn't have any test function, add somethin like this to blowcrypt.tcl

Code:

bind pub - !test test

proc test { nick host hand chan arg } {
   puthelp "PRIVMSG $chan :$nick-$host-$hand-$chan-$arg - Key encryption ok"
}

Back to top
View user's profile Send private message
bast
Voice


Joined: 07 Oct 2006
Posts: 37

PostPosted: Fri Apr 27, 2007 10:21 pm    Post subject: Reply with quote

Thanks, that did the trick.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber