new parameter for speech.mul hook

Archive of the older Feature Request Forum Posts
Locked
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

new parameter for speech.mul hook

Post by CWO »

Is it possible to have another parameter in the speech.mul hook to indicate whether its a textcmd or not? Either a bool param or the actual speech itself? The reason I'm asking this is because I use the hook to of course support speech.mul triggering many different things like vendors and housing but they trigger even when players are messaging eachother and such using textcmds or using textcmds that don't even exist like .buy and such.
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post by CWO »

Actually I want to change my request to the extra parameter listing all text. Why would I request it instead of doing it in a packethook? Because in speech.mul tokens, theres also some variance to what can trigger it.

Example:
Speech token 0x15A
* follow
Obviously this is for tamed animals. But the speech.mul hook will only say that follow was said, not what was said before it. Adding in all text that was said to the speech.mul hook will fix this problem.
Locked