Jump to content
  • 0
chojuro

script:parse_callfunc: not enough arguments, expected ','

Question

0 answers to this question

Recommended Posts

  • 0

message expects 2 parameters: https://github.com/HerculesWS/Hercules/blob/stable/doc/script_commands.txt#L4810

 

parameters should be separated by ","

 

looks like your script has a ";" instead. so just change to ","

 

messsage strcharinfo(0), "....

Note: best-practices/standards would also suggest using () around script commands, e.g. message(....) and use constants instead of magic numbers where possible (strcharinfo(PC_NAME) instead of strcharinfo(0))

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.