How to get "things" from the MUD/World ... xD

Posted by Dude on Thu 02 Sep 2010 04:20 PM — 6 posts, 28,644 views.

Germany #0
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
USA #1
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.
Germany #2
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. :/
Germany #3
Can no one help me? :(
USA #4
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.
Australia Forum Administrator #5
Did you read this?

Template:scripting
Scripting tutorial

There is extensive information about scripting in MUSHclient at http://mushclient.com/scripting. This includes screen shots and examples.



And the "Getting Started" posts?

http://www.gammon.com.au/forum/bbshowpost.php?bbtopic_id=120