Sponsored Links




Topic Options
Rate This Topic
#2862 - 08/07/08 05:58 PM NEED HELP: Counting the lines in a TXT file.
Davis Offline
n00b

Registered: 08/07/08
Posts: 3
Loc: United States
Hey again. I did a script that writes lines to a txt file. It's an alias and the line to write goes like this: write random.txt $$1-
I am also wanting another alias that counts the number of lines that txt file has. I don't want to do a counter (that adds one every time a line is added) because if the user edits the TXT directly it would be wrong. SO, what I need it an alias that counts each line in random.txt. Thanks.

Top
Sponsored Links
Sponsored Links
Member
*****

Registered: 27/08/04
Posts: 10136
Loc: Mountain View, CA
Top


Recent Posts
Rules for Voiced (+v) users in #Chris
by Axlin
11/20/08 05:36 PM
WyldRyde Channel Management Script **BETA**
by usrbingeek
11/19/08 12:35 AM
Saying Hello
by cirian75
11/18/08 02:13 PM
Multiple Network question
by usrbingeek
11/16/08 10:00 PM
Recruiting new ops and half ops in #iPhone
by techman224
11/14/08 07:09 PM
Common Commands Script
by burace17
11/14/08 02:55 PM
Rules for Voiced Users being Enforced More
by abcd
11/14/08 08:33 AM
New bot policy
by Freekie
11/11/08 10:11 PM
my favorite channels on WR
by sbushfan11
11/10/08 05:42 AM
Volunteer Half-Op Positions Available In My New Ch
by mikem
11/08/08 03:16 PM
Script Bots. Need One?
by Samuel
11/07/08 10:10 PM
Services Help Version 2.4
by Jerry
11/06/08 09:41 PM
Recent Pics
mIRC on Linux???
Computer Spam o_O
My Windows Desktop
Who's Online
1 registered (1 invisible), 4 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
usrbingeek 468
Kat 266
iPhone 108
Phil 91
Freekie 85
techman224 75
CCMike 73
Justin 70
tengrrl 55
wirelesspacket 52
Terms Of Use
Use of this community signifies your agreement to the Terms Of Service and Conditions of Use.