[UOSteam] Add To Spell Caster's Keys

If you make a Client-side script you can publish it here for other players to use
Dramoor
Legendary Scribe
Posts: 450
Joined: Wed Feb 23, 2011 7:37 pm

[UOSteam] Add To Spell Caster's Keys

Post by Dramoor »

This is a macro for UOSteam to put all items except for Empty Kegs and Keyrings onto your Spell Caster's Keys.(I put rest on even Blank Recall Runes)
This can be setup to a hotkey.
This will use keys from any location in inventory as long as bag has been opened.
This will add items from anywhere in inventory as long as bag has been opened.
Been using for awhile figured why not toss it out for anyone who uses Steam.
Loop the script as well for if more than 1 rune needing to go into keys.

Code: Select all

//============================================================
//=------------------Auto Add Regs to Keys-------------------=
//=----------------------By:Dramoor--------------------------=
//=----------------------------------------------------------=
//=----------------------------------------------------------=
//=----------------------------------------------------------=
//============================================================
//
//
//
//============================================================
//=------------------Opens SpellCaster's Keys----------------=
//============================================================
if not @findtype! '0x176b' '33' 'backpack'
  sysmsg '*****No Keys*****' '33'
  stop
else
  @usetype! '0x176b' '33' 'backpack'
  waitforgump 1750433090 15000
  replygump 0x68557d42 25
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=------------Checks for Black Pearl and Puts in Keys---------=
//==============================================================
if not @targettype! '0xf7a' '0'
else
  @targettype! '0xf7a' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=------------Checks for Blood Moss and Puts in Keys----------=
//==============================================================
if not @targettype! '0xf7b' '0'
else
  @targettype! '0xf7b' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=--------------Checks for Garlic and Puts in Keys------------=
//==============================================================
if not @targettype! '0xf84' '0'
else
  @targettype! '0xf84' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=--------------Checks for Ginseng and Puts in Keys-----------=
//==============================================================
if not @targettype! '0xf85' '0'
else
  @targettype! '0xf85' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=-----------Checks for Mandrake Root and Puts in Keys--------=
//==============================================================
if not @targettype! '0xf86' '0'
else
  @targettype! '0xf86' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=------------Checks for NightShade and Puts in Keys----------=
//==============================================================
if not @targettype! '0xf88' '0'
else
  @targettype! '0xf88' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=-----------Checks for Sulfurous Ash and Puts in Keys--------=
//==============================================================
if not @targettype! '0xf8c' '0'
else
  @targettype! '0xf8c' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=-----------Checks for Spiders Silk and Puts in Keys---------=
//==============================================================
if not @targettype! '0xf8d' '0'
else
  @targettype! '0xf8d' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=-------------Checks for Batwing and Puts in Keys------------=
//==============================================================
if not @targettype! '0xf78' '0'
else
  @targettype! '0xf78' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=-----------Checks for Grave Dust and Puts in Keys-----------=
//==============================================================
if not @targettype! '0xf8f' '0'
else
  @targettype! '0xf8f' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=-----------Checks for Daemon Blood and Puts in Keys---------=
//==============================================================
if not @targettype! '0xf7d' '0'
else
  @targettype! '0xf7d' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=-----------Checks for Nox Crystal and Puts in Keys----------=
//==============================================================
if not @targettype! '0xf8e' '0'
else
  @targettype! '0xf8e' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=-------------Checks for Pig Iron and Puts in Keys-----------=
//==============================================================
if not @targettype! '0xf8a' '0'
else
  @targettype! '0xf8a' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=-------------Checks for Fertile Dirt and Puts in Keys-------=
//==============================================================
if not @targettype! '0xf81' '0'
else
  @targettype! '0xf81' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=-------------Checks for Zoogi Fungus and Puts in Keys-------=
//==============================================================
if not @targettype! '0x26b7' '0'
else
  @targettype! '0x26b7' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=-------------Checks for Trans Powder and Puts in Keys-------=
