Don't use mload - use mob load or mob mload (can't remember which).

and I think your syntax is wrong, it is not if mobhere != 22015, it is if 
mobhere 22015 (no equal signs or anything) else (code here) endif

All this, of course, if you are using the same mprog code as I am :)

/Regicide



> The trigger is correct and works, and here's the mprog code:
> 
> Vnum:       [22007]
> Code:
> if mobhere != 22015
> mload 22015
> else
> say booga booga
> endif
> 
> You say 'ring' (keyword)
> The guardian says 'booga booga'
> 
> For the love of God himself I cannot figure out why this isn't working.  Mob
> 22015 isn't in the room for sure.  I've tried zillions of
> alternatives--loading mob 22015 nearby (still fails), removing all resets
> for mob 22015 completely (still fails), and so on.  It just isn't working!
> *sob*
> 
> I've tried checking the logs for possible call_level problems or other
> mprogs problems, but the logs are clean.  (Which is a good thing.. but
> having them be NOT clean would at least give me somewhere to start looking!)
> Bool get_mob_here seems to be coded well..  I just don't know.
> 
> To see if all IFs are broken, I changed the code to this:
>  if ispc $n
>  say Mob 22015 is not here, executing load.
>  mload 22015
>  else
>  say booga booga
>  endif
> 
> This time it did work--partially--he did say 'Mob 22015 is not here,
> executing load.' but, unfortunately, he didn't mload 22015.  Does one need
> to exist in the game for him to load one?  Currently all resets for mob
> 22015 are removed.
> 
> Any ideas?  Anything at all? Mobprogs are not my expertise, I learned to
> build years ago :(
> 
> Thanks,
> Jeremy Hill
> 
> 
> -- 
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
> 


Reply via email to