loop { if !Spell[1711].active? sleep 2 wait_while { running? 'go2' } pause_script 'bigshot' waitrt? waitcastrt? dothistimeout 'get codex from my boot', 5, /You remove/ dothistimeout 'invoke 1711', 5, /Sparks begin/ dothistimeout 'cast', 5, /You gesture/ dothistimeout 'put codex in my boot', 5, /You put/ unpause_script 'bigshot' end sleep 1 }