Heyho.
code:
var regPath;
function OnEvent_Initialize(MessengerStart){
regPath = MsgPlus.ScriptRegPath + Messenger.MyUserId;
}
function loadsettings(){
twittername = Shell.RegRead(regPath + Messenger.MyUserId + "\\twitterusername");
twittertimer= Shell.RegRead(regPath + "\\twittertimer");
Okay. I edited my script :
code:
var regPath;
var twitterusername;
var twittername;
var twittertimer;
function OnEvent_Initialize ( ) {
if ( Messenger.MyStatus < STATUS_INVISIBILE ) return false;
regPath = MsgPlus.ScriptRegPath + Messenger.MyUserId;
if (twittertimer === 0){
return false;
}
loadsettings();
MsgPlus.AddTimer("nextUpdate", twittertimer*60*1000);
}
function OnEvent_SigninReady ( sEmail ) {
OnEvent_Initialize ( );
}
function loadsettings(){
twittername = Shell.RegRead(regPath + "\\twitterusername");
twittertimer= Shell.RegRead(regPath + "\\twittertimer");
}
does not work either