Osrel Meraud *KS* (script)

From Elanthipedia
Jump to navigation Jump to search
Osrel Meraud *KS* (script)
Category Cleric,Magic,Osrel Meraud
Front-end StormFront
Author Kashna

What This Script Does

This script makes heavy use of variables to fill your Osrel Meraud orb. If the orb is depleted, it will first charge your orb, then load your chosen spells into it. You may also skip loading spells in and only charge the orb to full by starting it with the "charge" variable. I recommend using the script name of "OM".

Start the script as:

Start Command Result
.om If orb is depleted: charges orb then loads spells.
If orb has spells present: charges orb then ends
If orb has energy and has no spells: loads spells
.om charge charges orb to full

This script will notify you at the end of which spells you have loaded. It will also pause for a short time if you strain to cast or strain to charge your cambrinth. Doing so will cause it to discharge the cambrinth mana by casting a 1 mana bless, then waiting approximately two minutes before resuming on the spell where it left off.

Using It For The First Time

This script makes heavy use of variables.

Be sure to edit the first portion of the script to adjust the necessary variables. These include: (1) cambrinth items to use, (2) how much to cast OM at, and if you want to infuse it or not, (3) what spells to load and for how much mana to prepare them for, (4) mana to charge your cambrinth for each spell, and if these are battle spells or not. After initial setup these should remain constant until you've gained a significant amount of magic experience and/or gained space for an additional spell (see Osrel Meraud page for details).

Latest Update

Last Updated: 5-6-2019

  • Added in a check to see if there are spells in it. If so, then the basic ".om" start will provide a prompt... then automatically continue on to charge the orb, rather than attempt to load spells in.
  • Script created and uploaded to Elanthipedia

OM (Script)

# Do you want to use 1 or 2 cambrinth items?
setvariable CAMBTotal 2

# What is the description of your first cambrinth?
setvariable CAMB1Desc cambrinth
setvariable CAMB1Item armband

# What is the description of your second cambrinth?
setvariable CAMB2Desc cambrinth
setvariable CAMB2Item wristc

# This script assumes that cambrinth is worn.
# Must your cambrinth be removed or no?  Respond with "yes" or "no"
setvariable CAMBRemove no

# Assuming your orb is not currently charged,
# For how much mana would you like to cast OM?  (OM uses no cambrinth)
setvariable ManaForOM 33

# Would you prefer to use infusion for OM instead?
setvariable OMInfusion no

# Use the following sets of variables to determine
# which spells to cast ans the mana to cast them at.
# If only using 1 cambrinth, you may leave the second blank

# Note: Battle Spells only have the time to charge 1 cambrinth
# If the spell being cast is a Battle Spell, then 
# change the SPELL#Battle from 'no' to 'yes'

# Also declare if that spell slot is used or not with a 'yes' or 'no'

# Use Spell 1?
setvariable Spell1Use yes
# Spell 1
setvariable Spell1Spell sol
# Spell 1 Mana
setvariable Spell1Mana 12
setvariable Spell1Camb1 10
setvariable Spell1Camb2 10
# Is Spell 1 a battle spell?
setvariable Spell1Battle yes

# Use Spell 2?
setvariable Spell2Use yes
# Spell 2
setvariable Spell2Spell mpp
# Spell 2 Mana
setvariable Spell2Mana 15
setvariable Spell2Camb1 20
setvariable Spell2Camb2 20
# Is Spell 2 a battle spell?
setvariable Spell2Battle no

# Use Spell 3?
setvariable Spell3Use yes
# Spell 3
setvariable Spell3Spell mapp
# Spell 3 Mana
setvariable Spell3Mana 18
setvariable Spell3Camb1 15
setvariable Spell3Camb2 15
# Is Spell 3 a battle spell?
setvariable Spell3Battle no

# Use Spell 4?
setvariable Spell4Use no
# Spell 4
setvariable Spell4Spell none
# Spell 4 Mana
setvariable Spell4Mana 
setvariable Spell4Camb1 
setvariable Spell4Camb2 
# Is Spell 4 a battle spell?
setvariable Spell4Battle no

