hook_say arg2
PHP Code:
|
Re: hook_say arg2
1st you don't need remove_quotes if you retrieve arg 1, you would need it if you would use read_args, but read_argv(1 is just fine because arg 1 is the whole text passed after say and say_team.
Well, if something is written after /command, this is the next characters to /command, you have few ways to check it. If your command is /raport, if nothing is written later length of arg 1 is 7. You can do : PHP Code:
|
| All times are GMT -4. The time now is 00:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.