• If you need help or want to discuss things, you now can also join us on our Discord Server!
  • A first preview of the unlimited version of SinusBot can be found in the Upcoming Changes thread. A version for Windows will follow, but we don't have a release date, yet.

EN scripting issue- unable to use toLowerCase

Status
Not open for further replies.
Hi,
I am modifying an existing script (https://forum.sinusbot.com/resources/mail-system.211/) for my Ts3server and I have hit a roadblock with it.
(link for the script [MODIFIED] = https://pastebin.com/acy7p7p8 )

Issue with the old script was that it was created before the new engine was released and I am trying it to make it work with the current version of the sinusbot.

The error I am facing is TypeError: Cannot access member 'toLowerCase' of undefined.
and Cannot access member 'split' of undefined .

Any help would be appreciated.

ps (I am a complete noob with the JS i know C and C++).
 

irgendwr

no longer active, "retired" staff member
is awesome!
V.I.P.
is uber awesome!
Contributor
Insider
The error I am facing is TypeError: Cannot access member 'toLowerCase' of undefined.
and Cannot access member 'split' of undefined .

Any help would be appreciated.

ps (I am a complete noob with the JS i know C and C++)
This means that the variable you are calling the methods on is not defined.
 
Status
Not open for further replies.
Top