//==============================================================
if not @targettype! '0x26b8' '0'
else
  @targettype! '0x26b8' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=---------------Checks for Bones and Puts in Keys------------=
//==============================================================
if not @targettype! '0xf7e' '0'
else
  @targettype! '0xf7e' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=------------Checks for Demon Bones and Puts in Keys---------=
//==============================================================
if not @targettype! '0xf80' '0'
else
  @targettype! '0xf80' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=-----------Checks for Blank Scrolls and Puts in Keys--------=
//==============================================================
if not @targettype! '0xef3' '0'
else
  @targettype! '0xef3' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=---------------Checks for Bottles and Puts in Keys----------=
//==============================================================
if not @targettype! '0xf0e' '0'
else
  @targettype! '0xf0e' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=----------------Checks for Sand and Puts in Keys------------=
//==============================================================
if not @targettype! '0x11ea' '0'
else
  @targettype! '0x11ea' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=-------------Checks for BeesWax and Puts in Keys------------=
//==============================================================
if not @targettype! '0x1422' '0'
else
  @targettype! '0x1422' '0'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=----------Checks for Spring Water and Puts in Keys----------=
//==============================================================
if not @targettype! '0xe24' '1151'
else
  @targettype! '0xe24' '1151'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=--------Checks for Destroying Angel and Puts in Keys--------=
//==============================================================
if not @targettype! '0xe1f' '656'
else
  @targettype! '0xe1f' '656'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=---------Checks for Petrified Wood and Puts in Keys---------=
//==============================================================
if not @targettype! '0x97a' '1132'
else
  @targettype! '0x97a' '1132'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=--------Checks for Ethereal Powder and Puts in Keys---------=
//==============================================================
if not @targettype! '0xf8f' '2089'
else
  @targettype! '0xf8f' '2089'
  waitfortarget '5000'
  pause 600
endif

//==============================================================
//=--------Checks for Recall Runes and Puts in Keys------------=
//==============================================================
if not @targettype! '0x1f14' '0'
replygump 0x68557d42 0
sysmsg '*****No Reagents*****' '33'
@canceltarget
  stop
else
  @targettype! '0x1f14' '0'
  waitfortarget '5000'
  pause 600
endif
Unbeliever
Legendary Scribe
Posts: 287
Joined: Tue Jul 16, 2013 9:08 pm
Location: East Tennessee

Re: [UOSteam] Add To Spell Caster's Keys

Post by Unbeliever »

+1 Nice share
in-game Thomas Covenant
User avatar
Locke
Elder Scribe
Posts: 112
Joined: Mon Sep 17, 2012 12:14 am

Re: [UOSteam] Add To Spell Caster's Keys

Post by Locke »

Hello, Dram (+1) i liked your uosteam script and I adapted it for each key's ring for the other player pleasure
Enjoy all

p.s: i limited the collecting only to the backpack :D

Tailor's Key

Code: Select all

//===========================================================
//-------------Auto Add tailor's item to Keys---------------=
//----------------------By:Dramoor--------------------------=
//-------------------Adapted By: Locke----------------------=
//----------------------------------------------------------=
//----------------------------------------------------------=
//===========================================================
//
//
//
//===========================================================
//=------------------Opens Tailor's Keys---------------------
//===========================================================
if not @findtype! '0x176b' '69' 'backpack'
  sysmsg '*****No Tailors Keys*****' '69'
  stop
else
  @usetype! '0x176b' '69' 'backpack'
  waitforgump 1106836505 15000
  replygump 0x41f8fc19 999
  waitfortarget '5000'
  pause 600
endif
//===========================================================
//-----------Checks for cloth and Puts in Keys---------------
//===========================================================
if not @targettype! '0x1766' '0' 'backpack'
else
  @targettype! '0x1766' '0' 'backpack'
  waitfortarget '5000'
  pause 600
