Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ MUSHclient
➜ Lua
➜ GetLine/StyleInfo ?
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Cyote
(9 posts) Bio
|
Date
| Fri 25 Oct 2013 08:29 PM (UTC) Amended on Fri 25 Oct 2013 08:37 PM (UTC) by Cyote
|
Message
| In a trigger I used the following script.
require "tprint"
buf = GetLineInfo(GetLineCount())
tprint(buf)
print(GetStyleInfo(GetLineCount(),1,14))
It was working fine till i reach 5000 which is my current
output buffer then it started to give nil object.
Is there a way to reset this buffer?
Thanks.
On Second thought it would also be handy to have another
option in trigger which would enable/disable table variable that holds line/style info.
| Top |
|
Posted by
| Nick Gammon
Australia (23,159 posts) Bio
Forum Administrator |
Date
| Reply #1 on Fri 25 Oct 2013 10:50 PM (UTC) |
Message
| In the configuration -> Appearance -> Output tab, how many lines do you have configured for the output buffer?
I think 5000 is the default, but you can make it much larger. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
9,743 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top