@Override
	protected void onAction(String sender, String login, String hostname, String target, String action)
	{
		super.onAction(sender, login, hostname, target, action);
		int i = 0;
		while(true)
		{
			Main.debug("Action check: " + serverid + " - " + Main.gui.tabs.get(i).serverid, false); 
			if(Main.gui.tabs.get(i).serverid == serverid && Main.gui.tabs.get(i).title.equalsIgnoreCase(target))
			{
				Main.gui.tabs.get(i).addMessage("<< " + sender + " " + action + " >>");
				Main.gui.tabs.get(i).onUpdate();
				i++;
			}
			else
			{
				if(i > Main.gui.tabs.size())
				{
					break;
				}
				i++;
			}
		}
	}