BUILDIN(color2hex) { int color = script->get_num(st, 2); char *colorstring; sprintf(colorstring, "Color has been set to %06X", color); my_pushstrcopy(st,colorstring); return true; }