Server Help

Bot Questions - Mervbot which plugin it executes first

hellzlaker - Sun Jul 20, 2008 12:08 pm
Post subject: Mervbot which plugin it executes first
Maybe you know this but I was just playing around and i found out that Mervbot in spawn.txt executes plugins from right to left, so if your spawn.txt would be this
Code: Show/Hide
Test.bot  :  123  :  0  : test1, test2  :  mod :

when you type !about test1.dll will say "This is a first DLL" and test2.dll will say "This is a second DLL"

So inside the zone when you type !about bot will say
Quote:
This is a second DLL
This is a first DLL

I attached the 2 DLLS and see if you have same thing as i do, because i did it about 20 times same thing happened, at first i thought it was lag but i guess it wasnt
Samapico - Sun Jul 20, 2008 2:08 pm
Post subject:
When you list the loaded plugins with !plugins, you also see that the order is inverted. Slot 0 is the last plugin on the spawn.txt line
hellzlaker - Sun Jul 20, 2008 4:49 pm
Post subject:
oh I never knew that
Cheese - Sun Jul 20, 2008 10:44 pm
Post subject:
common knowledge
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group