# Use Spell 5?
setvariable Spell5Use no
# Spell 5
setvariable Spell5Spell none
# Spell 5 Mana
setvariable Spell5Mana 
setvariable Spell5Camb1 
setvariable Spell5Camb2 
# Is Spell 5 a battle spell?
setvariable Spell5Battle no

# Use Spell 6?
setvariable Spell6Use no
# Spell 6
setvariable Spell6Spell none
# Spell 6 Mana
setvariable Spell6Mana 
setvariable Spell6Camb1 
setvariable Spell6Camb2 
# Is Spell 6 a battle spell?
setvariable Spell6Battle no

# Use Spell 7?
setvariable Spell7Use no
# Spell 7
setvariable Spell7Spell none
# Spell 7 Mana
setvariable Spell7Mana 
setvariable Spell7Camb1 
setvariable Spell7Camb2 
# Is Spell 7 a battle spell?
setvariable Spell7Battle no

# Use Spell 8?
setvariable Spell8Use no
# Spell 8
setvariable Spell8Spell none
# Spell 8 Mana
setvariable Spell8Mana 
setvariable Spell8Camb1 
setvariable Spell8Camb2 
# Is Spell 8 a battle spell?
setvariable Spell8Battle no

# Use Spell 9?
setvariable Spell9Use no
# Spell 9
setvariable Spell9Spell none
# Spell 9 Mana
setvariable Spell9Mana 
setvariable Spell9Camb1 
setvariable Spell9Camb2 
# Is Spell 9 a battle spell?
setvariable Spell9Battle no

# Use Spell 10?
setvariable Spell10Use no
# Spell 10
setvariable Spell10Spell none
# Spell 10 Mana
setvariable Spell10Mana 
setvariable Spell10Camb1 
setvariable Spell10Camb2 
# Is Spell 10 a battle spell?
setvariable Spell10Battle no

# Use Spell 11?
setvariable Spell11Use no
# Spell 11
setvariable Spell11Spell none
# Spell 11 Mana
setvariable Spell11Mana 
setvariable Spell11Camb1 
setvariable Spell11Camb2 
# Is Spell 11 a battle spell?
setvariable Spell11Battle no

# Use Spell 12?
setvariable Spell12Use no
# Spell 12
setvariable Spell12Spell 
# Spell 12 Mana
setvariable Spell12Mana 
setvariable Spell12Camb1 
setvariable Spell12Camb2 
# Is Spell 12 a battle spell?
setvariable Spell12Battle no


#DONE SETTING VARIABLES  -  SCRIPT BEGINS HERE

goto GetCamb%CAMBRemove

GetCambYes:
put remove my %CAMB1Desc %CAMB1Item
goto RemoveSecondCamb%CAMBTotal

RemoveSecondCamb2:
put remove my %CAMB2Desc %CAMB2Item

RemoveSecondCamb1:
GetCambNo:
goto Start%1

Start:
setvariable OnlyCharge no
setvariable CASTING Spell1

FocOrb:
pause 1
put foc my orb
match OrbNeedsCharging depleted of power
match OrbHasSpells You sense the
match StartSpell1 Roundtime
matchwait

StartSpell1:
Spell1Prep:
pause 1
put prep %Spell1Spell %Spell1Mana
match Spell1Prep ...wait
match StrainRelease strain
match Spell1Charge you begin chanting
matchwait

Spell1Charge:
goto Spell1ChargeBattle%Spell1Battle

Spell1ChargeBattleNo:
goto Spell1Charge%CAMBTotal

Spell1Charge2:
pause 1
put charg my %CAMB2Desc %CAMB2Item %Spell1Camb2
match Spell1Charge1 absorbs
match SkipDischargeWait dissipates
match DoDischargeWait strain
match Spell1Charge2 ...wait
matchwait

Spell1ChargeBattleYes:
Spell1Charge1:
pause 1
put charg my %CAMB1Desc %CAMB1Item %Spell1Camb1
match Spell1Invoke absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell1Charge1 ...wait
matchwait

Spell1Invoke:
goto Spell1InvokeBattle%Spell1Battle

Spell1InvokeBattleNo:
Spell1Invoke2:
put invoke my %CAMB2Desc %CAMB2Item 
match Spell1Invoke1 Roundtime
match Spell1Invoke2 ...wait
matchwait

