Go Back   FlashFXP Forums > > > >

Harm's scripts ioBanana, Readd script, ioVote

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-03-2003, 10:46 AM   #1
Razor
Member
 
Join Date: Mar 2003
Posts: 75
Default Any one can help me with a little tcl prob

I'm trying to link the irc !mkd to the mkd command on ftp.

So sitebot makes the dir

anyone can help me.. tried lotsa things but all dont work :s
Code:
bind pub - [set ioss(cmdpre)]mkd mkdsalias

proc trialssalias {nick uhost hand chan args} {

set dir [lindex $args 1]
set ee [::ftp::Quote $ioss(ftp) mkd $dir]
}

Stuff like this



used iobanana as start and went editing.. this didnt work :|
Razor is offline   Reply With Quote
Old 09-03-2003, 11:10 AM   #2
b>d>>s
Senior Member
 
Join Date: Feb 2003
Posts: 488
Default

Code:
set path "c:/site/root"
#arg passed by !mkd could then be vfs path to make
#ie. !mkd /Requests/[REQ]-some.shit
#
proc mkdir {nick uhost handle chan arg} {
global path
file mkdir -force "$path$arg"
}
bind pub -|- !mkd mkdir
putlog "mkdir loaded"
hm, actually thats local eggdrop script, sorry. . .
b>d>>s is offline   Reply With Quote
Old 09-03-2003, 12:59 PM   #3
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default Re: Any one can help me with a little tcl prob

bAd: your solution would only work if he didn't mount any other drive in his ftp root.

Quote:
Originally posted by Razor
set ee [::ftp::Quote $ioss(ftp) mkd $dir]
::ftp::Quote can't be used to do a mkd...
use ::ftp::MkDir $ioss(ftp) $dir

All the ::ftp:: commands are shown at the start of ftp.tcl
Mouton is offline   Reply With Quote
Old 09-04-2003, 10:23 AM   #4
Razor
Member
 
Join Date: Mar 2003
Posts: 75
Default

thnx will try
Razor is offline   Reply With Quote
Reply

Tags
dir, ftp, mkd, set, work

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Change credits Goose Bug Reports 3 11-26-2002 07:39 AM


All times are GMT -5. The time now is 09:15 AM.

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