Force name/nick
Hi,
i've made a plugin that forces a clients name/nick. Now the only problem left is to block the "x changed name to z" message that displays to everyone. After some forum searching it seems the solution is "register_message" , finding the message id and blocking it by passing it to a function that only returns PLUGIN_HANDLED (thereby blocking it) ? Now, I can't figure out how to "catch" the message. Tried using get_user_msgid("TextMsg") , but it doesn't seem to catch name changes, only other events... Any help appreciated :) |
Re: Force name/nick
Ooh, nevermind, figured it out. Had to use "SayText" instead of "TextMsg" ;)
|
| All times are GMT -4. The time now is 04:47. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.