else if (message.substr(0,5) == "!obs ") { std::string msg = message.substr(5,endpos).c_str(); std::string total = msg + " (" + username + ")"; //std::string total = msg; bz_sendTextMessage (BZ_SERVER, eObservers, total.c_str()); }