Advertisement
Luxie

Ruby Scrap for getting item by polling inv hands in GemStone

Jul 16th, 2018
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  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}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement