The Dink Network

Reply to Re: Dink with Lua scripting, first public alpha

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
May 26th 2014, 04:01 AM
wizardb.gif
Phoenix
Peasant He/Him Norway
Back from the ashes 
Give me a usage code example of how you'd like it to work, and I'll try to make it so. I'm pretty sure you can already arm a specific item without knowing the history... couldn't you just do this?

local item = dink.get_item("item-scriptname")
if item ~= 0 then
  global.cur_weapon = item
  dink.arm_weapon()
end


Not saying I won't add your requested feature, I'm just checking if this would do what you're asking for.