Agent List Demo

This demo shows you how to use monitor tag and render chat agent list directly. In this example, mylivechat ID is 68268000. You need to replace it with your own mylivechat ID.

  1. Use chatapi.aspx to embed monitor tag and hide button/link/box.
  2. Use MyLiveChat.Departments[i].Agents method to get all agents of the specific department.
  3. Use MyLiveChat.Departments[i].Agents[j].Online method to determine whether the specific agent is online or not.
  4. Integrate online and offline agents to web site page
  5. Use MyLiveChat_OpenDialog() method to show the chat dialog or offline message window.