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
➜ General
➜ Make a trigger for log a line into a file
|
Make a trigger for log a line into a file
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Rafael
(3 posts) Bio
|
| Date
| Wed 06 Nov 2019 05:34 PM (UTC) |
| Message
| | Hi i make some java app to translate t2t map into a legible text for the blind impaired, i need to capture the map into a file and then execute the jar, erase after and so on. Any help will be apreciated :) | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Thu 07 Nov 2019 06:13 AM (UTC) |
| Message
| What's a t2t map?
In Lua you can write to files so it would be a case of opening the file (if not open already) and writing the line that you want, when the trigger fires. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Rafael
(3 posts) Bio
|
| Date
| Reply #2 on Thu 07 Nov 2019 03:14 PM (UTC) |
| Message
|
Nick Gammon said:
What's a t2t map?
In Lua you can write to files so it would be a case of opening the file (if not open already) and writing the line that you want, when the trigger fires.
t2tmud wildmap, i have make a translate tool, that split the map into various sections and other stuff, the output is something readable. in a future i want to add more muds. i dont know lua i make in java. the thing i want is to start loggin when the map start and stop at the hp promp. Thanks for the help. ^^ | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #3 on Fri 08 Nov 2019 07:15 AM (UTC) |
| Message
| | You can also write files in Javascript as far as I know. |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Rafael
(3 posts) Bio
|
| Date
| Reply #4 on Mon 11 Nov 2019 04:55 PM (UTC) |
| Message
|
Nick Gammon said:
You can also write files in Javascript as far as I know.
Sorry to trouble you so much, im not a mush user, my friend use it. I dont familiar to this, i can make a jar to pass a string into a file, how i can get such string from a trigger. Thanks in advance ^^ | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #5 on Tue 12 Nov 2019 03:25 AM (UTC) |
| Message
| |
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.
18,762 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top