FML/ManiaCode.php
public function addInstallScript($name, $file, $url)
    {
        $scriptElement = new InstallScript($name, $file, $url);
        return $this->addElement($scriptElement);
    }
public function addInstallScript($name, $file, $url)
    {
        $scriptElement = new InstallScript($name, $file, $url);
        return $this->addElement($scriptElement);
    }
public function addInstallScript ( $ name , $ file , $ url ) { $ scriptElement = new InstallScript ( $ name , $ file , $ url ) ; return $ this -> addElement ( $ scriptElement ) ; }
Install a script

@api
@param string $name Script name
@param string $file Script file
@param string $url  Script url
@return static
Install a script