02-26-2012, 08:08 AM
Does anyone know how I would pass a value into my function using ,exec / a hotkey? My goal here is to have one set of functions to handle casting instead of one for scrolls and a copy for normal casting.
Also, I'm not sure if boolean values even exist in injection's script?
Also, I'm not sure if boolean values even exist in injection's script?
Code:
sub greaterHeal_self(useScroll)
uo.waittargetself();
if uo.count(scroll_greater_heal) > 0 AND useScroll = true then
uo.usetype(scroll_greater_heal);
else
uo.cast("Greater Heal");
endif
end sub
