View Single Post
Old 11-19-2003, 12:15 AM  
cez
Junior Member
 
Join Date: Jan 2003
Posts: 29
Default Transfer thingy - IRC credittransfer ioFTPD&glFTPD

OK my first public script =)

Transfers credits between multiple sites both, ioFTPD & glFTPD. It works from irc, users has to have same login on both sites, and transfer from leech is not accepted. Command is like this:

!transfer login from to amount

Since it's my first script I wouldn't be suprised if some bugs exists so please try out and report =)

Requirments for IOFTPD is ioa installed since it need give&take commands. Of course for both the bot need permisson to login and execute give, take and user/uinfo commands.

You'll need ftp.tcl and log.tcl, just load em up in windrop/eggdrop before the script. Like this:

source scripts/log.tcl
source scripts/ftp.tcl
source scripts/transfer-thingy.tcl

Hmm think thats all for now

edit:: it creates a debug.log in bot directory.
edit2:: iobanana also uses ftp.tcl & log.tcl you only need to load em once
edit3:: it won't like if you have messed with the uinfo.msg file

:: 06:15am 19/11 version 0.1
:: 12:25pm 19/11 0.1b forget one small debuglog detail
:: 02:01am 20/11 version 0.2 small bug fix
:: 23/11 v0.3 Another few bugs swept away
:: 21/12 v0.4 Works with ioA 1.04
:: 30/12 v0.5 1 bug less (thx rage2001), better error messages
cez is offline   Reply With Quote