| View previous topic :: View next topic |
| Author |
Message |
bast Voice
Joined: 07 Oct 2006 Posts: 37
|
Posted: Fri Apr 27, 2007 6:12 pm Post subject: [filled] blowfish test script |
|
|
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 |
|
 |
w00f Halfop
Joined: 04 Oct 2006 Posts: 49
|
Posted: Fri Apr 27, 2007 8:07 pm Post subject: |
|
|
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 |
|
 |
bast Voice
Joined: 07 Oct 2006 Posts: 37
|
Posted: Fri Apr 27, 2007 10:21 pm Post subject: |
|
|
| Thanks, that did the trick. |
|
| Back to top |
|
 |
|