Page 1 of 1

How to merge several scripts

PostPosted: Mon Sep 18, 2017 4:19 am
by Prototype
It's easy to merge several scripts, just respect this order:
Code: Select all
define
 
int
 
init{
}
 
main {
}
 
combo_1 {
}
 
combo_2 {
}
 
function X {
}

You can have ONLY ONE "main" and ONE "init" section, all defines goes at the same place at the top of the script and all combos goes at the same place at the end of the script and be careful to correctly close all the brackets of the code!

If you see anything to add please comment and if you need help or have any question, feel free to ask.

Re: How to merge several scripts

PostPosted: Wed Sep 20, 2017 11:57 am
by J2Kbr
Perfectly explained!! :smile0517: