Difference between revisions of "Scripting Tutorial: My First Script"

Jump to navigation Jump to search
a couple error corrections + clarification
imported>Derben
imported>JHunz
(a couple error corrections + clarification)
#:''end''<br><br>
#:Info about the script itself:
#:- The first line is just the name of your script,. and theMake lastsure lineit ofis course ends the scriptunique.
#:- "Begin OnAdd" means that this script will fire each time you pick up this item. The end command ends the section of script related to "OnAdd". You can have a separate begin/end block for every blocktype - see [[Begin]]
#:- And lastly, the message line controls what will be displayed, with the "10" as how long the message will stay on screen. Check here for more info about the message command: [[Message]]
# Save the script and then close the Script Editor.
Anonymous user

Navigation menu