This demo shows you how to use monitor tag and create your custom text link. In this example, mylivechat ID is 68268000. You need to replace it with your own mylivechat ID in your own code.
mylivechat ID is 68268000
chatapi.aspx
MyLiveChat.HasReadyAgents
MyLiveChat_OpenDialog()
Edit/Test this code now