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
➜ How to get "things" from the MUD/World ... xD
How to get "things" from the MUD/World ... xD
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Dude
Germany (6 posts) Bio
|
Date
| Thu 02 Sep 2010 04:20 PM (UTC) |
Message
| Hi,
first thing - my english is not the best but i try my best to explain my question ;)
Ok:
How can i get "variables" from the MUD like the HP from my Char and save it to a variable or something i can use.
I want to do something like this (in simple to show what i mean :D)
if a > b
do something
else
wait this and this time and check again.
I hope you know what i mean and can Help me!
cYa
Dude | Top |
|
Posted by
| Twisol
USA (2,257 posts) Bio
|
Date
| Reply #1 on Thu 02 Sep 2010 05:07 PM (UTC) |
Message
| That depends on a lot of things! Lets see... First of all, it could help if you tell us which MUD this is, because someone here might be familiar with it.
Second, what does your MUD's prompt look like? Or, how do you normally find out what your health is? MUSHclient can't do anything you couldn't get from the MUD yourself; the most it can do is automate it for you. If your health is on the prompt, you can make a trigger to match on your prompt and get the details from it. |
'Soludra' on Achaea
Blog: http://jonathan.com/
GitHub: http://github.com/Twisol | Top |
|
Posted by
| Dude
Germany (6 posts) Bio
|
Date
| Reply #2 on Thu 02 Sep 2010 06:37 PM (UTC) |
Message
| Its UniTopia and Scripts are not allowed :D But who cares.
I type: "AP" and then he shows me:
xxx AP(xxx) und xxx ZP(xxx).
The problem is - i have no idea from LUA. :/ | Top |
|
Posted by
| Dude
Germany (6 posts) Bio
|
Date
| Reply #3 on Fri 03 Sep 2010 06:19 PM (UTC) |
Message
| Can no one help me? :( | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #4 on Fri 03 Sep 2010 07:26 PM (UTC) |
Message
| Personally, I'm not really inclined to help do something that is against a game's rules... That said, this is a common question, so if you poke around you'll find something to help you. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #5 on Fri 03 Sep 2010 08:33 PM (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.
21,495 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top