GetNexusModVersionAPI

From GECK
Jump to: navigation, search


A function added by the SUP NVSE Plugin.

Description

Returns current version of mod hosted on Nexus.

Syntax

[help]
(Mod Version:String) GetNexusModVersionAPI iNexusModID:int

Example

 GetNexusModVersionAPI 73160

Will return current SUP NVSE version(i.e."3.60").

GetNexusModVersionAPI 58277

Will return current JIP NVSE version(i.e."56.34").

Notes

  • For this function to work you should check if "SUPDate Checker" is loaded and IsNexusAPIKeyValid returns true.
  • If there's internet access error or invalid iNexusModID - function will return "ERROR" as a string result;

See Also