chat kick command with reason
Hey, how to make a chat kick command with reason ? Right now I've this:
PHP Code:
like: !kick reinert Use of abusive language (Swearing) |
Re: chat kick command with reason
I think you want to get cmd_target with player name and reason, so it won't work, you should parse from rest player name and the reason and then get cmd_target. But I'm not good at this like others :P
|
Re: chat kick command with reason
Quote:
@reinert You should use strbreak() for this situation: PHP Code:
|
Re: chat kick command with reason
Oh, i see, it separate only the first word, and miss the rest. But in this case he left his reason typed in say if he don't use strbreak. fysiks big + for u ;]
|
Re: chat kick command with reason
I suggest you just use this plugin.
|
| All times are GMT -4. The time now is 04:19. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.