Lokiramos commented on a Page, Custom Command Adding and Deleting Script  -  Mar 20, 2014

This code looks really well put together, but I cant seem to get it to initialize?
Do I need to create a separate ini file for the commands to be stored in?

Lozo  -  Mar 20, 2014

The ini file creates itself if it does not exist in the first place, what are you typing when you add a command?

Lokiramos  -  Mar 20, 2014

I am typing mybotsname cadd on
followed by !cadd Twitter http://www.twitter.com/lokiramos

Lozo  -  Mar 20, 2014

Is the bot confirming that the script is then turned on? it should say its been turned on for that specific channel on that specific network.

Then when you type !twitter, you get the output of http://www.twitter.com/lokiramos right?

Lokiramos  -  Mar 20, 2014

that's the thing, the bot doesn't confirm the script is turned on at all, that's where Im stuck

Lozo  -  Mar 20, 2014

Firstly, you are typing where it says BOTNAME in my instructions, the actual name of the bot right? so if your bot with the loaded script is called Blonk, you type 'Blonk cadd on' without the ''

Second, you have full op (@) privileges in the channel?

Third, you did load this script in to a new remote file away from all other scripts? don't load it with any other script on your bot, this can cause a break.

Lokiramos  -  Mar 20, 2014

Putting it into its own blank file appears to have made the difference
thank you very much :) I look forward to making use of this!

Lozo  -  Mar 20, 2014

No Problem at all! Do enjoy!

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.