1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
// Evol functions. // Authors: // Reid // Description: // Tell a random greeting sentence. function script hello { switch (rand(3)) { case 0: npctalk3 l("Heya!"); break; case 1: npctalk3 l("Hi."); break; case 2: npctalk3 l("Nice day to you."); break; } return; }