View Full Version : commands.pl
Didn't really know where to post this.. but I need to know where to find commands.pl? Did multiple searches (including google) but no luck. Thanks ahead of time.
Cisyouc
11-18-2004, 10:16 AM
You make one.
Example of one:
sub commands_init
{
command_add("killself", "- Kills yourself.", 0);
}
sub killself
{
$client->Kill();
}
Xorith
11-18-2004, 10:27 AM
Why does it tell me "$client" isn't a valid variable? :P
If i did that it wouldn't be anything different than what a perl server would have been before the addition of this right?
Cisyouc
11-18-2004, 02:03 PM
Why does it tell me "$client" isn't a valid variable? :PBecause you are using a precompile which doesnt have XS Classes defined?
Xorith
11-18-2004, 02:13 PM
I'm compiling from the CVS on a Linux box actually.
I simply did this in my Source/zone:
mv makefile makefile.bak
cp makefile.perl makefile
Then I did my make.
Cisyouc
11-18-2004, 02:40 PM
Line 50 in features.h://#define EMBPERL_XS_CLASS
Uncomment it, compile.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.