generated from Jaysyn/ModuleTemplate
Initial upload
Initial upload.
This commit is contained in:
42
_module/nss/_sw_forge.nss
Normal file
42
_module/nss/_sw_forge.nss
Normal file
@@ -0,0 +1,42 @@
|
||||
#include "fcb_inc_vars"
|
||||
#include "fcb_inc_parser"
|
||||
#include "fcb_inc_cvdisp"
|
||||
#include "fcb_inc_general"
|
||||
|
||||
//==========================================/
|
||||
void main()
|
||||
//==========================================/
|
||||
{
|
||||
//uncomment to use - controls forge enable/disable
|
||||
/*
|
||||
string arg = retrieve_arg(1);
|
||||
if(get_is_number(arg))
|
||||
{
|
||||
string result = "";
|
||||
|
||||
switch(StringToInt(arg))
|
||||
{
|
||||
case 0:
|
||||
{
|
||||
switch_forge_enable(0);
|
||||
result = "Forge disabled";
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
default:
|
||||
{
|
||||
switch_forge_enable(1);
|
||||
result = "Forge enabled";
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
start_conversation(GetLocalObject(FCB_HOST, USER));
|
||||
|
||||
set_function_result(result);
|
||||
set_function_result_valid();
|
||||
}
|
||||
*/
|
||||
}
|
||||
Reference in New Issue
Block a user