Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > Scripting > WarC's scripts

WarC's scripts ioA, Warchive, ZR-Tools

Reply
 
Thread Tools Rate Thread
Old 12-24-2004, 02:52 PM   #1
Banned
 
Join Date: Dec 2004
Posts: 12
Default Oneline Q...

Hey

my q is about site onel

the format of onel is:
Oneline_Format = " %M%D %user | %text"

how can I do that it will show onel msg like that:
Code:
[R] 230- -----------------------------------------------[ <msg>  ]---------
[R] 230- [<date> <user>] <msg>            
[R] 230- [<date> <user>] <msg>                                       
[R] 230- [<date> <user>] <msg>                                             
[R] 230- [<date> <user>] <msg>                                               
[R] 230- [<date> <user>] <msg>                                              
[R] 230- [<date> <user>] <msg>                                           
[R] 230- [<date> <user>] <msg>                                   
[R] 230- -----------------------------------------------------------[ <msg>  ]---------
[R] 230- -[ <msg>  ]-
Thanks all
OrpHis is offline   Reply With Quote
Old 12-24-2004, 02:56 PM   #2
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 427
Default

being lazy are we

[%M%D %15user] %text
WarC is offline   Reply With Quote
Old 12-24-2004, 03:04 PM   #3
Banned
 
Join Date: Dec 2004
Posts: 12
Default

Hey

I did:
Code:
Oneline_Format			= "-----------------------------------------------[ <msg> ]---------\n [%M%D %8user] | %text\n -----------------------------------------------------------[ /ONELiNER ]---------\n -[ <msg> ]-"
and it did:

Code:
[R] 230------------------------------------------------[ <msg> ]---------
[R] 230- [1224 <user>] | test
[R] 230- -----------------------------------------------------------[ /ONELiNER ]---------
[R] 230- -[ <msg> ]-
[R] 230------------------------------------------------[ <msg> ]---------
[R] 230- [1224 <user>] | test1
[R] 230- -----------------------------------------------------------[ /ONELiNER ]---------
[R] 230- -[ <msg> ]-
[R] 230------------------------------------------------[ <msg> ]---------
[R] 230- [1224 <user>] | test2
[R] 230- -----------------------------------------------------------[ /ONELiNER ]---------
[R] 230- -[ <msg> ]-


why is that ? where I did mistake
OrpHis is offline   Reply With Quote
Old 12-25-2004, 03:53 PM   #4
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 427
Default

you added the header and footer to the format. Format is ONLY the textline not header and footer
WarC is offline   Reply With Quote
Old 12-27-2004, 03:40 AM   #5
Member
 
Join Date: Oct 2004
Posts: 37
Default

Oneline_Header = "-----------------------------------------------[ <msg> ]---------"
Oneline_Footer = "-----------------------------------------------------------[ /ONELiNER ]---------"
Oneline_Format = "[%M%D %15user] %text"


try that..
thunk is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 11:22 PM.