code:function getdp(){ try{ return Messenger.MyDisplayPicture; } catch(e){ return ''; } } function OnEvent_Timer(id){ if (id == 'dp'){ if(getdp() != <variable for DP location>){ <variable for DP location> = getdp(); <other code for DP change> } MsgPlus.AddTimer('dp', 30000); } }