Dedication post

Discussion about IRCBot, it's plugins, etc.
Post Reply
Author
Message
firkkhamhall
Offline
Junior Member
Posts: 16
Joined: Sat Jun 30, 2012 7:08 pm
IRCBot Version I Use: v5
IRCBot Platform: Windows
Location: Dorset UK
Contact:

Dedication post

Post by firkkhamhall »

Hello, please excuse the thick person here.

I know I can PM the Bot and say Dedicate (nickname) Then I can make the bot say Current song requested by (nickname) Thank you

What I want to be able to do is PM the bot with Request (nick1) (nick2) and get the bot to say Current song was requested by (nick1) and goes out to (nick2) or similar

I have tried and failed several time, any help much appreciated

Tanks :)
TV without pictures is just radio - Peter Griffin.

Indy
User avatar
Offline
Site Admin
Posts: 465
Joined: Thu Oct 16, 2008 1:58 pm
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Contact:

Re: Dedication post

Post by Indy »

There is no automatic way to make AutoDJ say it, but you can use a custom trigger to do it.
ie. !reqded=PRIVMSG #channel :Current song was requested by $1 and goes out to $2
You can also contact me via email or instant messenger, links are at the bottom of this post.

firkkhamhall
Offline
Junior Member
Posts: 16
Joined: Sat Jun 30, 2012 7:08 pm
IRCBot Version I Use: v5
IRCBot Platform: Windows
Location: Dorset UK
Contact:

Re: Dedication post

Post by firkkhamhall »

Thanks for the answer.

Now that's what I thought but, the bot just repeats Current song was requested by $1 and goes out to $2 Not evaluating $1 or $2.

I should add, I am using :
!reqded=PRIVMSG #channel :Current song was requested by $1 and goes out to $2

as I want to PM the message to the bot :)
TV without pictures is just radio - Peter Griffin.

Indy
User avatar
Offline
Site Admin
Posts: 465
Joined: Thu Oct 16, 2008 1:58 pm
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Contact:

Re: Dedication post

Post by Indy »

I added support for the $ tokens in PMs and it's uploading now. Your Package Manager will have the update in a few minutes.
You can also contact me via email or instant messenger, links are at the bottom of this post.

firkkhamhall
Offline
Junior Member
Posts: 16
Joined: Sat Jun 30, 2012 7:08 pm
IRCBot Version I Use: v5
IRCBot Platform: Windows
Location: Dorset UK
Contact:

Re: Dedication post

Post by firkkhamhall »

Every time I have to ask a question in here, it reminds me why I use this RadioBot.

Indy you are an absolute star and this is worth every penny. :D Thank you so much. I thought it was half right in my scripting :)
TV without pictures is just radio - Peter Griffin.

firkkhamhall
Offline
Junior Member
Posts: 16
Joined: Sat Jun 30, 2012 7:08 pm
IRCBot Version I Use: v5
IRCBot Platform: Windows
Location: Dorset UK
Contact:

Re: Dedication post

Post by firkkhamhall »

Okay that all works now Indy, thank you.

Is there any way I can get the bot to react to a word without a trigger?

i.e I create a lever 4 user and, as soon as the lever 4 user says a word, the bot will react to it?
I read that you can make all the commands level access only, is this as simple as :

4/!hi=NOTICE %nick :Hello %nick, I'm %me ??

Thanks
TV without pictures is just radio - Peter Griffin.

Indy
User avatar
Offline
Site Admin
Posts: 465
Joined: Thu Oct 16, 2008 1:58 pm
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Contact:

Re: Dedication post

Post by Indy »

Not in the config files, but you could with a plugin or Lua script.
You can also contact me via email or instant messenger, links are at the bottom of this post.

firkkhamhall
Offline
Junior Member
Posts: 16
Joined: Sat Jun 30, 2012 7:08 pm
IRCBot Version I Use: v5
IRCBot Platform: Windows
Location: Dorset UK
Contact:

Re: Dedication post

Post by firkkhamhall »

Looks like I will have to start reading the Wiki word for word lol

So, I have a command that works, how do I make it level specific ?

?requested=PRIVMSG #chan :This song was requested by $1 especially for $2 $3- Thank you \o/
TV without pictures is just radio - Peter Griffin.

Indy
User avatar
Offline
Site Admin
Posts: 465
Joined: Thu Oct 16, 2008 1:58 pm
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Contact:

Re: Dedication post

Post by Indy »

There are no user levels anymore since IRCBot v5, you just have user flags. The ircbot.text entry is just like the level system but you enter a user flag instead of a number:

Example: !listeners=m/PRIVMSG %chan :Current listener count: %clients
The user would have to have the +m flag to use the command. Roughly +m would be the old level 1, +o = level 2, +d = level 3/4 DJ
You can use any of the User Flags http://wiki.shoutirc.com/index.php/User_Flags or letters that aren't in use (I'd use the capital letters A-F since I'll use those last so they won't conflict with any other plugins or anything.)
You can also contact me via email or instant messenger, links are at the bottom of this post.

Post Reply