Go Back   FlashFXP Forums > > > >

! Other Scripts Support Support for all other scripts...

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-15-2005, 07:07 AM   #1
Ar3s
Member
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 36
Default CTS : blowfish command |here|

hi,
only modified cts-main.tcl

ADD THOSE LINES :
Code:
# 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
}
Ar3s is offline   Reply With Quote
Old 02-16-2005, 07:25 AM   #2
Ar3s
Member
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 36
Default

26 views -- 0 replys

thanks


Ar3s is offline   Reply With Quote
Old 02-17-2005, 04:04 PM   #3
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

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

And there's a much easier solution available that does it for all scripts...
Quote:
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
wooolF[RM] is offline   Reply With Quote
Old 02-18-2005, 07:05 AM   #4
Ar3s
Member
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 36
Default

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
Ar3s is offline   Reply With Quote
Old 02-18-2005, 11:02 AM   #5
wooolF[RM]
Senior Member
ioFTPD Foundation User
 
Join Date: Oct 2003
Posts: 411
Default

Quote:
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
wooolF[RM] is offline   Reply With Quote
Old 02-18-2005, 02:47 PM   #6
tuff
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 277
Default

Post in english, or use the international forums to post in gibberish
__________________
#iotools #ioftpd (both on efnet)
tuff is offline   Reply With Quote
Old 01-25-2006, 12:27 PM   #7
ko0ky
Junior Member
ioFTPD Foundation User
 
Join Date: Nov 2003
Posts: 28
Default

Thanks Ar3S I found it very useful!

Quote:
Originally Posted by Ar3s
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
ko0ky is offline   Reply With Quote
Reply

Tags
$chan, $darg, $dcmd, $hand, $uhost

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:23 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)