endif
//===========================================================
//-----------Checks for scales and Puts in Keys--------------
//===========================================================
if not @targettype! '0x26b4' '2413' 'backpack'
else
  @targettype! '0x26b4' '2413' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x26b4' '2301' 'backpack'
else
  @targettype! '0x26b4' '2301' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x26b4' '49' 'backpack'
else
  @targettype! '0x26b4' '49' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x26b4' '1153' 'backpack'
else
  @targettype! '0x26b4' '1153' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x26b4' '1109' 'backpack'
else
  @targettype! '0x26b4' '1109' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x26b4' '2129' 'backpack'
else
  @targettype! '0x26b4' '2129' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x26b4' '2224' 'backpack'
else
  @targettype! '0x26b4' '2224' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x26b4' '54' 'backpack'
else
  @targettype! '0x26b4' '54' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x26b4' '1645' 'backpack'
else
  @targettype! '0x26b4' '1645' 'backpack'
  waitfortarget '5000'
  pause 600
endif
//===========================================================
//------Checks for any kind of leather and Puts in Keys------
//===========================================================
if not @targettype! '0x1081' '1159' 'backpack'
else
  @targettype! '0x1081' '1159' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1081' '93' 'backpack'
else
  @targettype! '0x1081' '93' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1081' '2406' 'backpack'
else
  @targettype! '0x1081' '2406' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1081' '32' 'backpack'
else
  @targettype! '0x1081' '32' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1081' '1260' 'backpack'
else
  @targettype! '0x1081' '1260' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1081' '1150' 'backpack'
else
  @targettype! '0x1081' '1150' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1081' '1023' 'backpack'
else
  @targettype! '0x1081' '1023' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1081' '2117' 'backpack'
else
  @targettype! '0x1081' '2117' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1081' '2129' 'backpack'
else
  @targettype! '0x1081' '2129' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1081' '2220' 'backpack'
else
  @targettype! '0x1081' '2200' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1081' '0' 'backpack'
  sysmsg '*****No common Tailors item*****' '69'
  @canceltarget
  stop
else
  @targettype! '0x1081' '0' 'backpack'
  waitfortarget '5000'
  pause 600
endif
Metal's Key:

Code: Select all

//===========================================================
//-------------Auto Add Metal's to Keys---------------------=
//----------------------By:Dramoor--------------------------=
//-------------------Adapted By: Locke----------------------=
//----------------------------------------------------------=
//----------------------------------------------------------=
//===========================================================
//
//
//
//===========================================================
//=------------------Opens Metal's Keys---------------------
//===========================================================
if not @findtype! '0x176b' '20' 'backpack'
  sysmsg '*****No Metals Keys*****' '20'
  stop
else
  @usetype! '0x176b' '20' 'backpack'
  waitforgump 4213074123 15000
  replygump 0xfb1e68cb 15
  waitfortarget '5000'
  pause 600
endif
//===========================================================
//-----------Checks for Metal and Puts in Keys---------------
//===========================================================
if not @targettype! '0x1bf2' '1153' 'backpack'
else
  @targettype! '0x1bf2' '1153' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bf2' '1152' 'backpack'
else
  @targettype! '0x1bf2' '1152' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bf2' '1272' 'backpack'
else
  @targettype! '0x1bf2' '1272' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bf2' '1278' 'backpack'
else
  @targettype! '0x1bf2' '1278' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bf2' '1161' 'backpack'
else
  @targettype! '0x1bf2' '1161' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bf2' '2219' 'backpack'
else
  @targettype! '0x1bf2' '2219' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bf2' '2207' 'backpack'
else
  @targettype! '0x1bf2' '2207' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bf2' '2418' 'backpack'
else
  @targettype! '0x1bf2' '2418' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bf2' '2425' 'backpack'
else
  @targettype! '0x1bf2' '2425' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bf2' '2213' 'backpack'
