/////:://///////////////////////////////////////////// /////:: forge_guildcheck script - check to make sure not splitting a guild item /////:: Written by Winterknight on 2/17/06 /////::////////////////////////////////////////////// #include "nw_i0_tool" int StartingConditional() { object oForge = GetNearestObjectByTag("forge_custom",OBJECT_SELF,1); object oItem = GetFirstItemInInventory(oForge); string sCheck = GetStringLowerCase(GetStringLeft(GetResRef(oItem), 2)); if (sCheck == "sd" || sCheck == "nw" || sCheck == "x2") { return TRUE; } return FALSE; }