GiveOne
Code:
/pause 5, /squelch /dgga /target id ${Target.ID}
/pause 5, /squelch /dgga /nomodkey /ctrlkey /itemnotify "${Cursor}" leftmouseup
/pause 5, /noparse /dgae group /dgt group \aw Handing \ay${Cursor} \awto \ay${Target.CleanName}
/pause 15, /squelch /dgga /click left target
/squelch /dgga /notify givewnd GVW_Give_Button leftmouseup
GiveAll
Code:
/pause 5, /squelch /dgga /target id ${Target.ID}
/pause 5, /squelch /dgga /nomodkey /shiftkey /itemnotify "${Cursor}" leftmouseup
/pause 5, /noparse /dgae group /dgt group \aw Handing \ay${Cursor} \awto \ay${Target.CleanName}
/pause 15, /squelch /dgga /click left target
/squelch /dgga /notify givewnd GVW_Give_Button leftmouseup
Note: apparently there is something screwy with itemnotify and peeling 1 item off a stack at the moment. not too sure but do some reading
MQ2Event Trigger and Command (shamelessly appropriated from CTWN)
Code:
[TaskUpdate]
trigger=##Your task '#2#' has been updated##
command=/dgt all \atQuest: \ay${EventArg2} \atUpdated