Vince Jimenez Posted March 29, 2015 Posted March 29, 2015 Hi guys can someone help me about @BST command and @market commands errorSome of my bindcommand are working only @bst is not someone help me? Im using eAmod emulator and i want the bst like this >>> Bindcommand on BST NOT WORKING << help me i want to work with my emulator please SORRY FOR MY BAD ENGLISH! Quote
Vince Jimenez Posted March 29, 2015 Author Posted March 29, 2015 nothing appear. only when i try to @bst command unavailabe. done loading script line 14 parse_line: expect command, missing function name or calling undeclared function 9 : } 10 : if ( @bst_delay + 1800 > gettimetick(2) ) { 11 : message strcharinfo(0), "There is a 30 min delay of using this command again"; 12 : end; 13 : } * 14 : '@'bst_delay = gettimetick(2); 15 : .@message$ = implode( .@atcmd_parameters$," " ); 16 : announce "[Market] "+ strcharinfo(0) +" : "+ .@message$, bc_all, 0x9999FF; 17 : query_logsql( "INSERT INTO `bst_market_log` ( `name`, `message` ) VALUES ( '"+escape_sql(strcharinfo(0))+"', '"+escape_sql( getstrlen(.@message$)>150?substr(.@message$,0,149):.@message$ )+"' );" ); 18 : end; 19 : } Quote
EL Dragon Posted April 9, 2015 Posted April 9, 2015 (edited) here, not tested - script bst_atcommand -1,{ OnInit: bindatcmd "bst",strnpcinfo(0)+"::OnCommand"; end; OnCommand: if ( !getstrlen(.@atcmd_parameters$) ) { message strcharinfo(0), "Please, enter a message (usage: @bst <message>)."; end; } if ( .@bst_delay + 1800 > gettimetick(2) ) { message strcharinfo(0), "There is a 30 min delay of using this command again"; end; } .@bst_delay = gettimetick(2); .@message$ = implode( .@atcmd_parameters$," " ); announce "[Market] "+ strcharinfo(0) +" : "+ .@message$, bc_all, 0x9999FF; query_logsql( "INSERT INTO `bst_market_log` ( `name`, `message` ) VALUES ( '"+escape_sql(strcharinfo(0))+"', '"+escape_sql( getstrlen(.@message$)>150?substr(.@message$,0,149):.@message$ )+"' );" ); end; } Edited April 9, 2015 by EL Dragon Quote
Vince Jimenez Posted April 12, 2015 Author Posted April 12, 2015 @bst is unknown command saying Quote
Question
Vince Jimenez
Hi guys can someone help me about @BST command and @market commands

error
Some of my bindcommand are working only @bst is not
someone help me? Im using eAmod emulator and i want the bst like this >>> Bindcommand on BST NOT WORKING <<
help me i want to work with my emulator please
SORRY FOR MY BAD ENGLISH!
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.