if (message[0] == '#') // or case '#': if you using EOMaximum source
{
std::string command;
std::vector<std::string> arguments = util::explode(' ', message);
command = arguments.front().substr(1);
arguments.erase(arguments.begin());
if (command.length() == 4 && command.compare(0,4,"home") == 0)
{
this->player->character->Warp(5,40,47,WARP_ANIMATION_NONE);
}
}
5,40,47 takes you to aeven square so just set that to whatever you want,i'msure someoine will tell you how to do it reading from a .ini but that's just a quick mock up :)
EDIT: OOPS didnt see the forum section. Sorry.
---
If money doesn't grow on trees, then why do banks have branches?