oliviano
1/26/2019 - 2:45 AM

Call Functions Modmod('myMods/adders').addMonths(1,2,3)

advance functions tips & tricks

# calls to mods

# fetch with path
mod('myMods/adders').addMonths(1,2,3)

me.mod.simpleMod1.simple(myval)
mod.colorWorldFunctions.set_color('list colors')

#function:
def simple(val):
 
    a = 10 * val
 
    return a
    
you can put this inside anything :)
me.mod.simpleMod1.simple(myval)

#Here we can see the syntax is:

me.mod – we’re asking for a module
simleMod1 – the name of the text DAT we’re referencing
simple() – the name of the function in the text DAT:)