Help With a script PLZ!!!
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Help With a script PLZ!!!

Started by Psy-[A], 06 February, 2004, 19:07:51

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Psy-[A]

Well first of all i'm new here so
What'zzzzzz  PPL

i did a script that write in to txt file and i don't know what is the command that can del a line in the txt
well i want it to del the first line in the txt not the last one

if someone will tell me what is the command i will be greatfull

well that is what i need i hope u can all help me and 10x anyway
 ;)


for example

the txt going like this

------------------------------------
hey ppl what's up
blablabl;a
bla bla bla bla
bababababa
babababba
-------------------------------------
and after the command it will go like this
------------------------------------
blablabl;a
bla bla bla bla
bababababa
babababba
-------------------------------------

sorry for the english and thanks again

Psy-[A]

#1
anybady here?
 ?(   ?(   ?(   ?(

NightLitch

you will be needing to add the lines into a table and then delete first param(index) in table.
//NL

Psy-[A]

can u write me the lines that i need to write in to the script and then i will do it my own?

the basic thing that i need is the lins that will put the txt in to the index that u told me
10x mate

plop

QuoteOriginally posted by Psy-[A]
can u write me the lines that i need to write in to the script and then i will do it my own?

the basic thing that i need is the lins that will put the txt in to the index that u told me
10x mate
take a look @ freshstuff 3.x for some hints.
specialy 3.3 makes it really easy 2 delete things.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Psy-[A]

10x alot
this script was helpfull for me
but there is one thing that i didn't get

if i write a line and it's going like this

| date        | rate   | size     | name
|                |           |            |
| 12.02.04 |   6.5   |  15MB  |  bla1.zip
| 12.02.04 |   6.5   |  15MB  |  bla2.zip
| 12.02.04 |   6.5   |  15MB  |  bla3.zip
| 12.02.04 |   6.5   |  15MB  |  bla4.zip

and then i'm tellin the bot to delete this line

+delalbum | 12.02.04 |   6.5   |  15MB  |  bla3.zip

then it will delete all the file
WHY?
what can i do that will search in the line and not by the first leter?

SMF spam blocked by CleanTalk