Script Pasting Help

Posted by Kresslack on Sat 08 Nov 2008 06:57 PM — 3 posts, 15,098 views.

#0
Having trouble figuring out how to import codes posted on the forum such as this one:

#CLASS {AetolianHandies|HerbHelper}
#ALIAS whatis {#if (%1=ash) {
#echo Prickly Ash Cures: Dementia, Hallucinations,
#ECHO Confusion, Paranoia, Hypersomnia and Hatred
} {#if (%1=goldenseal) {
#echo Goldenseal cures: Stupidity, Dizziness, Shyness, Epilepsy
#CR
#ECHO Impatience and indifference
} {#if (%1=kelp) {
#echo Kelp cures: Clumsiness, Weariness, Asthma,:
#ECHO Sensitivity, Hypochondria and Blood Poisoning
} {#if (%1=lobelia) {
#echo Lobelia Cures: Berserking, Recklessness, Masochism,
#ECHO Agoraphobia, Loneliness, Vertigo
#ECHO and claustrophobia
} {#if (%1=ginseng) {
#echo Ginseng cures: Haemophilia, Darkshade, Lethargy, Vomiting
#ECHO Thin Blood and Addiction
} {#if (%1=bellwort) {
#echo Bellwort cures: Pacifism, Peace, Lover's Effect,
#CR
#ECHO Justice and Generosity
} {#if (%1=elm) {#echo Elm cures (when smoked): Aeon, Hellsight and Deadening} {#if (%1=bloodroot) {#echo Bloodroot cures: Paralysis and Slickness} {#if (%1=valerian) {#echo Valerian cures (when smoked): Slickness and disfigurement} {#if (%1=myrrh) {#echo Myrrh cures nothing} {#if (%1=skullcap) {#echo Skullcap Eaten gives dEathsight, smoked gives rebounding} {#if (%1=moss) {#echo Irid Moss gives 10% of health and mana when Eaten} {#if (%1=iridmoss) {#echo Irid Moss gives 10% of health and mana when Eaten} {#if (%1=dementia) {#echo Dementia: Eat Prickly Ash} {#if (%1=hallucinations) {#echo Hallucinations are cured by ingesting Prickly Ash} {#if (%1=confusion) {#echo Confusion: Eat Prickly Ash} {#if (%1=paranoia) {#echo Paranoia: Eat Prickly Ash} {#if (%1=hypersomnia) {#echo Hypersomnia: Eat Prickly Ash} {#if (%1=hatred) {#echo Hatred: Eat Prickly Ash} {#if (%1=stupidity) {#echo Stupidity: Eat Goldenseal} {#if (%1=dizziness) {#echo Dizziness: Eat Goldenseal} {#if (%1=shyness) {#echo Shyness: Eat Goldenseal} {#if (%1=epilepsy) {#echo Epilepsy: Eat Goldenseal} {#if (%1=impatience) {#echo Impatience: Eat Goldenseal} {#if (%1=indifference) {#echo Indifference: Eat Goldenseal} {#if (%1=clumsiness) {#echo Clumsiness: Eat Kelp} {#if (%1=weariness) {#echo Weariness: Eat Kelp} {#if (%1=asthma) {#echo Asthma: Eat Kelp} {#if (%1=sensitivity) {#echo Sensitivity: Eat Kelp} {#if (%1=hypochondria) {#echo Hypochondria: Eat Kelp} {#if (%1=bloodpoisoning) {#echo Blood Poisoning: Eat Kelp} {#if (%1=berserking) {#echo Berserking: Eat Lobelia} {#if (%1=recklessness) {#echo Recklessness is cured by ingseting Lobelia} {#if (%1=masochism) {#echo Masochism: Eat Lobelia} {#if (%1=agoraphobia) {#echo Agoraphobia: Eat Lobelia} {#if (%1=loneliness) {#echo Loneliness: Eat Lobelia} {#if (%1=claustrophobia) {#echo Claustrophobia: Eat Lobelia} {#if (%1=haemophilia) {#echo Haemophilia: Eat Ginseng} {#if (%1=darkshade) {#echo Darkshade: Eat Ginseng} {#if (%1=lethargy) {#echo Lethargy: Eat Ginseng} {#if (%1=vomiting) {#echo Vomiting: Eat Ginseng} {#if (%1=thinblood) {#echo Thin Blood: Eat Ginseng} {#if (%1=addiction) {#echo Addiction: Eat Ginseng} {#if (%1=pacifism) {#echo Pacifism: Eat Bellwort} {#if (%1=peace) {#echo Peace: Eat Bellwort} {#if (%1=lovers) {#echo Lover's Effect: Eat Bellwort} {#if (%1=justice) {#echo Justice: Eat Bellwort} {#if (%1=generosity) {#echo Generosity: Eat Bellwort} {#if (%1=aeon) {#echo Aeon: Smoke Elm} {#if (%1=hellsight) {#echo Hellsigh: Smoke Elm} {#if (%1=deadening) {#echo Deadening: Smoke Elm} {#if (%1=paralysis) {#echo Paralysis: Eat Bloodroot} {#if (%1=slickness) {#echo Slickness: Smoke Valerian/Eat Bloodroot} {#if (%1=learning) {#echo Enhanced Learning: Eat Myrrh (useless)} {#if (%1=rebounding) {#echo Rebounding: Smoke Skullcap} {#if (%1=deathsight) {#echo Deathsight: Eat Skullcap} {#if (%1=limb OR %1=limbs) {#echo Limb Damage: Apply Mending/Restoration} {#if (%1=ablaze) {#echo Ablaze: Apply Mending} {#if (%1=anorexia) {#echo Anorexia: Apply Epidermal} {#if (%1=suttering) {#echo Stuttering: Apply Epidermal} {#if (%1=blind) {#echo Blindness: Apply Epidermal} {#if (%1=deaf) {#echo Deafness: Apply Epidermal} {#if (%1=cold OR %1=freezing OR %1=shivering) {#echo Cold: Apply Caloric} {#if (%1=fear) {#ECHO Fear: Compose} {#if (%1=voyria) {#echo Voyria: Drink Immunity} {#echo No such Affliction/Herb/Elixir/Salve with curing properties}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
#CLASS 0

Pasting it into the command bar does nothing but spam the screen, and when I go to File>Import, the Clipboard option is greyed out. Can someone help me with this please?
Australia Forum Administrator #1
This looks like tintin code to me (or zMud / cMud) - MUSHclient grays out the paste button because it does not recognise the code as starting with valid XML for it.

There have been various posts about making aliases that will interpret this sort of stuff, try searching for #ALIAS.
#2
Ah, I was afraid of that. Thank you.