• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

[Request] House Guest Invitation Look Please.

Kungenn

Veteran OT User
Joined
Jun 10, 2007
Messages
1,625
Reaction score
283
Location
USA California
Since inviting "*" is causing the server to crash for everyone that runs windows.

Im looking for a script in talkaction that would work like alana sio or such..

Alana Sio "Kungenn

So it only works on people online.

If the command would be Aleta Sio.

Like this Aleta Sio "Kungen you would get message player is not online.


If this isnt possible, then if you could perhaps have it via homepage that you click on your character and your house gets loaded then you can open the houselist and invite whomever you want, however only a-z allowed. No numbers or symbols.
 
fixed;
Code:
bool AccessList::parseList(const std::string& _list)
{
	playerList.clear();
	guildList.clear();

	expressionList.clear();
	regExList.clear();

	list = _list;
	if(_list.empty())
		return true;

	std::stringstream listStream(_list);
	std::string line;
	while(getline(listStream, line))
	{
		trimString(line);
		trim_left(line, "\t");

		trim_right(line, "\t");
		trimString(line);
		toLowerCaseString(line);
		if(line.substr(0, 1) == "#" || line.length() > 100)
			continue;

		if(line.find("@") != std::string::npos)
		{
			std::string::size_type pos = line.find("@");
			addGuild(line.substr(pos + 1), line.substr(0, pos));
		}
		else if(line.find("!") != std::string::npos || line.find("*") != std::string::npos || line.find("?") != std::string::npos)
			addPlayer(line);
		else
			addPlayer(line);
	}

	return true;
}
 
Last edited:
Back
Top