PDA

View Full Version : CTS : blowfish command |here|


Ar3s
02-15-2005, 07:07 AM
hi,
only modified cts-main.tcl

ADD THOSE LINES :

# Main CTS functions
#
#Not implemented
## dZSbot SETUP
# Do you use dZSbot ?? (NO = 0 , YES = 1)
#set newcmd(DZSBOT) 1

## BLOWFISH
# set the blowfish encrytion key (empty = no encryption)
set newcmd(KEY) ""
# set the blowfish header tag
set newcmd(HEADER) "+OK"

################################################## #######
# BLOWFISH DECRYPTION PROCEDURE #
################################################## #######
proc nd_decryptcmd {nick uhost hand chan arg} {
global newcmd
set cmdline [decrypt $newcmd(KEY) $arg]
if { [string index $cmdline 0] != "!" } { return }
set dcmd [lindex $cmdline 0]
set darg [lrange $cmdline 1 end]

if { $dcmd == "!iversion" } { cts:version $nick $uhost $hand $chan $darg }

if { $dcmd == "!ilinks" } { cts:links $nick $uhost $hand $chan $darg }

if { $dcmd == "!icredits" } { cts:credits $nick $uhost $hand $chan $darg }

if { $dcmd == "!ibnc" } { cts-misc:BNC $nick $uhost $hand $chan $darg }

if { $dcmd == "!ibw" } { cts-misc:bw $nick $uhost $hand $chan $darg }

if { $dcmd == "!itrigger" } { cts-misc:trigger $nick $uhost $hand $chan $darg }

if { $dcmd == "!isections" } { cts-misc:sections $nick $uhost $hand $chan $darg }

if { $dcmd == "!irules" } { cts-misc:rules $nick $uhost $hand $chan $darg }

if { $dcmd == "!imonthup" } { cts-quota:MonthUp $nick $uhost $hand $chan $darg }

if { $dcmd == "!imonthdn" } { cts-quota:MonthDn $nick $uhost $hand $chan $darg }

if { $dcmd == "!ipassed" } { cts-quota:passed $nick $uhost $hand $chan $darg }

if { $dcmd == "!itop10" } { cts-quota:Top10 $nick $uhost $hand $chan $darg }

if { $dcmd == "!itop40" } { cts-quota:Top40 $nick $uhost $hand $chan $darg }

if { $dcmd == "!isummary" } { cts-quota:last.month.summary $nick $uhost $hand $chan $darg }

if { $dcmd == "!ishow" } { cts-quota:filter $nick $uhost $hand $chan $darg }

if { $dcmd == "!ihelp" } { cts-misc:RTFM $nick $uhost $hand $chan $darg }

if { $dcmd == "!iophelp" } { cts-misc:ophelp $nick $uhost $hand $chan $darg }

return
}

:D

Ar3s
02-16-2005, 07:25 AM
26 views -- 0 replys

thanks


:mad:

wooolF[RM]
02-17-2005, 04:04 PM
What comments do you expect? Changing/adding 2-3 lines to the finished script is kinda easy... :rolleyes:

And there's a much easier solution (http://mircryption.sourceforge.net/Extras/tcleggdrop_mcpsfuncs.zip) available that does it for all scripts...
Want to make your existing eggdrop script be able to send and receive encrypted text? You can download tcleggdrop_mcpsfuncs.zip, a complete script which automatically makes your other eggdrop scripts mircryption compatible (able to read and speak encrypted text for mircryption and +OK blowcrypt).
http://mircryption.sourceforge.net/

No offense dude :p

Ar3s
02-18-2005, 07:05 AM
1° : What comments do you expect? Changing/adding 2-3 lines to the finished script is kinda easy...

no comment
if i post , it for is helped the others ,can imports if it is easy or not.
I know that it is easy ....



2° : And there's a much easier solution available that does it for all scripts...

sorry but i prefer my solution ,it is so much EASIER and simple

No offense dude
lol

wooolF[RM]
02-18-2005, 11:02 AM
Originally posted by Ar3s
if i post , it for is helped the others ,can imports if it is easy or not.Ehmm... what? Try in english :D

tuff
02-18-2005, 02:47 PM
Post in english, or use the international forums to post in gibberish

ko0ky
01-25-2006, 12:27 PM
Thanks Ar3S I found it very useful!

1° : What comments do you expect? Changing/adding 2-3 lines to the finished script is kinda easy...

no comment
if i post , it for is helped the others ,can imports if it is easy or not.
I know that it is easy ....



2° : And there's a much easier solution available that does it for all scripts...

sorry but i prefer my solution ,it is so much EASIER and simple

No offense dude
lol