Spell1InvokeBattleYes:
Spell1Invoke1:
put invoke my %CAMB1Desc %CAMB1Item 
match Spell1WaitForCast Roundtime
match Spell1Invoke1 ...wait
matchwait

Spell1WaitForCast:
waitfor fully prepared to cast your
goto Spell1Cast

Spell1Cast:
put touch my orb
match Backfire backfires
match Spell1Cast ...wait
match OrbFull harness this combination of spells
match OrbNeedsCharging all but extinguished
match DischargeCamb but are too mentally fatigued
match Spell2Check Roundtime
matchwait

Spell2Check:
goto StartSpell2%Spell2Use

StartSpell2Yes:
StartSpell2:
Spell2Prep:
pause 1
setvariable CASTING Spell2
put prep %Spell2Spell %Spell2Mana
match Spell2Prep ...wait
match StrainRelease strain
match Spell2Charge you begin chanting
matchwait

Spell2Charge:
goto Spell2ChargeBattle%Spell2Battle

Spell2ChargeBattleNo:
goto Spell2Charge%CAMBTotal

Spell2Charge2:
pause 1
put charg my %CAMB2Desc %CAMB2Item %Spell2Camb2
match Spell2Charge1 absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell2Charge2 ...wait
matchwait

Spell2ChargeBattleYes:
Spell2Charge1:
pause 1
put charg my %CAMB1Desc %CAMB1Item %Spell2Camb1
match Spell2Invoke absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell2Charge1 ...wait
matchwait

Spell2Invoke:
goto Spell2InvokeBattle%Spell2Battle

Spell2InvokeBattleNo:
Spell2Invoke2:
put invoke my %CAMB2Desc %CAMB2Item 
match Spell2Invoke1 Roundtime
match Spell2Invoke2 ...wait
matchwait

Spell2InvokeBattleYes:
Spell2Invoke1:
put invoke my %CAMB1Desc %CAMB1Item 
match Spell2WaitForCast Roundtime
match Spell2Invoke1 ...wait
matchwait

Spell2WaitForCast:
waitfor fully prepared to cast your
goto Spell2Cast

Spell2Cast:
put touch my orb
match Backfire backfires
match Spell2Cast ...wait
match OrbFull harness this combination of spells
match OrbNeedsCharging all but extinguished
match DischargeCamb but are too mentally fatigued
match Spell3Check Roundtime
matchwait

Spell3Check:
goto StartSpell3%Spell3Use

StartSpell3Yes:
StartSpell3:
Spell3Prep:
pause 1
setvariable CASTING Spell3
put prep %Spell3Spell %Spell3Mana
match Spell3Prep ...wait
match StrainRelease strain
match Spell3Charge you begin chanting
matchwait

Spell3Charge:
goto Spell3ChargeBattle%Spell3Battle

Spell3ChargeBattleNo:
goto Spell3Charge%CAMBTotal

Spell3Charge2:
pause 1
put charg my %CAMB2Desc %CAMB2Item %Spell3Camb2
match Spell3Charge1 absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell3Charge2 ...wait
matchwait

Spell3ChargeBattleYes:
Spell3Charge1:
pause 1
put charg my %CAMB1Desc %CAMB1Item %Spell3Camb1
match Spell3Invoke absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell3Charge1 ...wait
matchwait

Spell3Invoke:
goto Spell3InvokeBattle%Spell3Battle

Spell3InvokeBattleNo:
Spell3Invoke2:
put invoke my %CAMB2Desc %CAMB2Item 
match Spell3Invoke1 Roundtime
match Spell3Invoke2 ...wait
matchwait

Spell3InvokeBattleYes:
Spell3Invoke1:
put invoke my %CAMB1Desc %CAMB1Item 
match Spell3WaitForCast Roundtime
match Spell3Invoke1 ...wait
matchwait

Spell3WaitForCast:
waitfor fully prepared to cast your
goto Spell3Cast

Spell3Cast:
put touch my orb
match Backfire backfires
match Spell3Cast ...wait
match OrbFull harness this combination of spells
match OrbNeedsCharging all but extinguished
match DischargeCamb but are too mentally fatigued
match Spell4Check Roundtime
matchwait

Spell4Check:
goto StartSpell4%Spell4Use

