PtokaX forum

Archive => Archived 4.0 boards => Help with Lua 4 scripts => Topic started by: aL1en on 13 March, 2004, 20:53:04

Title: HOWTO Make Perfect Spacement?
Post by: aL1en on 13 March, 2004, 20:53:04
i dunno if the word is that "spacement".. i meant Tabulation..

ex:
else
News(" "..timedate.." \t "..desc.." \t "..release.." \t "..user.sName.." \t ")
SendToAll(sBot, "New "..display3.." added by "..user.sName..". Type +rls in mainchat to see new releases.")
end
end

then when it shows up with the command +rls .. the Date / Desc / Rls / Name are not following a Tabulation Column if the words typed arent same..

ex:

03/13/04 16:35:19 Psychedelic VA-The_Bright_Side_Of_Hypnotic_World_Of_Goa-2004-DELTA aL1en
03/13/04 16:35:19 GOA X-Dream-Live_On_102FM_11-03-2004-1REAL aL1en

sorry if im a complete n00b  :baby:

i want know what command i should add together with /t between the "..xx.." to make them a perfect column..


thnx alot.. :)
if ppl cant understand the point pls post and i try explain better.. if need a bigger part of the code/script ill paste in here also..
Title:
Post by: [NL]Pur on 14 March, 2004, 11:49:33
You posted in the wrong section,

The Howto section is for ppl who know howto solve a problem and what too explain it to other forum users.

i moved this thread too help with scripts.


Greets,
Pur
Title:
Post by: aL1en on 14 March, 2004, 12:31:40
omg.. thanx Pur... my bad..
i thought it had vanished..

hope here it will get help  :]
Title:
Post by: aL1en on 14 March, 2004, 12:36:52
This is how the Release.txt goes:

03/13/04 16:35:19 Psychedelic VA-The_Bright_Side_Of_Hypnotic_World_Of_Goa-2004-DELTA aL1en
03/13/04 16:35:19 GOA X-Dream-Live_On_102FM_11-03-2004-1REAL aL1en

and this is how i would love to see:

03/13/04 16:35:19 Psychedelic VA-The_Bright_Side_Of_Hypnotic_World_Of_Goa-2004-DELTA aL1en
03/13/04 16:35:19 GOA X-Dream-Live_On_102FM_11-03-2004-1REAL aL1en

anyone?
Title:
Post by: c h i l l a on 14 March, 2004, 13:02:56
only possible if you get all your users to use courier new, and similiar fonts
Title:
Post by: aL1en on 14 March, 2004, 13:30:10
QuoteOriginally posted by c h i l l a
only possible if you get all your users to use courier new, and similiar fonts

MS Sans Sherif wont work at all?

im working on the Optimus Release_bot , trying to improve it a little bit.. i was in really need of get this columns tabulated.. but i guess cant change all users fonts.. :\


P.S: chilla , u know how i take off the Hours from the ..timedate..  ??  kinda want only the mm/dd/yy added to the release.txt ..  thnx for posting.
Title:
Post by: NightLitch on 14 March, 2004, 13:55:50
Here look in this thread here almost all of the font will be in a fine formated line.

LINK (http://board.univ-angers.fr/thread.php?threadid=1429&boardid=4&styleid=1&sid=1f26578f06b3ab7e8294907e6eac0bad)
Title:
Post by: aL1en on 14 March, 2004, 16:28:45
QuoteOriginally posted by NightLitch
Here look in this thread here almost all of the font will be in a fine formated line.

LINK (http://board.univ-angers.fr/thread.php?threadid=1429&boardid=4&styleid=1&sid=1f26578f06b3ab7e8294907e6eac0bad)

check pm please..

thnx..




Anyone can help me take off the Hour Info from the ..timedate.. ??

its a release-bot with robocop..

it comes: mm/dd/yyyy hh:mm:ss

id like cut off the hour.. let only date..

thnx