else
  @targettype! '0x1bf2' '2213' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bf2' '2406' 'backpack'
else
  @targettype! '0x1bf2' '2406' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bf2' '2413' 'backpack'
else
  @targettype! '0x1bf2' '2413' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bf2' '2419' 'backpack'
else
  @targettype! '0x1bf2' '2419' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bf2' '0' 'backpack'
  sysmsg '*****No Metals ingot*****' '20'
  @canceltarget
  stop
else
  @targettype! '0x1bf2' '0' 'backpack'
  waitfortarget '5000'
  pause 600
endif
Wood's Key :

Code: Select all

//===========================================================
//-------------Auto Add Wood's item to Keys-----------------=
//----------------------By:Dramoor--------------------------=
//-------------------Adapted By: Locke----------------------=
//----------------------------------------------------------=
//----------------------------------------------------------=
//===========================================================
//
//
//
//===========================================================
//=------------------Opens Wood's Keys-----------------------
//===========================================================
if not @findtype! '0x176b' '88' 'backpack'
  sysmsg '*****No Woods Keys*****' '88'
  stop
else
  @usetype! '0x176b' '88' 'backpack'
  waitforgump 173511501 15000
  replygump 0xa57934d 17
  waitfortarget '5000'
  pause 600
endif
//===========================================================
//-----------Checks for shaft and Puts in Keys---------------
//===========================================================
if not @targettype! '0x1bd4' '0' 'backpack'
else
  @targettype! '0x1bd4' '0' 'backpack'
  waitfortarget '5000'
  pause 600
endif
//===========================================================
//-----------Checks for feather and Puts in Keys-------------
//===========================================================
if not @targettype! '0x1bd1' '0' 'backpack'
else
  @targettype! '0x1bd1' '0' 'backpack'
  waitfortarget '5000'
  pause 600
endif
//===========================================================
//-----------Checks for bolt and Puts in Keys---------------
//===========================================================
if not @targettype! '0x1bfb' '0' 'backpack'
else
  @targettype! '0x1bfb' '0' 'backpack'
  waitfortarget '5000'
  pause 600
endif
//===========================================================
//-----------Checks for arrow and Puts in Keys---------------
//===========================================================
if not @targettype! '0xf3f' '0' 'backpack'
else
  @targettype! '0xf3f' '0' 'backpack'
  waitfortarget '5000'
  pause 600
endif
//===========================================================
//-----------Checks for Wood and Puts in Keys---------------
//===========================================================
if not @targettype! '0x1bd7' '37' 'backpack'
else
  @targettype! '0x1bd7' '37' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bd7' '1271' 'backpack'
else
  @targettype! '0x1bd7' '1271' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bd7' '1152' 'backpack'
else
  @targettype! '0x1bd7' '1152' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bd7' '43' 'backpack'
else
  @targettype! '0x1bd7' '43' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bd7' '114' 'backpack'
else
  @targettype! '0x1bd7' '114' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bd7' '488' 'backpack'
else
  @targettype! '0x1bd7' '488' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bd7' '355' 'backpack'
else
  @targettype! '0x1bd7' '355' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bd7' '1281' 'backpack'
else
  @targettype! '0x1bd7' '1281' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bd7' '1262' 'backpack'
else
  @targettype! '0x1bd7' '1262' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bd7' '961' 'backpack'
else
  @targettype! '0x1bd7' '961' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bd7' '1153' 'backpack'
else
  @targettype! '0x1bd7' '1153' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1bd7' '0' 'backpack'
  sysmsg '*****No Woods item*****' '88'
  @canceltarget
  stop
else
  @targettype! '0x1bd7' '0' 'backpack'
  waitfortarget '5000'
  pause 600
endif
Granite's Key :

Code: Select all

