It should not be hard to convert this to a script that is usable by other clients, I have written it for tt++.
used to see: yellow potion
now see: yellow potion (detect invisibility)
[code:3l54d76q]/sub {acrid orange potion} {<829>acrid orange potion (imbuewith 3x flamestrike)<899>}
/sub {amethyst potion} {<829>amethyst potion (infravision / detect invis / sense life)<899>}
/sub {aquamarine potion.} {<829>aquamarine potion. (cure minor)<899>}
/sub {black potion with a red glowing center} {<829>black potion with a red glowing center (dispel magic)<899>}
/sub {blood red potion} {<829>blood red potion (level 30 refresh)<899>}
/sub {blue-green potion} {<829>blue-green potion (level 25 cure serious)<899>}
/sub {bright blue potion} {<829>bright blue potion (lvl 40 greater heal)<899>}
/sub {bright orange potion} {<829>bright orange potion (+6 to dam for 10 hrs.)<899>}
/sub {bright red potion} {<829>bright red potion (l15 cure critic)<899>}
/sub {brown misty potion {succor}} {<829>brown misty potion {succor} (regeneration (level 40))<899>}
/sub {bubbling green potion} {<829>bubbling green potion (cure critic/invis/phase door)<899>}
/sub {bubbling maroon potion} {<829>bubbling maroon potion (armor)<899>}
/sub {bubbling maroon potion} {<829>bubbling maroon potion (level 15 armor)<899>}
/sub {bubbling violet potion } {<829>bubbling violet potion (lvl 40 knock)<899>}
/sub {cerise potion} {<829>cerise potion (armor/cure light)<899>}
/sub {chartreuse potion} {<829>chartreuse potion (l40 remove disaese)<899>}
/sub {chilled black potion} {<829>chilled black potion (telepathy)<899>}
/sub {chocolate potion} {<829>chocolate potion (invisibility, remove poison, remove curse)<899>}
/sub {churning orange potion} {<829>churning orange potion (imbue 3x lvl 40 disintegrate)<899>}
/sub {clear blue potion} {<829>clear blue potion (fly, water breathing, refresh)<899>}
/sub {clear potion} {<829>clear potion (cast vision 7 x as lv 25)<899>}
/sub {clear potion with a lot of dirt sediment} {<829>clear potion with a lot of dirt sediment (stone skin)<899>}
/sub {clear white potion} {<829>clear white potion (dispel/stone skin/sanc)<899>}
/sub {cloudy purple potion} {<829>cloudy purple potion (level 15 str)<899>}
/sub {cloudy red potion} {<829>cloudy red potion (level 35 stone skin)<899>}
/sub {cold blue potion} {<829>cold blue potion (+40 mana for 1 hr)<899>}
/sub {creamy pink potion} {<829>creamy pink potion (lvl 25 mindbar x1)<899>}
/sub {dark yellow potion} {<829>dark yellow potion (5x magic missile (lvl15))<899>}
/sub {deep blue potion} {<829>deep blue potion (regeneration/refresh/cure serious)<899>}
/sub {deep purple potion} {<829>deep purple potion (str (level 35))<899>}
/sub {dull copper potion} {<829>dull copper potion (+5 to hit, 10 hours)<899>}
/sub {dull gold potion} {<829>dull gold potion (lvl 12 cure light)<899>}
/sub {dull gold potion} {<829>dull gold potion ()<899>}
/sub {dull gold potion} {<829>dull gold potion (+5 to hit for 10 hrs)<899>}
/sub {dull gray potion} {<829>dull gray potion (lloyds beacon x2 at level 35)<899>}
/sub {effervescent potion} {<829>effervescent potion (det. evil/det. invisible/det. magic)<899>}
/sub {fizzy ochre potion} {<829>fizzy ochre potion (imbue l40 magic missile x30)<899>}
/sub {flecked gold potion } {<829>flecked gold potion (bless, strength, stone skin)<899>}
/sub {frothy violet potion} {<829>frothy violet potion (lvl 40 corona x1)<899>}
/sub {frothy violet potion} {<829>frothy violet potion (corona)<899>}
/sub {glimmering green potion} {<829>glimmering green potion (greater heal x3)<899>}
/sub {glowing golden potion} {<829>glowing golden potion (lvl 45 talshans tribute)<899>}
/sub {grainy black potion} {<829>grainy black potion (level 35 teleport)<899>}
/sub {green potion} {<829>green potion (teleport)<899>}
/sub {green potion} {<829>green potion (blindness & teleport & cure blind)<899>}
/sub {hissing blue potion} {<829>hissing blue potion (+20 mana for 1 hour)<899>}
/sub {matte-black potion} {<829>matte-black potion (word of recall/heal)<899>}
/sub {metallic red potion} {<829>metallic red potion (iron skin)<899>}
/sub {midnight blue potion} {<829>midnight blue potion (cure normal (1x))<899>}
/sub {milky lavender potion} {<829>milky lavender potion (l35 perception)<899>}
/sub {milky white potion} {<829>milky white potion ()<899>}
/sub {milky white potion} {<829>milky white potion (word of recall)<899>}
/sub {milky white potion} {<829>milky white potion (word of recall)<899>}
/sub {moldy orange potion} {<829>moldy orange potion (+3 damage for 10 hrs)<899>}
/sub {moldy orange potion} {<829>moldy orange potion (+3 dam for 10 hours)<899>}
/sub {navy blue potion} {<829>navy blue potion (cure light)<899>}
/sub {olive potion} {<829>olive potion (dispel evil/ curse/ heal)<899>}
/sub {orange potion} {<829>orange potion ()<899>}
/sub {orange potion} {<829>orange potion (3x strength)<899>}
/sub {pale purple potion} {<829>pale purple potion (lvl 25 water breathing)<899>}
/sub {pale rose potion} {<829>pale rose potion (resist fire/resist cold)<899>}
/sub {pale violet potion} {<829>pale violet potion (infravision)<899>}
/sub {pale violet potion} {<829>pale violet potion (level 15 infravision)<899>}
/sub {pearlescent potion} {<829>pearlescent potion (lvl 44 grace)<899>}
/sub {potion crackling with magical energy} {<829>potion crackling with magical energy (resistance to all spells targeting the user)<899>}
/sub {potion of accuracy} {<829>potion of accuracy (+5 to hit)<899>}
/sub {potion of desperation} {<829>potion of desperation (recall)<899>}
/sub {potion of destruction} {<829>potion of destruction (bless, +3 damage)<899>}
/sub {potion of endurance} {<829>potion of endurance (vitality)<899>}
/sub {potion of flames} {<829>potion of flames (3 casts of hellfire)<899>}
/sub {potion of insight} {<829>potion of insight (det invis lvl 12)<899>}
/sub {potion of knitting} {<829>potion of knitting (?)<899>}
/sub {potion of legendary memory} {<829>potion of legendary memory (bestows lloyd's beacon 6 times)<899>}
/sub {potion of lesser sanctuary} {<829>potion of lesser sanctuary (sanctuary)<899>}
/sub {potion of pure darkness} {<829>potion of pure darkness (dark cloak)<899>}
/sub {potion of refreshment} {<829>potion of refreshment (refresh x2)<899>}
/sub {potion of speed} {<829>potion of speed (quicken)<899>}
/sub {potion of stones} {<829>potion of stones (lvl 43 dispel fly)<899>}
/sub {potion of the essence of a mind flayer} {<829>potion of the essence of a mind flayer (aptitude)<899>}
/sub {potion of wispy prayers} {<829>potion of wispy prayers (insight)<899>}
/sub {potion of youth} {<829>potion of youth (subtracts from age)<899>}
/sub {pungent indigo potion} {<829>pungent indigo potion (fly)<899>}
/sub {purple potion} {<829>purple potion (cure poison)<899>}
/sub {radiant white potion} {<829>radiant white potion (imbue with 1x raise dead lvl 40)<899>}
/sub {red orange potion} {<829>red orange potion ( -100 ac for 3 ticks)<899>}
/sub {red potion} {<829>red potion (armor)<899>}
/sub {roiling blue potion} {<829>roiling blue potion (lvl 25 regenatation x1 )<899>}
/sub {ruby red potion} {<829>ruby red potion (lvl 35 sanctuary x1)<899>}
/sub {russet potion} {<829>russet potion (+0 to immune_magic for 5 hrs)<899>}
/sub {rusty red potion} {<829>rusty red potion (apply 0 bonus to immune magic for 10 hrs.)<899>}
/sub {sea-green potion} {<829>sea-green potion (remove disease/remove poison)<899>}
/sub {shiny golden potion} {<829>shiny golden potion (+20 to hit for 10 hours)<899>}
/sub {shiny golden potion} {<829>shiny golden potion (apply a bonus of 20 to the drinker's hitroll for 10 hours.)<899>}
/sub {silver potion} {<829>silver potion (call lightning/cure critic)<899>}
/sub {sizzling yellow potion} {<829>sizzling yellow potion (8x lightning bolt (imbued))<899>}
/sub {slate-grey potion} {<829>slate-grey potion (l25 word of recall)<899>}
/sub {sloshing blue potion} {<829>sloshing blue potion (adds 150 mana for 1 hour)<899>}
/sub {smoky green potion} {<829>smoky green potion (remove poison)<899>}
/sub {sparking yellow potion} {<829>sparking yellow potion (lvl 25 call lightning x3)<899>}
/sub {sparkling blue potion} {<829>sparkling blue potion (restores 35 mana )<899>}
/sub {steaming black potion} {<829>steaming black potion (4x demon bind, level 35)<899>}
/sub {translucent purple potion} {<829>translucent purple potion (level 25 detect invis.)<899>}
/sub {turquoise potion} {<829>turquoise potion (level 40 cure plague)<899>}
/sub {vaporous white potion} {<829>vaporous white potion (3x level 20 cure critic)<899>}
/sub {viscous purple potion} {<829>viscous purple potion (strength)<899>}
/sub {warm coral potion} {<829>warm coral potion (lev 40 resist webs)<899>}
/sub {yellow potion} {<829>yellow potion (detect invisibility)<899>}[/code:3l54d76q]