I was working on a script, and it was working fine whenever i tested it. But now whenever i type /help nothing happens. I have looked through my script multiple times and found a few errors, but it still won't work. Any help with this?
//SRPGhelp
function serverCmdHelp(%client)
{
messageClient(%client,'','\c6<color:00ff00>HELP');
messageClient(%client,'','\c6So you need some help eh?');
messageClient(%client,'','\c6Type one of these commands for help.');
messageClient(%client,'','\c6/helpresources will tell you about resources.');
messageClient(%client,'','\c6/helplocations will list a few of the main towns.');
messageClient(%client,'','\c6/helpquests will tell where to go if you want to know about quests.');
messageClient(%client,'','\c6/morehelp will tell you how to get more information.');
}
function serverCmdhelpresources(%client)
{
messageClient(%client,'','\c6<color:00ff00>RESOURCES');
messageClient(%client,'','\c6So you need help with basic resources eh?.');
messageClient(%client,'','\c6Type /helpbasics to learn a bit about the basics.');
messageClient(%client,'','\c6Type /helpminerals to learn a bit about mineral resources.');
messageClient(%client,'','\c6Type /helplumber to learn a bit about the various types of lumber in the SteemzRPG world.');
messageClient(%client,'','\c6Tpe /helpplants to learn about some of the basic flowers and other plants.');
messageClient(%client,'','\c6Type /helpfish to learn about some of the various types of fish living in the SteemzRPG world.');
}
function serverCmdhelplocations(%client)
{
messageClient(%client,'','\c6<color:00ff00>LOCATIONS');
messageClient(%client,'','\c6To learn a bit about Spertown type /SpertownGuide.');
messageClient(%client,'','\c6To learn a bit about Sper Forest type /SperforestGuide.');
}
function serverCmdhelpquests(%client)
{
messageClient(%client,'','\c6<color:00ff00>QUESTS');
messageClient(%client,'','\c6If you want to learn about quests go to the man who is standing by the signpost in Sper town.');
}
function serverCmdmorehelp(%client)
{
messageClient(%client,'','\c6<color:ff00ff>MORE HELP');
messageClient(%client,'','\c6To get more help you can use the help GUI, which contains all the stuff included here, images and extra commands.');
messageClient(%client,'','\c6Also you can ask other players, or read books you find in houses.');
//Resources
//minerals
datablock fxDTSBrickData (brickSlateData)
{
brickFile = Add-ons/Script_SRPG/2x3f.blb";
category = "SteemzRPG";
subCategory = "Resources";
uiName = "Slate";
iconName = "base/client/ui/brickicons/2x3f";
};