Hi everyone, i need some help with this.
i have 1 NPC that gives titles if someone have the requeriment for example:
if (title$ == "YOO") {if (countitem(19009) == 1) {set title$, "YOO2"; next; mes "Yosh!, Congrats boy"; announce "[Ranking] "+strcharinfo(0)+" Everyone Praise him",bc_blue|bc_all; close;}}
and another one making the opposite
- script testtitles -1,{
OnPCLoginEvent:
if (title$ == "YOO2") {if (countitem(19009) == 0) {set title$, "YOO";bc_blue|bc_all;}}
end;
}
But does nott work at all(the testtitles script don't remove the title YOO2), you guys can help me?