Script Function: Q4SQ
From Ultima Online: The Second Age
function string Q4SQ(int Q5UT) { string name; switch (Q5UT) { case 0x00 name = "clumsy"; break; case 0x01 name = "creatfod"; break; case 0x02 name = "feblmind"; break; case 0x03 name = "heal"; break; case 0x04 name = "magarrow"; break; case 0x05 name = "nitesite"; break; case 0x06 name = "reactarm"; break; case 0x07 name = "weaken"; break; case 0x08 name = "agility"; break; case 0x09 name = "cunning"; break; case 0x0A name = "cure"; break; case 0x0B name = "harm"; break; case 0x0C name = "magctrap"; break; case 0x0D name = "mguntrap"; break; case 0x0E name = "protect"; break; case 0x0F name = "strength"; break; case 0x10 name = "bless"; break; case 0x11 name = "fireball"; break; case 0x12 name = "magclock"; break; case 0x13 name = "poison"; break; case 0x14 name = "telknsis"; break; case 0x15 name = "teleport"; break; case 0x16 name = "unlock"; break; case 0x17 name = "wallston"; break; case 0x18 name = "archcure"; break; case 0x19 name = "aprotect"; break; case 0x1A name = "curse"; break; case 0x1B name = "firefild"; break; case 0x1C name = "grtheal"; break; case 0x1D name = "lightng"; break; case 0x1E name = "manadran"; break; case 0x1F name = "recall"; break; case 0x20 name = "bldsprts"; break; case 0x21 name = "dsplfild"; break; case 0x22 name = "incognto"; break; case 0x23 name = "magrflct"; break; case 0x24 name = "mindblst"; break; case 0x25 name = "paralyze"; break; case 0x26 name = "posnfild"; break; case 0x27 name = "summoncr"; break; case 0x28 name = "dispel"; break; case 0x29 name = "nrgybolt"; break; case 0x2A name = "exploson"; break; case 0x2B name = "invis"; break; case 0x2C name = "mark"; break; case 0x2D name = "mascurse"; break; case 0x2E name = "parafild"; break; case 0x2F name = "reveal"; break; case 0x30 name = "chainltg"; break; case 0x31 name = "nrgyfild"; break; case 0x32 name = "flamstrk"; break; case 0x33 name = "gatetrvl"; break; case 0x34 name = "manavamp"; break; case 0x35 name = "massdspl"; break; case 0x36 name = "meteor"; break; case 0x37 name = "polymrph"; break; case 0x38 name = "earthquk"; break; case 0x39 name = "nrgyvrtx"; break; case 0x3A name = "resurect"; break; case 0x3B name = "sumaire"; break; case 0x3C name = "sumdaem"; break; case 0x3D name = "sumearth"; break; case 0x3E name = "sumfire"; break; case 0x3F name = "sumh2o"; break; } return (name); }