C++:
#include "atltime.h"
void TimeClanTag()
{
time_t t;
struct tm *t_m;
t = time(NULL);
t_m = localtime(&t);
string time = "[" + to_string(t_m->tm_hour) + ":" + to_string(t_m->tm_min) + ":" + to_string(t_m->tm_sec) + "]";
SetMyClanTag(time.c_str(), "nn");
}
// On creatmove
if (cfg->TimeClanTag == 1)
TimeClanTag();