StartSpell4Yes:
StartSpell4:
Spell4Prep:
pause 1
setvariable CASTING Spell4
put prep %Spell4Spell %Spell4Mana
match Spell4Prep ...wait
match StrainRelease strain
match Spell4Charge you begin chanting
matchwait

Spell4Charge:
goto Spell4ChargeBattle%Spell4Battle

Spell4ChargeBattleNo:
goto Spell4Charge%CAMBTotal

Spell4Charge2:
pause 1
put charg my %CAMB2Desc %CAMB2Item %Spell4Camb2
match Spell4Charge1 absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell4Charge2 ...wait
matchwait

Spell4ChargeBattleYes:
Spell4Charge1:
pause 1
put charg my %CAMB1Desc %CAMB1Item %Spell4Camb1
match Spell4Invoke absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell4Charge1 ...wait
matchwait

Spell4Invoke:
goto Spell4InvokeBattle%Spell4Battle

Spell4InvokeBattleNo:
Spell4Invoke2:
put invoke my %CAMB2Desc %CAMB2Item 
match Spell4Invoke1 Roundtime
match Spell4Invoke2 ...wait
matchwait

Spell4InvokeBattleYes:
Spell4Invoke1:
put invoke my %CAMB1Desc %CAMB1Item 
match Spell4WaitForCast Roundtime
match Spell4Invoke1 ...wait
matchwait

Spell4WaitForCast:
waitfor fully prepared to cast your
goto Spell4Cast

Spell4Cast:
put touch my orb
match Backfire backfires
match Spell4Cast ...wait
match OrbFull harness this combination of spells
match OrbNeedsCharging all but extinguished
match DischargeCamb but are too mentally fatigued
match Spell5Check Roundtime
matchwait

Spell5Check:
goto StartSpell5%Spell5Use

StartSpell5Yes:
StartSpell5:
Spell5Prep:
pause 1
setvariable CASTING Spell5
put prep %Spell5Spell %Spell5Mana
match Spell5Prep ...wait
match StrainRelease strain
match Spell5Charge you begin chanting
matchwait

Spell5Charge:
goto Spell5ChargeBattle%Spell5Battle

Spell5ChargeBattleNo:
goto Spell5Charge%CAMBTotal

Spell5Charge2:
pause 1
put charg my %CAMB2Desc %CAMB2Item %Spell5Camb2
match Spell5Charge1 absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell5Charge2 ...wait
matchwait

Spell5ChargeBattleYes:
Spell5Charge1:
pause 1
put charg my %CAMB1Desc %CAMB1Item %Spell5Camb1
match Spell5Invoke absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell5Charge1 ...wait
matchwait

Spell5Invoke:
goto Spell5InvokeBattle%Spell5Battle

Spell5InvokeBattleNo:
Spell5Invoke2:
put invoke my %CAMB2Desc %CAMB2Item 
match Spell5Invoke1 Roundtime
match Spell5Invoke2 ...wait
matchwait

Spell5InvokeBattleYes:
Spell5Invoke1:
put invoke my %CAMB1Desc %CAMB1Item 
match Spell5WaitForCast Roundtime
match Spell5Invoke1 ...wait
matchwait

Spell5WaitForCast:
waitfor fully prepared to cast your
goto Spell5Cast

Spell5Cast:
put touch my orb
match Backfire backfires
match Spell5Cast ...wait
match OrbFull harness this combination of spells
match OrbNeedsCharging all but extinguished
match DischargeCamb but are too mentally fatigued
match Spell6Check Roundtime
matchwait

Spell6Check:
goto StartSpell6%Spell6Use

StartSpell6Yes:
StartSpell6:
Spell6Prep:
pause 1
setvariable CASTING Spell6
put prep %Spell6Spell %Spell6Mana
match Spell6Prep ...wait
match StrainRelease strain
match Spell6Charge you begin chanting
matchwait

Spell6Charge:
goto Spell6ChargeBattle%Spell6Battle

Spell6ChargeBattleNo:
goto Spell6Charge%CAMBTotal

Spell6Charge2:
pause 1
put charg my %CAMB2Desc %CAMB2Item %Spell6Camb2
match Spell6Charge1 absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell6Charge2 ...wait
matchwait

