im new to this and im trying to make several thing on my script.
one of the things is the OnEvent_MyStatusChange, but i dont get the [enum] part of the code.
Posts: 3658 Reputation: 61
36 / /
Joined: Aug 2006
RE: need help with my script
quote:Originally posted by The Scripting Documentation
Parameters
NewStatus
[enum] New status of the user, represented by a number taken from the following enumeration:
2 - Appear Offline
3 - Online
4 - Busy
5 - Be Right Back
6 - Idle
7 - Away
8 - In a Call
9 - Out to Lunch
NewStatus will equal a number representing the new status
quote:Originally posted by crzymike13
im new to this and im trying to make several thing on my script.
one of the things is the OnEvent_MyStatusChange, but i dont get the [enum] part of the code.
OnEvent_MyStatusChange(
[enum] NewStatus
);
???
The enum NewStatus is quite confusing actually however that value will only contain a number that does not need to be enumerated through.