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

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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