Spell6ChargeBattleYes:
Spell6Charge1:
pause 1
put charg my %CAMB1Desc %CAMB1Item %Spell6Camb1
match Spell6Invoke absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell6Charge1 ...wait
matchwait

Spell6Invoke:
goto Spell6InvokeBattle%Spell6Battle

Spell6InvokeBattleNo:
Spell6Invoke2:
put invoke my %CAMB2Desc %CAMB2Item 
match Spell6Invoke1 Roundtime
match Spell6Invoke2 ...wait
matchwait

Spell6InvokeBattleYes:
Spell6Invoke1:
put invoke my %CAMB1Desc %CAMB1Item 
match Spell6WaitForCast Roundtime
match Spell6Invoke1 ...wait
matchwait

Spell6WaitForCast:
waitfor fully prepared to cast your
goto Spell6Cast

Spell6Cast:
put touch my orb
match Backfire backfires
match Spell6Cast ...wait
match OrbFull harness this combination of spells
match OrbNeedsCharging all but extinguished
match DischargeCamb but are too mentally fatigued
match Spell7Check Roundtime
matchwait

Spell7Check:
goto StartSpell7%Spell7Use

StartSpell7Yes:
StartSpell7:
Spell7Prep:
pause 1
setvariable CASTING Spell7
put prep %Spell7Spell %Spell7Mana
match Spell7Prep ...wait
match StrainRelease strain
match Spell7Charge you begin chanting
matchwait

Spell7Charge:
goto Spell7ChargeBattle%Spell7Battle

Spell7ChargeBattleNo:
goto Spell7Charge%CAMBTotal

Spell7Charge2:
pause 1
put charg my %CAMB2Desc %CAMB2Item %Spell7Camb2
match Spell7Charge1 absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell7Charge2 ...wait
matchwait

Spell7ChargeBattleYes:
Spell7Charge1:
pause 1
put charg my %CAMB1Desc %CAMB1Item %Spell7Camb1
match Spell7Invoke absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell7Charge1 ...wait
matchwait

Spell7Invoke:
goto Spell7InvokeBattle%Spell7Battle

Spell7InvokeBattleNo:
Spell7Invoke2:
put invoke my %CAMB2Desc %CAMB2Item 
match Spell7Invoke1 Roundtime
match Spell7Invoke2 ...wait
matchwait

Spell7InvokeBattleYes:
Spell7Invoke1:
put invoke my %CAMB1Desc %CAMB1Item 
match Spell7WaitForCast Roundtime
match Spell7Invoke1 ...wait
matchwait

Spell7WaitForCast:
waitfor fully prepared to cast your
goto Spell7Cast

Spell7Cast:
put touch my orb
match Backfire backfires
match Spell7Cast ...wait
match OrbFull harness this combination of spells
match OrbNeedsCharging all but extinguished
match DischargeCamb but are too mentally fatigued
match Spell8Check Roundtime
matchwait

Spell8Check:
goto StartSpell8%Spell8Use

StartSpell8Yes:
StartSpell8:
Spell8Prep:
pause 1
setvariable CASTING Spell8
put prep %Spell8Spell %Spell8Mana
match Spell8Prep ...wait
match StrainRelease strain
match Spell8Charge you begin chanting
matchwait

Spell8Charge:
goto Spell8ChargeBattle%Spell8Battle

Spell8ChargeBattleNo:
goto Spell8Charge%CAMBTotal

Spell8Charge2:
pause 1
put charg my %CAMB2Desc %CAMB2Item %Spell8Camb2
match Spell8Charge1 absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell8Charge2 ...wait
matchwait

Spell8ChargeBattleYes:
Spell8Charge1:
pause 1
put charg my %CAMB1Desc %CAMB1Item %Spell8Camb1
match Spell8Invoke absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell8Charge1 ...wait
matchwait

Spell8Invoke:
goto Spell8InvokeBattle%Spell8Battle

Spell8InvokeBattleNo:
Spell8Invoke2:
put invoke my %CAMB2Desc %CAMB2Item 
match Spell8Invoke1 Roundtime
match Spell8Invoke2 ...wait
matchwait

