ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Crisis on April 25, 2015, 07:15:03 AM

Title: Ignore spellbook
Post by: Crisis on April 25, 2015, 07:15:03 AM
I am looking at having my craft and fill script ignore the main spellbook for magery myst and necro.

Code: [Select]
_findmagespellbook:
finditem %magespellbook C_ , #backpackid
wait 1
if #findkind = -1
  {
  display you do not have a magery spellbook, please put a full spellbook in your backpack and press play
  Pause
  goto _findmagespellbook
  }
 
ignoreitem #findid

This way it ignores the fullspellbook that you have and will not try and fill that with scrolls. If that works, then I would do the same for necro and myst.
Title: Re: Ignore spellbook
Post by: The Ghost on April 25, 2015, 07:50:51 AM
Have a look at  Paulonius  tinker,   He use a  set %savelist xxx_yyy   so you don't trash what in your backpack.   Main be you use something similar.

Smith   http://www.scriptuo.com/index.php?topic=4108.0

Tinker   http://www.scriptuo.com/index.php?topic=3316.0
Title: Re: Ignore spellbook
Post by: Endless Night on April 29, 2015, 04:31:46 AM
2 ways... at top of script   have a var that users sets  %myspellbook  then ignoreitem %myspellbook.

Or have the user target their spellbook then ignoreitem it.