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 ➜ General ➜ Writing scripts

Writing scripts

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


Posted by Zalib   (6 posts)  Bio
Date Mon 21 Feb 2011 10:10 PM (UTC)
Message
Heyo there. I've been looking into scripting a bit with lua and I want to get started. although I have a question on what i've been viewing on the forums. I've seen people just writing script files that are actually triggers but it's all in a script file. they don't even touch the trigger page at all. So my question is this. Is it better to just create a trigger and send the body to script or is it better to write a script file with these <trigger> tags i've been seeing? And secondly what's the format for writing these tags? Is it just open/close? Like:

<trigger>

//script block

</trigger>

or is it something different? This would work with aliases and timers too right?
Top

Posted by Zalib   (6 posts)  Bio
Date Reply #1 on Mon 21 Feb 2011 10:20 PM (UTC)
Message
I apologize for the second post.

I'm completely lost as to how to go about starting to learn lua. I don't know which ide to use or even if I should use one or just read material and apply it to MUSHclient and see if it works. To be honest I don't even know how to get a script working in MUSHclient.

I feel so dumb right now but I'm really itching to learn scripting so to anyone who has the patience to help me step by step I thank you 1000 times over.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #2 on Tue 22 Feb 2011 12:53 AM (UTC)
Message
How about watching the video here:

http://www.gammon.com.au/forum/?id=10212


Then if you have problems still you are very welcome to post your questions. In fact all the "getting started" section should be helpful, and there are quite a few videos there.

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


15,683 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.