// ************************************************************************************************************ // Called once when the plugin is started. Do one time setup here. // ************************************************************************************************************ function Init() { // Start off with a string and an int variable string MyStr; int MyInt; // Receive an int from the function and put it into the string MyStr = GenerateNumber(); // Put the number representation in the string into an int MyInt = MyStr; // Perform integer to string conversion and concatenation MyStr = "The number is: " + MyInt; // The debug output print MyStr; print "Init has finished"; } int function GenerateNumber() { return 99; }