Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
Modifying number in text file
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Re: Modifying number in text file
moi
#
242193
22/06/13
05:51 AM
Joined:
Jun 2007
Posts: 933
5
5618
Hoopy frood
5618
Hoopy frood
5
Joined:
Jun 2007
Posts: 933
This fails due to how mIRC handles the first line in a text file when this line is a number. See /help $read
You'll need to circumvent this by using:
Code:
on *:TEXT:!add:#:{ write -l1 number.txt $calc($read(number.txt,0) +1) }
Copy Link to Clipboard
Entire Thread
Subject
Posted By
Posted
Modifying number in text file
moi
21/06/13
11:50 PM
Re: Modifying number in text file
Loki12583
22/06/13
12:39 AM
Re: Modifying number in text file
moi
22/06/13
02:19 AM
Re: Modifying number in text file
5618
22/06/13
05:51 AM
Re: Modifying number in text file
MarkyO
23/06/13
04:21 AM
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Flat Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage