2019-08-14, 02:47 PM
(This post was last modified: 2019-08-14, 02:49 PM by Darak. Edited 1 time in total.)
Hi, i made a couple of plugins that add/use info from the database. The problem is that i have 1 plugin to set the database info and other one to use the database. If the second one dont find info, just create the info by default. If i use the 2 plugins at the same time, the first one to execute its the one which use the info, so the other one have nothing to do.
Im using the hook for message, and it changes a code [plugin1] for html code like a bbcode but with database info. So, how can i change the load order of the plugins? where its the file that changes wich pluging executes first and this kind of things? I need that if a user puts [plugin1] [plugin2], the plugin1 executs before plugin2, but now use first plugin2
Ty for help
Im using the hook for message, and it changes a code [plugin1] for html code like a bbcode but with database info. So, how can i change the load order of the plugins? where its the file that changes wich pluging executes first and this kind of things? I need that if a user puts [plugin1] [plugin2], the plugin1 executs before plugin2, but now use first plugin2
Ty for help