Say command optimization
I have a plugin that handles a bunch of say commands. One of these commands requires reading the entire say string. My question is, is it best to look for the designated commands within the say handler, or to register all say commands before the one that reads the entire string?
Code:
register_clcmd("say /pm", "cmdPMmenu") |
Re: Say command optimization
You should register say commands with the /command if they don't have arguments.
Otherwise, you would need to register the say and say_team commands and parse the said string. Also, Quote:
|
Re: Say command optimization
Quote:
Quote:
p.s. why would i ever want to /block Exolent? He's too smart! Like wikipedia for pawn. |
Re: Say command optimization
Quote:
|
| All times are GMT -4. The time now is 15:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.