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 ➜ Basic definitions

Basic definitions

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


Posted by Jsportive-Thalanvor   Netherlands  (71 posts)  Bio
Date Mon 12 Mar 2012 09:26 AM (UTC)
Message
I wasn't able to completely understand the definitions in the helps and tutorials.

What are the big differences of:

Script
Aliasses (this one i know a bit. it's about what i type, and what happens then)
Plugins
Triggers (this one i know a bit. it's what the game sees in my screen, and triggers an event that i created.)

what i don't understand inside creating something, is why to put an alias/trigger to script/world. what is the difference?

please steer me to the correct help info if the explanation is too big to put in here :P

Thnx in advance

J. Postma
Aardwolf: Thalanvor
Top

Posted by Jsportive-Thalanvor   Netherlands  (71 posts)  Bio
Date Reply #1 on Mon 12 Mar 2012 09:31 AM (UTC)
Message
btw, please include explanation in the extended use of 'spaces'

test example:



test
 test (1space)
  test (2spaces)
   test (3spaces)
test(2spaces)-- test

Top

Posted by Fiendish   USA  (2,547 posts)  Bio   Global Moderator
Date Reply #2 on Mon 12 Mar 2012 12:09 PM (UTC)
Message
JsportiveThalanvor said:

btw, please include explanation in the extended use of 'spaces'

Spaces only help us read the code. Lua does not care about them.

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Jsportive-Thalanvor   Netherlands  (71 posts)  Bio
Date Reply #3 on Mon 12 Mar 2012 01:23 PM (UTC)
Message
so it's like a next paragraph or subsection.
lua just reads lines, we read more in 3D :P
Top

Posted by Fiendish   USA  (2,547 posts)  Bio   Global Moderator
Date Reply #4 on Tue 13 Mar 2012 12:15 AM (UTC)

Amended on Tue 13 Mar 2012 12:20 AM (UTC) by Fiendish

Message
JsportiveThalanvor said:

so it's like a next paragraph or subsection.
lua just reads lines, we read more in 3D :P

See http://en.wikipedia.org/wiki/Indent_style


Script - lines of code interpreted by the script engine
Aliases - a mechanism for linking predefined behaviors to user input
Plugins - a portable container for aliases, triggers, and other script lines
Triggers - a mechanism for linking predefined behaviors to game output

Quote:
what i don't understand inside creating something, is why to put an alias/trigger to script/world. what is the difference?

"to script" means the lines get interpreted by the script engine as code.
"to world" means the lines get sent directly to the MUD

https://github.com/fiendish/aardwolfclientpackage
Top

Posted by Jsportive-Thalanvor   Netherlands  (71 posts)  Bio
Date Reply #5 on Tue 13 Mar 2012 11:28 AM (UTC)
Message
thnx. this clears a lot in my head :P
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.


18,308 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.