PHP Code:
if ((!equal(nick, "0")) && (!equal(nick, "")))
{
set_user_info(id, "name", ("%s %s",get_stat(sid),nick));
}
else
{
set_user_info(id, "name", ("%s %s",get_stat(sid),glob));
}
is this completely wrong? In my head i think it should work but maybe not ;p
It seems that it only uses the second argument and not the first.