Old 12-24-2004, 03:52 PM   #1
OrpHis
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, 03:56 PM   #2
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
Default

being lazy are we

[%M%D %15user] %text
WarC is offline   Reply With Quote
Old 12-24-2004, 04:04 PM   #3
OrpHis
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, 04:53 PM   #4
WarC
Senior Member
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 426
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, 04:40 AM   #5
thunk
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

Tags
230-, onel, show, [r], ]---------

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 10:01 PM.

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