I got sick of searching so ill just ask what happened to tokenclass and if it hasnt been replaced with something else, any ideas how to solve this
its about adding multiple scripts with or without parameters to an object.
if (stricmp(Scripts,"")!=0 && stricmp(ScriptParams,"")!=0)
{
TokenClass ScriptsParse= TokenClass(Scripts,0);
TokenClass ScriptParamsParse= TokenClass(ScriptParams,0);
for(int i=0;i<ScriptsParse.size()+1;i++)
{
if (stricmp(ScriptParamsParse[i].c_str(),"!")!=0)
{
Attach_Script_Once(obj,ScriptsParse[i].c_str(),ScriptParamsParse[i].c_str());
}
else
{
Attach_Script_Once(obj,ScriptsParse[i].c_str(),"");
}
}
}