A simple example:
void main()
{
object oItem; //however defined
string sTag = GetTag(oItem);
string sCheck = GetStringLeft(sTag,
;
if (sCheck == "summoned")
{
//destroy object
}
}
Edit: Haha. looks like a few decided to answer at the same time. I'm a little late.
Modifié par GhostOfGod, 27 mars 2012 - 06:57 .