Basic definitions

Posted by Jsportive-Thalanvor on Mon 12 Mar 2012 09:26 AM — 6 posts, 20,522 views.

Netherlands #0
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
Netherlands #1
btw, please include explanation in the extended use of 'spaces'

test example:



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

USA Global Moderator #2
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.
Netherlands #3
so it's like a next paragraph or subsection.
lua just reads lines, we read more in 3D :P
USA Global Moderator #4
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
Amended on Tue 13 Mar 2012 12:20 AM by Fiendish
Netherlands #5
thnx. this clears a lot in my head :P