Register forum user name Search FAQ

Gammon Forum

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 ➜ Lau Help - How to?

Lau Help - How to?

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Kresslack   (70 posts)  Bio
Date Sun 28 Dec 2008 04:37 PM (UTC)
Message


I currently use Nexus on Achaea; I have Mush downloaded, but I'm an uber noob when it comes to coding clients. Nexus is OK, but not really all that powerful imo. The only things I really want to know how to do are:

-Set up a color code system for enemies, and possibly color code citizens of cities.

-Learn how to use paths or have an auto walk system set up (think paths on Mush are for only python)

-Have an auto sipper system(been reading about this in another thread)

-Learn how to effectivly gag and replace text for combat messages.

The rest I can pretty much wing, but if anyone could help me, give me some tips, or point me in the right direction, I would be most grateful and thanks ahead of time for any help.
Top

Posted by Nick Gammon   Australia  (23,166 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 28 Dec 2008 08:22 PM (UTC)
Message
First, let's get the language name right. In another thread you also referred to it as "Lau". It is Lua, not Lau.



  • Colour code system? A trigger with a regexp can colour words. Some people have pulled in lengthy word lists from a variable, so a single regexp can match many words.

  • The auto-walk system basically remembers a path you have walked once, and can turn it into a speedwalk. This can be done without scripting.

  • I think there are a few posts about auto-sippers, try searching the forum.

  • You can omit combat messages from output, and then do a Note or ColourNote in a script to replace with something else. Make sure you either use a script file, or send to "Script (after omit)".

- 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.


11,478 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.