Spell8InvokeBattleYes:
Spell8Invoke1:
put invoke my %CAMB1Desc %CAMB1Item 
match Spell8WaitForCast Roundtime
match Spell8Invoke1 ...wait
matchwait

Spell8WaitForCast:
waitfor fully prepared to cast your
goto Spell8Cast

Spell8Cast:
put touch my orb
match Backfire backfires
match Spell8Cast ...wait
match OrbFull harness this combination of spells
match OrbNeedsCharging all but extinguished
match DischargeCamb but are too mentally fatigued
match Spell9Check Roundtime
matchwait

Spell9Check:
goto StartSpell9%Spell9Use

StartSpell9Yes:
StartSpell9:
Spell9Prep:
pause 1
setvariable CASTING Spell9
put prep %Spell9Spell %Spell9Mana
match Spell9Prep ...wait
match StrainRelease strain
match Spell9Charge you begin chanting
matchwait

Spell9Charge:
goto Spell9ChargeBattle%Spell9Battle

Spell9ChargeBattleNo:
goto Spell9Charge%CAMBTotal

Spell9Charge2:
pause 1
put charg my %CAMB2Desc %CAMB2Item %Spell9Camb2
match Spell9Charge1 absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell9Charge2 ...wait
matchwait

Spell9ChargeBattleYes:
Spell9Charge1:
pause 1
put charg my %CAMB1Desc %CAMB1Item %Spell9Camb1
match Spell9Invoke absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell9Charge1 ...wait
matchwait

Spell9Invoke:
goto Spell9InvokeBattle%Spell9Battle

Spell9InvokeBattleNo:
Spell9Invoke2:
put invoke my %CAMB2Desc %CAMB2Item 
match Spell9Invoke1 Roundtime
match Spell9Invoke2 ...wait
matchwait

Spell9InvokeBattleYes:
Spell9Invoke1:
put invoke my %CAMB1Desc %CAMB1Item 
match Spell9WaitForCast Roundtime
match Spell9Invoke1 ...wait
matchwait

Spell9WaitForCast:
waitfor fully prepared to cast your
goto Spell9Cast

Spell9Cast:
put touch my orb
match Backfire backfires
match Spell9Cast ...wait
match OrbFull harness this combination of spells
match OrbNeedsCharging all but extinguished
match DischargeCamb but are too mentally fatigued
match Spell10Check Roundtime
matchwait

Spell10Check:
goto StartSpell10%Spell10Use

StartSpell10Yes:
StartSpell10:
Spell10Prep:
pause 1
setvariable CASTING Spell10
put prep %Spell10Spell %Spell10Mana
match Spell10Prep ...wait
match StrainRelease strain
match Spell10Charge you begin chanting
matchwait

Spell10Charge:
goto Spell10ChargeBattle%Spell10Battle

Spell10ChargeBattleNo:
goto Spell10Charge%CAMBTotal

Spell10Charge2:
pause 1
put charg my %CAMB2Desc %CAMB2Item %Spell10Camb2
match Spell10Charge1 absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell10Charge2 ...wait
matchwait

Spell10ChargeBattleYes:
Spell10Charge1:
pause 1
put charg my %CAMB1Desc %CAMB1Item %Spell10Camb1
match Spell10Invoke absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell10Charge1 ...wait
matchwait

Spell10Invoke:
goto Spell10InvokeBattle%Spell10Battle

Spell10InvokeBattleNo:
Spell10Invoke2:
put invoke my %CAMB2Desc %CAMB2Item 
match Spell10Invoke1 Roundtime
match Spell10Invoke2 ...wait
matchwait

Spell10InvokeBattleYes:
Spell10Invoke1:
put invoke my %CAMB1Desc %CAMB1Item 
match Spell10WaitForCast Roundtime
match Spell10Invoke1 ...wait
matchwait

Spell10WaitForCast:
waitfor fully prepared to cast your
goto Spell10Cast

Spell10Cast:
put touch my orb
match Backfire backfires
match Spell10Cast ...wait
match OrbFull harness this combination of spells
match OrbNeedsCharging all but extinguished
match DischargeCamb but are too mentally fatigued
match Spell11Check Roundtime
matchwait

Spell11Check:
goto StartSpell11%Spell11Use

