rendered paste bodyalias c1 { return 10 $+ $1- }
alias c2 { return 12 $+ $1- }
alias c3 { return 2 $+ $1- $+ }
alias c4 { return 11 $+ $1- }
on $*:text:/[@!]potion*/Si:#: {
set %spell.display $iif($left($1,1) == @,msg $chan,notice $nick)
if ($2- == super) { %spell.display $c3(Super Potion Keywords:) $c2(Super Attack) $+ $c4(<->) $+ $c2(Super Antipoison) $+ $c1(<->) $+ $c2(Super Energy) $+ $c4(<->) $+ $c2(Super Restore) $+ $c1(<->) $+ $c2(Super Defence) $+ $c4(<->) $+ $c2(Super Defence) | halt }
if ($2- == magic || $2- == mage) { %spell.display $c3(Magic Potion Keywords:) $c2(Magic Essence) $c4(<->) $c3(Magic) | halt }
if ($2- == anti || $2- == antipotion) { %spell.display $c3(Anti Potion Keywords:) $c2(Antipoison) $c4(<->) $c2(Super Antipoison) $+ $c1(<->) $+ $c2(Extra Strong Antidote) $+ $c4(<->) $+ $c2(Super Strong Antidote) $+ $c1(<->) $+ $c2(Antifire) | halt }
if ($2- == poison) { %spell.display $c3(Weapon Poison Keywords:) $c2(Weapon Poison) $c4(<->) $c2(Weapon Poison (+)) $c1(<->) $c2(Weapon Poison (++)) | halt }
if ($2- == tar) { %spell.display $c3(Swamptar Keywords:) $c2(Guam Tar) $+ $c4(<->) $c2(Marrentil Tar) $+ $c1(<->) $+ $c2(Tarromin Tar) $+ $c4(<->) $+ $c2(Harralander Tar) | halt }
if ($2- == restore) { %spell.display $c3(Restore Potion Keywords:) $c2(Restore) $+ $c4(<->) $+ $c2(Energy) $+ $c1(<->) $+ $c2(Agility) $+ $c4(<->) $+ $c2(Prayer) $+ $c1(<->) $+ $c2(Super Energy) $+ $c4(<->) $+ $c2(Super Restore) | halt }
if ($2- == attack) { %spell.display $c3(Attack Potion) $+ $c1(Herb:) $c2(Guam Leaf) $c1(Lvl:) $c2(3) $c1(Seconds:) $c2(Eye of newt) $c1(Effects:) $c2(Temporarily increased Attack by 15%) $c1(Exp Gain:) $c2(25) | halt }
if ($2- == antipoison) { %spell.display $c3(Antipoison) $+ $c1(Herb:) $c2(Marrentil) $c1(Lvl:) $c2(5) $c1(Seconds:) $c2(Ground Unicorn horn) $c1(Effects:) $c2(Removes/Weakens poison effect) $c1(Exp Gain:) $c2(37.5) | halt }
if ($2- == str || $2- == strength) { %spell.display $c3(Strength Potion) $+ $c1(Herb:) $c2(Tarromin) $c1(Lvl:) $c2(12) $c1(Seconds:) $c2(Limpwurt Root) $c1(Effects:) $c2(Temporarily increased Strength by 15%) $c1(Exp Gain:) $c2(50) | halt }
if ($2- == guam tar) { %spell.display $c3(Guam Tar) $+ $c1(Herb:) $c2(Guam Leaf) $c1(Lvl:) $c2(19) $c1(Seconds:) $c2(Swamp Tar) $c1(Effects:) $c2(Bait for Swamp Salamanders / Ammunition for wielded Swamp Salamanders) $c1(Exp Gain:) $c2(30) | halt }
if ($2- == restore) { %spell.display $c3(Restore Potion) $+ $c1(Herb:) $c2(Harralander) $c1(Lvl:) $c2(22) $c1(Seconds:) $c2(Red Spiders' eggs) $c1(Effects:) $c2(Restores non health/prayer stats) $c1(Exp Gain:) $c2(62.5) | halt }
if ($2- == energy) { %spell.display $c3(Energy Potion) $+ $c1(Herb:) $c2(Harralander) $c1(Lvl:) $c2(26) $c1(Seconds:) $c2(Chocolate Dust) $c1(Effects:) $c2(Restores 10% of energy) $c1(Exp Gain:) $c2(67.5) | halt }
if ($2- == def || $2- == defence) { %spell.display $c3(Defence Potion) $+ $c1(Herb:) $c2(Ranarr Weed) $c1(Lvl:) $c2(30) $c1(Seconds:) $c2(White Berries) $c1(Effects:) $c2(Temporarily increased Defence by 15%) $c1(Exp Gain:) $c2(75) | halt }
if ($2- == marrentil tar) { %spell.display $c3(Marrentil Tar) $+ $c1(Herb:) $c2(Marrentil) $c1(Lvl:) $c2(31) $c1(Seconds:) $c2(Swamp Tar) $c1(Effects:) $c2(Bait for Desert Salamanders / Ammunition for wielded Desert Salamanders) $c1(Exp Gain:) $c2(42.5) | halt }
if ($2- == agility || $2- == agil) { %spell.display $c3(Agility Potion) $+ $c1(Herb:) $c2(Toadflax) $c1(Lvl:) $c2(34) $c1(Seconds:) $c2(Toad's legs) $c1(Effects:) $c2(Temporarily increased Agility by 3 lvls) $c1(Exp Gain:) $c2(80) | halt }
if ($2- == cmb || $2- == combat) { %spell.display $c3(Combat Potion) $+ $c1(Herb:) $c2(Harralander) $c1(Lvl:) $c2(36) $c1(Seconds:) $c2(Goat horn dust) $c1(Effects:) $c2(Temporarily increased Attack and Strength by 15%) $c1(Exp Gain:) $c2(84) | halt }
if ($2- == pray || $2- == prayer) { %spell.display $c3(Prayer Potion) $+ $c1(Herb:) $c2(Rannar Weed) $c1(Lvl:) $c2(38) $c1(Seconds:) $c2(Snape Grass) $c1(Effects:) $c2(Restores prayer partially) $c1(Exp Gain:) $c2(87.5) | halt }
if ($2- == tarromin tar) { %spell.display $c3(Tarromin Tar) $+ $c1(Herb:) $c2(Tarromin) $c1(Lvl:) $c2(39) $c1(Seconds:) $c2(Swamp Tar) $c1(Effects:) $c2(Bait for Red Salamanders / Ammunition for wielded Red Salamanders) $c1(Exp Gain:) $c2(55) | halt }
if ($2- == harralander tar) { %spell.display $c3(Harralander Tar) $+ $c1(Herb:) $c2(Harralander) $c1(Lvl:) $c2(44) $c1(Seconds:) $c2(Swamp Tar) $c1(Effects:) $c2(Bait for Black Salamanders / Ammunition for wielded Black Salamanders) $c1(Exp Gain:) $c2(72.5) | halt }
if ($2- == super attack || $2- == super attk || $2- == super att || $2- == super atk) { %spell.display $c3(Super Attack Potion) $+ $c1(Herb:) $c2(Irit leaf) $c1(Lvl:) $c2(45) $c1(Seconds:) $c2(Eye of newt) $c1(Effects:) $c2(Temporarily increased attack by 20%) $c1(Exp Gain:) $c2(100) | halt }
if ($2- == super antipoison) { %spell.display $c3(Super Antipoison) $+ $c1(Herb:) $c2(Irit leaf) $c1(Lvl:) $c2(48) $c1(Seconds:) $c2(Ground Unicorn Horn) $c1(Effects:) $c2(Cures poison / Adds temporary resistance) $c1(Exp Gain:) $c2(106) | halt }
if ($2- == fish || $2- == fising) { %spell.display $c3(Fishing Potion) $+ $c1(Herb:) $c2(Avantoe) $c1(Lvl:) $c2(50) $c1(Seconds:) $c2(Snape Grass) $c1(Effects:) $c2(Temporarily increased Fishing by 3 lvls) $c1(Exp Gain:) $c2(112.5) | halt }
if ($2- == super energy potion) { %spell.display $c3(Super Energy Potion) $+ $c1(Herb:) $c2(Avantoe) $c1(Lvl:) $c2(52) $c1(Seconds:) $c2(Mort Myre Fungi) $c1(Effects:) $c2(Restores run energy 20%) $c1(Exp Gain:) $c2(117.5) | halt }
if ($2- == hunt || $2- == hunter) { %spell.display $c3(Hunter Potion) $+ $c1(Herb:) $c2(Avantoe) $c1(Lvl:) $c2(53) $c1(Seconds:) $c2(Kebbit Teeth Dust) $c1(Effects:) $c2(Temporarily increased Strength by 20%) $c1(Exp Gain:) $c2(125) | halt }
if ($2- == ess || $2- == essence || $2- == magic essence) { %spell.display $c3(Magic Essence) $+ $c1(Herb:) $c2(Starflower) $c1(Lvl:) $c2(57) $c1(Seconds:) $c2(Gorak Claw Powder) $c1(Effects:) $c2(Temporarily increased Magic by 3 lvls) $c1(Exp Gain:) $c2(130) | halt }
if ($2- == weapon poison) { %spell.display $c3(Weapon Poison) $+ $c1(Herb:) $c2(Kuarm) $c1(Lvl:) $c2(60) $c1(Seconds:) $c2(Ground Blue Dragon Scale) $c1(Effects:) $c2(Adds regular poison to daggers / Spears / 10 arrows/knives/darts) $c1(Exp Gain:) $c2(137.5) | halt }
if ($2- == super restore) { %spell.display $c3(Super Restore Potion) $+ $c1(Herb:) $c2(Snapdragon) $c1(Lvl:) $c2(63) $c1(Seconds:) $c2(Red Spiders' eggs) $c1(Effects:) $c2(Restores all non Health stats partially) $c1(Exp Gain:) $c2(142.5) | halt }
if ($2- == super def || $2- == super defence) { %spell.display $c3(Super Defence Potion) $+ $c1(Herb:) $c2(Cadantine) $c1(Lvl:) $c2(66) $c1(Seconds:) $c2(White Berries) $c1(Effects:) $c2(Temporarily increased Defence by 20%) $c1(Exp Gain:) $c2(150) | halt }
if ($2- == extra strong antidote) { %spell.display $c3(Extra Strong Antidote) $+ $c1(Herb:) $c2(Toadflax(coconut milk)) $c1(Lvl:) $c2(68) $c1(Seconds:) $c2(Yew roots) $c1(Effects:) $c2(Temporarily cures poison / adds longer resistance) $c1(Exp Gain:) $c2(155) | halt }
if ($2- == fire || $2- == antifire) { %spell.display $c3(Antifire Potion) $+ $c1(Herb:) $c2(Lantadyme) $c1(Lvl:) $c2(69) $c1(Seconds:) $c2(Ground Blue Dragon Scale) $c1(Effects:) $c2(Temporarily increased resistance for Dragonbreath) $c1(Exp Gain:) $c2(157.5) | halt }
if ($2- == range) { %spell.display $c3(Range Potion) $+ $c1(Herb:) $c2(Dwarf Weed) $c1(Lvl:) $c2(72) $c1(Seconds:) $c2(Wine of Zamorak) $c1(Effects:) $c2(Temporarily increased Ranged by 3 lvls and 10%) $c1(Exp Gain:) $c2(162.5) | halt }
if ($2- == weapon poison (+)) { %spell.display $c3(Weapon Poison (+)) $+ $c1(Herb:) $c2(Cactus Spine(coconut milk)) $c1(Lvl:) $c2(73) $c1(Seconds:) $c2(Red Spiders' eggs) $c1(Effects:) $c2(Adds (+) poison to daggers / Spears / 10 arrows/knives/darts) $c1(Exp Gain:) $c2(165) | halt }
if ($2- == magic potion) { %spell.display $c3(Magic Potion) $+ $c1(Herb:) $c2(Lantadyme) $c1(Lvl:) $c2(76) $c1(Seconds:) $c2(Potato Cactus) $c1(Effects:) $c2(Temporarily increased Magic by 4 lvls) $c1(Exp Gain:) $c2(172.5) | halt }
if ($2- == zammy || $2- == zamorak || $2- == brew) { %spell.display $c3(Zamorak Brew) $+ $c1(Herb:) $c2(Torstol) $c1(Lvl:) $c2(78) $c1(Seconds:) $c2(Janger Berries) $c1(Effects:) $c2(Temporarily increased Attack / Strength) $+ $c1(<->) $+ $c2(Decreased Hits / Defence) $c1(Exp Gain:) $c2(175) | halt }
if ($2- == super strong antidote) { %spell.display $c3(Super Strong Antidote) $+ $c1(Herb:) $c2(Irit Leaf(coconut milk)) $c1(Lvl:) $c2(79) $c1(Seconds:) $c2(Magic Roots) $c1(Effects:) $c2(Temporarily cures poison / adds long time resistance) $c1(Exp Gain:) $c2(177.5) | halt }
if ($2- == sara || $2- == saradomin || $2- == brew) { %spell.display $c3(Saradomin Brew) $+ $c1(Herb:) $c2(Toadflax) $c1(Lvl:) $c2(81) $c1(Seconds:) $c2(Crushed Nest) $c1(Effects:) $c2(Temporarily increased Health by 15% / Defense 25% / Decreased Attack Strength Ranged and Magic 12.5%) $c1(Exp Gain:) $c2(180) | halt }
if ($2- == weapon poison(++)) { %spell.display $c3(Weapon Poison (++)) $+ $c1(Herb:) $c2(Nightshade(coconut milk)) $c1(Lvl:) $c2(82) $c1(Seconds:) $c2(Poisonivy Berries) $c1(Effects:) $c2(Adds (++) poison to daggers / Spears / 10 arrows/knives/darts) $c1(Exp Gain:) $c2(190) | halt }
else { %spell.display $c3(Potion not found. Make sure all words are spelled correctly, and in proper order. Also make sure it is a real potion; try keywords.) | halt
}
}