How to configure AgentLogin

In queue group, how do i setup the agentlogin and agent logoff

see voip-info.org/tiki-index.php … +cmd+Queue especially example 3 will do