How to merge several scripts
Posted: Mon Sep 18, 2017 4:19 am
It's easy to merge several scripts, just respect this order:
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.
- 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.