PDA

View Full Version : topless models



drEDN4wt
October 9th, 2006, 19:34
How do i list a directory AND rename files in lua in the same script.

I am trying to write a lua script that will rename all the files in a directory.

Should be easy I thought...

But while system.listdirectory works in luaplayer v1.7dk which i use, os.rename and system.rename seam to not work, and visa versa listdirectory doesnt work in v2.0 but system.rename does.

Is there a work-around or luaplayer version that will allow me to list the contents of a directory into a table and rename them??

psiko_scweek
October 11th, 2006, 01:12
why would you want to rename all of the files in a directory? sounds kinda fishy...

drEDN4wt
October 11th, 2006, 01:21
simple...
i use irshell....
and loads of mp3s in 1 directory
and irshell doesnt have shuffle / random playback
so i rename all the files with a random number prefix
but currently i have to use version 0.17 to read the directory and version 0.20 to rename the files.


Ofcourse if anyone wants to do it in c?

dagger89
October 11th, 2006, 01:30
U tricked me... I thought I'd see semi-naked chicks.... wahhhhhh

psiko_scweek
October 11th, 2006, 01:35
lol i fell for it too :(

kelvin 111
August 15th, 2007, 10:45
is't true????

Axelius
August 15th, 2007, 16:20
I thought I'd see semi-naked chicks.... wahhhhhh
Yeah, just like me... :rolleyes: Good one!

Swimkid
August 15th, 2007, 16:36
God his thread sure was a dissapointment...

wolfpack
August 15th, 2007, 17:11
*looks around... sees no topless models, cries*

NoQuarter
August 15th, 2007, 17:43
I would like to see topless model AND the answer to his question :)

F9zDark
August 16th, 2007, 20:48
No topless models = no answers. :p

Not that I have any answers anyway, since I don't know jack shit about lua...

acn010
August 16th, 2007, 21:40
i got tricked too >X[

Chameleon
August 16th, 2007, 21:58
there is a win32 lua workaround that I know, but brings up a table that im not sure works with psplua so i think your screwed buddy :(

Edit- lua is not the answer for your problem it doesnt have enough versatility, coding in C would be, but i know shit about it...

superfly
August 18th, 2007, 01:00
There is your topless model, are you happy now?

acn010
August 18th, 2007, 01:01
lmao!!! retard >XD

superfly
August 18th, 2007, 01:07
i thought it might help. lol

superfly
August 18th, 2007, 03:25
Maby we can get better answers now??? no??? all well i tryed.

IndianCheese
August 19th, 2007, 06:08
Wow, did you all really think he was serious about the models?

ExcruciationX
August 19th, 2007, 06:13
Drat, no topless models? :(

Tinnus
September 5th, 2007, 23:36
That's what a quick google gives:

http://photos9.flickr.com/16420574_fff83a8621_b.jpg

JPJunkie
September 9th, 2007, 11:08
Dissapointed! I was tricked

cal360
September 9th, 2007, 11:14
Drat, no topless models? :(

Aren't you an alien, I thought you wouldn't care about humuns :D.

goliath182
September 9th, 2007, 12:12
DAMN tricked!!!!!!

alexvander
September 9th, 2007, 15:38
theres things you dont joke about and one of them is topless modles

ozzyzorda
September 11th, 2007, 16:47
theres things you dont joke about and one of them is topless modles

I concure.