Skip to content

proof_give_delete

MimisK edited this page Mar 18, 2020 · 1 revision

Syntax

proof_give_delete(giveitem, deleteitem)
[
	if(OwnItemCount(talker, deleteitem) >= 1)
	{ 
		DeleteItem1(talker, deleteitem, 1);
		GiveItem1(talker, giveitem, 1);
	}
]

Examples

  • Macro Use
MACRO<proof_give_delete>(@combined_map, @makels_map);
  • No Macro
DeleteItem1(talker, @makels_map, 1);
GiveItem1(talker, @combined_map, 1);
Clone this wiki locally