Author Topic: Plugins Failed to load.  (Read 2237 times)

August 08, 2015, 02:20:44 pm
Read 2237 times

WizenedFanatic

  • *
  • Information
  • Newbie
  • Posts: 1
    • View Profile
Plugins Failed to load.
« on: August 08, 2015, 02:20:44 pm »
Code: [Select]
Failed to load some plugin! (org.mozilla.javascript.UniqueTag cannot be cast to org.mozilla.javascript.Function caused by: null)

Is my error, This is my code:

Code: [Select]
var name = "Test";

function getName(){
   return name;
}

function run(){
   c.gui.addText(name + " loaded");
   return true;
}

function getListener(){
   return "onSpawnPlayer";
}

function onChatMessage (username, message){
   c.chat.sendMessage("test1");
}

function onCommand() {
   return "test;test;test";
}


Any help regarding this error?

February 06, 2018, 05:05:41 am
Reply #1

Santiago

  • *
  • Information
  • Newbie
  • Posts: 2
    • View Profile
Re: Plugins Failed to load.
« Reply #1 on: February 06, 2018, 05:05:41 am »
Where to find good learning materials?

April 12, 2018, 03:40:24 pm
Reply #2

woder

  • *****
  • Information
  • Newbie
  • Administrator
  • Posts: 20
    • View Profile
Re: Plugins Failed to load.
« Reply #2 on: April 12, 2018, 03:40:24 pm »
Learning material can be found on https://github.com/woder/TorchBot/blob/master/example%20plugins/plugin_tutorial.txt

Let me know if you need more,

woder

March 25, 2019, 09:36:01 am
Reply #3

Giacosmos

  • *
  • Information
  • Newbie
  • Posts: 2
    • View Profile
Re: Plugins Failed to load.
« Reply #3 on: March 25, 2019, 09:36:01 am »
It's not a perfect and comfortable access to the next is always interesting to read.

April 24, 2019, 01:34:20 am
Reply #4

Pattaxoxo

  • *
  • Information
  • Newbie
  • Posts: 7
    • View Profile
Re: Plugins Failed to load.
« Reply #4 on: April 24, 2019, 01:34:20 am »
Thank you for The Information
Gclub มือถือ
Ruby888