//===========================================================
//-------------Auto Add Granite to Keys---------------------=
//----------------------By:Dramoor--------------------------=
//-------------------Adapted By: Locke----------------------=
//----------------------------------------------------------=
//----------------------------------------------------------=
//===========================================================
//
//
//
//===========================================================
//=------------------Opens Granite's Keys--------------------
//===========================================================
if not @findtype! '0x176b' '1161' 'backpack'
  sysmsg '*****No Granites Keys*****' '255'
  stop
else
  @usetype! '0x176b' '1161' 'backpack'
  waitforgump 2633467501 15000
  replygump 0x9cf7866d 15
  waitfortarget '5000'
  pause 600
endif
//===========================================================
//-----------Checks for Granite and Puts in Keys-------------
//===========================================================
if not @targettype! '0x1779' '1153' 'backpack'
else
  @targettype! '0x1779' '1153' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1779' '1152' 'backpack'
else
  @targettype! '0x1779' '1152' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1779' '1272' 'backpack'
else
  @targettype! '0x1779' '1272' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1779' '1278' 'backpack'
else
  @targettype! '0x1779' '1278' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1779' '1161' 'backpack'
else
  @targettype! '0x1779' '1161' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1779' '2219' 'backpack'
else
  @targettype! '0x1779' '2219' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1779' '2207' 'backpack'
else
  @targettype! '0x1779' '2207' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1779' '2418' 'backpack'
else
  @targettype! '0x1779' '2418' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1779' '2425' 'backpack'
else
  @targettype! '0x1779' '2425' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1779' '2213' 'backpack'
else
  @targettype! '0x1779' '2213' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1779' '2406' 'backpack'
else
  @targettype! '0x1779' '2406' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1779' '2413' 'backpack'
else
  @targettype! '0x1bf2' '2413' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1779' '2419' 'backpack'
else
  @targettype! '0x1bf2' '2419' 'backpack'
  waitfortarget '5000'
  pause 600
endif
if not @targettype! '0x1779' '0' 'backpack'
  sysmsg '*****No granites*****' '255'
  @canceltarget
  stop
else
  @targettype! '0x1779' '0' 'backpack'
  waitfortarget '5000'
  pause 600
endif
Last edited by Locke on Tue Feb 18, 2014 1:45 am, edited 2 times in total.
Everything started with nothing...
Dramoor
Legendary Scribe
Posts: 450
Joined: Wed Feb 23, 2011 7:37 pm

Re: [UOSteam] Add To Spell Caster's Keys

Post by Dramoor »

I don't sit where I would store it anywhere else, Didn't think it would need to be limited. I also know that 'backpack' doesn't always go with all your packs inside of it (so if you use a looting bag by having 'backpack' it might not always recognize it) I guess some need it that way. Also Didn't add or do the other keys because I don't use keys for the other items as it takes too long to remove (and can mess up your arrows for archers if you put that in there) :) But nice!

Probably didn't need to hue out the wood and the granite or ingots really. Since it will loop if you put them on loops. Maybe just would have put a filter for if it was the Grade A logs hue to set to ignore.


Granite Keys Would be easier to just have it go

Code: Select all

//===========================================================
//-------------Auto Add Granite to Keys---------------------=
//----------------------By:Dramoor--------------------------=
//-------------------Adapted By: Locke----------------------=
//----------------------------------------------------------=
//----------------------------------------------------------=
//===========================================================
//
//
//
//===========================================================
//=------------------Opens Granite's Keys--------------------
//===========================================================
if not @findtype! '0x176b' '1161' 'backpack'
  sysmsg '*****No Granites Keys*****' '255'
  canceltarget
  stop
else
  @usetype! '0x176b' '1161' 'backpack'
  waitforgump 2633467501 15000
  replygump 0x9cf7866d 15
  waitfortarget '5000'
  pause 600
endif
//===========================================================
//-----------Checks for Granite and Puts in Keys-------------
//===========================================================
if not @targettype! '0x1779' 'any' 'backpack'
  replygump 0x9cf7866d 0
  sysmsg '*****No granites*****' '255'
  @canceltarget
  stop
