SlamaFR
Member
Hi !
I'm currently developping a support script and I need to replace some string like "%p" or "%n", but I can't simply do :
It tells me :
Any idea ?
I'm currently developping a support script and I need to replace some string like "%p" or "%n", but I can't simply do :
Code:
client.chat(config.messageToUser.replace('%p', config.prefix).replace('%n', client.nick));
It tells me :
Code:
Error in script: RangeError: expected 0 argument(s); got 3
Any idea ?