StartSpell11Yes:
StartSpell11:
Spell11Prep:
pause 1
setvariable CASTING Spell11
put prep %Spell11Spell %Spell11Mana
match Spell11Prep ...wait
match StrainRelease strain
match Spell11Charge you begin chanting
matchwait

Spell11Charge:
goto Spell11ChargeBattle%Spell11Battle

Spell11ChargeBattleNo:
goto Spell11Charge%CAMBTotal

Spell11Charge2:
pause 1
put charg my %CAMB2Desc %CAMB2Item %Spell11Camb2
match Spell11Charge1 absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell11Charge2 ...wait
matchwait

Spell11ChargeBattleYes:
Spell11Charge1:
pause 1
put charg my %CAMB1Desc %CAMB1Item %Spell11Camb1
match Spell11Invoke absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell11Charge1 ...wait
matchwait

Spell11Invoke:
goto Spell11InvokeBattle%Spell11Battle

Spell11InvokeBattleNo:
Spell11Invoke2:
put invoke my %CAMB2Desc %CAMB2Item 
match Spell11Invoke1 Roundtime
match Spell11Invoke2 ...wait
matchwait

Spell11InvokeBattleYes:
Spell11Invoke1:
put invoke my %CAMB1Desc %CAMB1Item 
match Spell11WaitForCast Roundtime
match Spell11Invoke1 ...wait
matchwait

Spell11WaitForCast:
waitfor fully prepared to cast your
goto Spell11Cast

Spell11Cast:
put touch my orb
match Backfire backfires
match Spell11Cast ...wait
match OrbFull harness this combination of spells
match OrbNeedsCharging all but extinguished
match DischargeCamb but are too mentally fatigued
match Spell12Check Roundtime
matchwait

Spell12Check:
goto StartSpell12%Spell12Use

StartSpell12Yes:
StartSpell12:
Spell12Prep:
pause 1
setvariable CASTING Spell12
put prep %Spell12Spell %Spell12Mana
match Spell12Prep ...wait
match StrainRelease strain
match Spell12Charge you begin chanting
matchwait

Spell12Charge:
goto Spell12ChargeBattle%Spell12Battle

Spell12ChargeBattleNo:
goto Spell12Charge%CAMBTotal

Spell12Charge2:
pause 1
put charg my %CAMB2Desc %CAMB2Item %Spell12Camb2
match Spell12Charge1 absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell12Charge2 ...wait
matchwait

Spell12ChargeBattleYes:
Spell12Charge1:
pause 1
put charg my %CAMB1Desc %CAMB1Item %Spell12Camb1
match Spell12Invoke absorbs
match DischargeCamb dissipates
match DischargeCamb strain
match Spell12Charge1 ...wait
matchwait

Spell12Invoke:
goto Spell12InvokeBattle%Spell12Battle

Spell12InvokeBattleNo:
Spell12Invoke2:
put invoke my %CAMB2Desc %CAMB2Item 
match Spell12Invoke1 Roundtime
match Spell12Invoke2 ...wait
matchwait

Spell12InvokeBattleYes:
Spell12Invoke1:
put invoke my %CAMB1Desc %CAMB1Item 
match Spell12WaitForCast Roundtime
match Spell12Invoke1 ...wait
matchwait

Spell12WaitForCast:
waitfor fully prepared to cast your
goto Spell12Cast

Spell12Cast:
put touch my orb
match Backfire backfires
match Spell12Cast ...wait
match OrbFull harness this combination of spells
match OrbNeedsCharging all but extinguished
match DischargeCamb but are too mentally fatigued
match Done Roundtime
matchwait

OrbFull:
pause 2
echo
echo ************************************
echo **  Osrel Meraud can hold no more spells
echo **
echo **  This was discovered while attempting to cast %CASTING
echo ************************************
echo
exit

