A function added by MWSE.
xRemoveItem is a wrapper for the original RemoveItem to take variables.
SyntaxEdit
ref->xRemoveItem objectid (string) count (long)
ExampleEdit
long pcRef long ItemIDstring long count Setx pcRef to xGetRef "Player" Setx ItemIDstring to "Gold_001" set count to 300 pcRef->xRemoveItem ItemIDstring count