Jump to content
  • 0
pidow

script:add_word: invalid word

Question

Hello,

I have an error (since i update hercule, before all works fine)

 

    script:add_word: invalid word. A word consists of undercores and/or alphanumeric characters, and valid variable prefixes/postfixes.


*   65:                         if (query_sql("SELECT login.account_id FROM login LEFT JOIN `char` ON login.account_id=`char`.account_id WHERE login.last_ip=(SELECT last_ip FROM login WHERE account_id="+getcharid(3)+") AND `char`.online=1", .@account_id) > 1)
 

 

 
I don't understand what's wrong, can you help me ?
Thx a lot !

Oups please move to script support... so sorry. miss clic.

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Maybe post the script?

I don't see any problem in this line.

Share this post


Link to post
Share on other sites
  • 0

function    script    ControleIP    {
set .@checkip,0;
            if (query_sql("SELECT login.account_id FROM login LEFT JOIN `char` ON login.account_id=`char`.account_id WHERE login.last_ip=(SELECT last_ip FROM login WHERE account_id="+getcharid(3)+") AND `char`.online=1", .@account_id) > 1)) {
                logmes "WSS: "+strcharinfo(0)+" est en double account !";
                set @fullmessage$, " est en double account !";
                callfunc "AlerteForum";
                set .@checkip,1;
                }
return .@checkip;
}
 

Sur, this is the script.

I don't understand why i have this error :/

 

(Thx to have moving the post :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.