Call script routine inside Plugin

Posted by Madjack on Sun 03 Mar 2013 02:43 PM — 2 posts, 14,161 views.

Ukraine #0
Hello!
How i can call script routine (custom world script file) inside plugin?

How i can have onPluginPacketReceived in custom world script file (not plugin).
Australia Forum Administrator #1
Plugins and world scripts occupy different script spaces.

However you can put scripts inside a plugin, that is what you normally do. You can also "dofile" something if you really want it done in a separate file.

http://www.gammon.com.au/scripts/doc.php?lua=dofile