Silent - Objprograms

Posted by Halomantis on Sat 07 Jun 2003 05:50 AM — 4 posts, 18,299 views.

#0
I am writing a item program for endless arrows.

Basically I have an arrow vnum 5 with a get program that when it is pulled out of the quiver forces the char to put the original back in the quiver (freeing up the spot in his inven) and mpoload another arrow vnum 6.

The program works fine with one problem I want to hide the Halomantis puts an arrow in his quiver. I want it to appear as though the quiver has an endless supply.

I found a command that would work wonders on http://webhome.idirect.com/~helspawn/smaug/olc-programs.html. the command is Silent. But it is ROD specific and I have no clue how I could mimic this. Any body out there have any ideas?

Thanks in advance,
James
USA #1
Unfortunately, stock smaug doesn't provide much in this aspect, that could help you. Likely the reason the mud you found created a 'silent' command. The MUDPROGS have little control over object 'nesting' or containers, which forces you to use commands like 'put' which in turn has those lovely 'echos' to everyone in the room.

Personally I think the only way this could be done is if you had your own 'silent' command or made your own special version of 'put' to not echo around the char. I don't know of any snippets that do this, but then again I'm not a 'snippet guru' either. Maybe someone else here does *shrug*
USA #2
Easier solution might be to use a customized extra or v4 flag depending on the obj type and what fields it accepts flags in. Be much much simpler than rewriting the put command to omit the echo in special instances that have to be constantly expanded as similar items are added.
USA #3
I was thinking along the lines of an 'mpput' command myself. A trimmed down, silent, specialized version of 'put'. That way you wouldn't have to modify existing commands or objects, just the mprogs.