else
  @targettype! '0x1779' 'any' 'backpack'
  waitfortarget '5000'
  pause 600
endif
I think. Didn't test but I would assume that would work. Since looping it would just put all granite into keys every cycle.


Also for when it does not have any left you want "replygump 0x9cf7866d 0" that is closing the gump at the end of the session.
User avatar
Locke
Elder Scribe
Posts: 112
Joined: Mon Sep 17, 2012 12:14 am

Re: [UOSteam] Add To Spell Caster's Keys

Post by Locke »

yeah i put the hue just in case gm add new item using the same type but with another hue, i put backpack to limit it because in my case i dont want the script to collect in all my pack... but its different for each player, and i split item in my backpack using organizer agent, like for my HBOHs or gem collector u c

and i dont put "replygump 0x9cf7866d 0" because i use those hotkeys to open my keyring too to remove item
Everything started with nothing...
Kote
Novice Scribe
Posts: 6
Joined: Sat Feb 15, 2014 7:51 am

Re: [UOSteam] Add To Spell Caster's Keys

Post by Kote »

Thank you for sharing these. Far more elegant than what I had done for myself.
scuba
Elder Scribe
Posts: 101
Joined: Sun Oct 28, 2012 2:29 am

Re: [UOSteam] Add To Spell Caster's Keys

Post by scuba »

will these work on easy uo?
User avatar
Locke
Elder Scribe
Posts: 112
Joined: Mon Sep 17, 2012 12:14 am

Re: [UOSteam] Add To Spell Caster's Keys

Post by Locke »

its for uosteam
Everything started with nothing...
Renjin Lemort
Novice Scribe
Posts: 7
Joined: Thu Apr 03, 2014 1:28 pm

Re: [UOSteam] Add To Spell Caster's Keys

Post by Renjin Lemort »

would be nice if someone would post one for the gem pouch.. thanks :D
Dramoor
Legendary Scribe
Posts: 450
Joined: Wed Feb 23, 2011 7:37 pm

Re: [UOSteam] Add To Spell Caster's Keys

Post by Dramoor »

Renjin Lemort wrote:would be nice if someone would post one for the gem pouch.. thanks :D

The Gem pouch has drag drop capabilities....No need to do a script, Just set an organizer agent! :)
Renjin Lemort
Novice Scribe
Posts: 7
Joined: Thu Apr 03, 2014 1:28 pm

Re: [UOSteam] Add To Spell Caster's Keys

Post by Renjin Lemort »

ahhh snap.. didn't know that :D
Thaolus
Passer by
Posts: 3
Joined: Sun Apr 20, 2014 5:28 pm

Re: [UOSteam] Add To Spell Caster's Keys

Post by Thaolus »

now if i could only get an Organizer to work i could make one for the gem bag and one to put junk in my trash token bag, but i cant seam to get it to work lol.
Dramoor
Legendary Scribe
Posts: 450
Joined: Wed Feb 23, 2011 7:37 pm

Re: [UOSteam] Add To Spell Caster's Keys

Post by Dramoor »

With organizer agents on UOSteam you have to tell them the bag to take from and the bag to put into. That could be the problem you are having. So when you set containers, you first set the container to find the items in, then the container to move the items to.
Thaolus
Passer by
Posts: 3
Joined: Sun Apr 20, 2014 5:28 pm

Re: [UOSteam] Add To Spell Caster's Keys

Post by Thaolus »

Ive tryed that, but i dont think it like me picking the main bag, then my trash bag. I cant set a loot bag can i? one that everything i get from [claimall would go into?
RaeZon
Expert Scribe
Posts: 38
Joined: Mon Feb 04, 2013 9:38 pm
Location: Los Angeles, California

Re: [UOSteam] Add To Spell Caster's Keys

Post by RaeZon »

bumped for newer players. =)
The Chosen One - Alt IGN: Thomas Marshal
Locked