Torchbot Forum

Plugins => Plugin help and tutorials => Topic started by: WizenedFanatic on August 08, 2015, 02:20:44 pm

Title: Plugins Failed to load.
Post by: WizenedFanatic 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?
Title: Re: Plugins Failed to load.
Post by: Santiago on February 06, 2018, 05:05:41 am
Where to find good learning materials?
Title: Re: Plugins Failed to load.
Post by: woder 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
Title: Re: Plugins Failed to load.
Post by: Giacosmos on March 25, 2019, 09:36:01 am
It's not a perfect and comfortable access to the next is always interesting to read.
Title: Re: Plugins Failed to load.
Post by: Pattaxoxo on April 24, 2019, 01:34:20 am
Thank you for The Information
Gclub มือถือ (https://gclub.royal-ruby8888.com/gclub-mobile.html)
Ruby888 (https://royal-ruby8888.com/)