Some of those are a little tricky to get working and some don't work at all I think.
Sometimes you might need to do $entity_list->gate(); or $npc->gate(); or something like that instead. And some of them, you need to get the mob ID first.
Here is a way to get the NPC ID and use it for something. I don't know if this would work, but I use something like this for adding hate to NPCs and other things:
Code:
my $gating_npc = $entity_list->GetMobByNpcTypeID(2120410);
if ($gating_npc) {
my $gate_now = $gating_npc->CastToNPC();
$gate_now->gate(); }
The only thing that I know of that uses $mob is the SetHP() command.