StartSpell2No:
StartSpell3No:
StartSpell4No:
StartSpell5No:
StartSpell6No:
StartSpell7No:
StartSpell8No:
StartSpell9No:
StartSpell10No:
StartSpell11No:
StartSpell12No:
Done:
pause 2
echo
echo ************************************
echo **
echo **  Osrel Meraud has been successfully loaded
echo **
echo **  It should now contain:
echo **  Spell 1: %Spell1Spell             Spell 2: %Spell2Spell
goto ShowSpell3%Spell3Use
ShowSpell3Yes:
echo **  Spell 3: %Spell3Spell             Spell 4: %Spell4Spell
goto ShowSpell5%Spell5Use
ShowSpell5Yes:
echo **  Spell 5:  %Spell5Spell            Spell 6: %Spell6Spell
goto ShowSpell7%Spell7Use
ShowSpell7Yes:
echo **  Spell 7: %Spell7Spell             Spell 8: %Spell8Spell
goto ShowSpell9%Spell9Use
ShowSpell9Yes:
echo **  Spell 9:  %Spell9Spell            Spell 10: %Spell10Spell
goto ShowSpell11%Spell11Use
ShowSpell11Yes:
echo **  Spell 11: %Spell11Spell             Spell 12: %Spell12Spell
ShowSpell3No:
ShowSpell5No:
ShowSpell7No:
ShowSpell9No:
ShowSpell11No:
echo **
echo **********************************
echo
pause 5
goto WearCamb%CAMBRemove

Backfire:
pause 1
echo
echo   ************************************
echo   ***  Backfire - must adjust mana for %CASTING
echo   ************************************
echo
pause 10
goto WearCamb%CAMBRemove

SkipDischargeWait:
set DischargeWait no
goto DischargeCamb

DoDischargeWait:
set DischargeWait yes
goto DischargeCamb

DischargeCamb:
pause 2
put release spell
put prep bless
DischargeCambInvoke1:
pause 1
put invok my %CAMB1Desc %CAMB1Item
match DischargeCambInvoke2 Roundtime
match DischargeCambInvoke1 ...wait
matchwait
DischargeCambInvoke2:
pause 1
put invok my %CAMB2Desc %CAMB2Item
match DischargeCambCastWait Roundtime
match DischargeCambInvoke2 ...wait
matchwait
DischargeCambCastWait:
waitfor fully prepared to cast your
DischargeCambCast:
pause 1
put cast
match DischargeCambCast ...wait
match WaitForMana You gesture
matchwait

StrainRelease:
pause 2
put rel spel
goto WaitForMana

WaitForMana:
goto WaitForMana%DischargeWait

WaitForManaYes:
echo
echo **************************
echo **  Low mana
echo **
echo **  Will resume filling orb in 2 roisan
echo **************************
echo
pause 150
WaitForManaNo:
goto Start%CASTING

OrbNeedsCharging:
put release spell
match StartOM preparing a spell
match StartOM You let your
match OrbNeedsCharging ...wait
matchwait

OrbHasSpells:
pause 1
echo
echo ***************************
echo **  There are currently spells in your orb
echo
echo **  To load your orb with spells, release each
echo **  and restart script.
echo
echo **  Charging orb in 3 seconds
echo ***************************
echo
pause 3
goto StartCharge

StartCharge:
setvariable OnlyCharge yes
goto StartOM

StartOM:
goto InfuseOM%OMInfusion

InfuseOMNo:
PrepOM:
put prep om %ManaForOM
match OMCast feel fully prepared
match OMWait strain
match PrepOM ...wait
matchwait

InfuseOMYes:
OMHarness:
put harn %ManaForOM
match OMHarness ...wait
match OMWait strain
match OMInfuse Roundtime
matchwait

OMInfuse:
put infuse om %ManaForOM
match OMInfuse ...wait
match OMHarness as if it hungers for more
match ChargeOrb%OnlyCharge the orb having reached its full capacity
matchwait

OMWait:
put release spell
pause 150
goto StartOM

ChargeOrbYes:
pause 1
echo
echo ****************************
echo ** Osrel Meraud is now fully charged
echo ****************************
echo
pause 1
exit

ChargeOrbNo:
goto Start%CASTING

OMCastWait:
pause 1
goto OMCast

OMCast:
put cast my orb
match OMCastwait ...wait
match PrepOM as if it hungers for more
match ChargeOrb%OnlyCharge the orb having reached its full capacity
matchwait

WearCambyes:
put wear my %CAMB1Desc %CAMB1Item
put wear my %CAMB2Desc %CAMB2Item
WearCambno: