void main() { // -Seeker- Mar '05 // Simple script to speak a random string on spawn { string speak; int random = d10(); switch (random) { case 1: speak = "Much pain and suffering in store for this one"; break; case 2: speak = "Power beyond imagination"; break; case 3: speak = "A newcomer"; break; case 4: speak = "Welcome mortal"; break; case 5: speak = "Alangara's heirtaker ?"; break; case 6: speak = "Does it know what it is ?"; break; case 7: speak = "Divinity is born in the soul"; break; case 8: speak = "Failure in thy path"; break; case 9: speak = "To believe is to create"; break; case 10: speak = "Love and hate together"; break; } DelayCommand(0.5f, SpeakString( speak )); } // * Apply neat-o visual effects to genie effect eVis = EffectVisualEffect(424); effect eVis2 = EffectVisualEffect(479); ApplyEffectToObject(DURATION_TYPE_PERMANENT, eVis, OBJECT_SELF); ApplyEffectToObject(DURATION_TYPE_PERMANENT, eVis2, OBJECT_SELF); }