The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Using the 'return;' command in a plugin
Hi,
I'm creating a plugin and want to use the 'return;' command to finish executing code from the function that the hook resides in. Unfortunately the command seems to be used to 'return;' from the 'eval()' command and not the actual function. How can I get around this? |
#2
|
|||
|
|||
I don't believe there is any way around that, it's just another limitation of what you can do in a plugin (and I know it's annoying because I've been though that myself). If I remember correctly you also cannot break or continue if the plugin is called from a loop or switch.
|
Благодарность от: | ||
PhilG |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|