Luxie

Ruby Scrap for getting item by polling inv hands in GemStone

Jul 16th, 2018
119
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. fput "inv hands"
  3. line = get
  4. if line =~ /You have (.*) in your right hand/i
  5. itemname = $1
  6. end
  7.  
  8.  
  9. respond "#{itemname}"
RAW Paste Data