Code:
Name: 'Mob Greet Steal', VNum: [ 47], RNum: [ 47]
Trigger Intended Assignment: Mobiles
Trigger Type: Greet , Numeric Arg: 100, Arg list: None
Commands:
* By Rumble of The Builder Academy tbamud.com 9091
* Steal the first item in the players inventory.
eval item %actor.inventory%
if %item%
%echo% purging %item.shortdesc% with vnum %item.vnum% in %actor.name%'s inventory.
%load% obj %item.vnum%
%purge% %item%
else
%echo% I cant find %item.shortdesc% with vnum %item.vnum% in %actor.name%'s inventory.
%echo% I cant find an item in %actor.name%'s inventory.
end
for TBA.