You can see the rest of possible values in consts.js file
Setting custom statuses is a little more complicated, you should call setCustomAwayStatus method these arguments:
Your custom message [string]
customDndStatus [Consts.CustomDND.* (Can be found in consts.js file)]
statusLinkType [Consts.CustomStatusLink.* (Can be found in consts.js file)]
statusData [You know? I don't what that is]
Some examples:
YahooMessenger.setCustomAwayStatus('Hello World');
YahooMessenger.setCustomAwayStatus('BRB', Consts.CustomDND.Idle);
YahooMessenger.setCustomAwayStatus('Click here to visit my website http://www.dogtag.ir/');
YahooMessenger.setCustomAwayStatus('View My Webcam', Consts.CustomDND.DoNotDisturb, Consts.CustomStatusLink.Webcam, 'YSTATUS=1');
There should be a proper documentation (I don't think anyone need it anyway) but until then, I think this should do.
Just added ability to change status message. to do that, you should first
require
constants that is used for that;To set Yahoo predefined statuses, you should call
setAwayStatus
method with one ofConsts.UserStatus.*
constants. For example:You can see the rest of possible values in consts.js file
Setting custom statuses is a little more complicated, you should call
setCustomAwayStatus
method these arguments:Some examples: