or rather going too fast when copy/pasting
// $char(guild)
} else if (!strncmp("target(guild)",szVar,11)) {
i+=10;
if (GetCharInfo()->pSpawn->GuildID < 0xFFFE && EQADDR_GUILDLIST) {
strcat(szOutput,GetGuildByID(GetCharInfo()->pSpawn->GuildID));
} else {
strcat(szOutput,"NULL");
}
// $char(guild,status)
} else if (!strncmp("target(guild,status)",szVar,18)) {
i+=17;
if (GetCharInfo()->pSpawn->GuildID < 0xFFFE && EQADDR_GUILDLIST) {
strcat(szOutput,szGuildStatus[GetCharInfo()->pSpawn->GuildStatus]);
} else {
strcat(szOutput,"NULL");
}
No wonder $char(guild) didnt work for me.