void CreateItemOnObjectVoid(string sItemTemplate, object oTarget=OBJECT_SELF, int nStackSize=1) { CreateItemOnObject(sItemTemplate, oTarget, nStackSize); } int nInt; /* Script generated by Lilac Soul's NWN Script Generator, v. 2.3 For download info, please visit: http://nwvault.ign.com/View.php?view=Other.Detail&id=4683&id=625 */ //Put this script OnEnter void main() { object oPC = GetEnteringObject(); if (!GetIsPC(oPC)) return; if (d100()>75) return; if (d100()<=20) { nInt = d12(); if (nInt==1) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awervaw", oPC)); } else if (nInt==2) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==3) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==4) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==5) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==6) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==7) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==8) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==9) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==10) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==11) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==12) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } } else { nInt = d12(); if (nInt==1) { DelayCommand(40.0, FloatingTextStringOnCreature("You have found a Socketed Item!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awreva", oPC)); } else if (nInt==2) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==3) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==4) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==5) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==6) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==7) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==8) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==9) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==10) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==11) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } else if (nInt==12) { DelayCommand(40.0, FloatingTextStringOnCreature("You found a Socketed Item!!!!!", oPC)); DelayCommand(42.0, CreateItemOnObjectVoid("awergagr", oPC)); } } }