PDA

View Full Version : Oneline Q...


OrpHis
12-24-2004, 03:52 PM
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:

[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 :)

WarC
12-24-2004, 03:56 PM
being lazy are we :)

[%M%D %15user] %text

OrpHis
12-24-2004, 04:04 PM
Hey

I did:

Oneline_Format = "-----------------------------------------------[ <msg> ]---------\n [%M%D %8user] | %text\n -----------------------------------------------------------[ /ONELiNER ]---------\n -[ <msg> ]-"


and it did:


[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> ]-


:p :p

why is that ? where I did mistake :D

WarC
12-25-2004, 04:53 PM
you added the header and footer to the format. Format is ONLY the textline not header and footer

thunk
12-27-2004, 04:40 AM
Oneline_Header = "-----------------------------------------------[ <msg> ]---------"
Oneline_Footer = "-----------------------------------------------------------[ /ONELiNER ]---------"
Oneline_Format = "[%M%D %15user] %text"


try that..