View unanswered posts | View active topics It is currently Sat Oct 21, 2017 2:39 am



Reply to topic  [ 9 posts ] 
 Dedication post 
Author Message
Junior Member
User avatar

Joined: Sat Jun 30, 2012 7:08 pm
Posts: 16
Location: Dorset UK
Medals: 6
RadioBot Owner (1) Longevity (5)
IRCBot Version I Use: v5
IRCBot Platform: Windows
Post Dedication post
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.


Sun Nov 17, 2013 12:21 pm
Profile WWW
Site Admin
User avatar

Joined: Thu Oct 16, 2008 1:58 pm
Posts: 448
Medals: 17
Administrator (1) Plugin Developer (1)
RadioBot Owner (1) Helper (1)
Longevity (13)
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Post Re: Dedication post
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.


Sun Nov 17, 2013 1:36 pm
Profile YIM WWW
Junior Member
User avatar

Joined: Sat Jun 30, 2012 7:08 pm
Posts: 16
Location: Dorset UK
Medals: 6
RadioBot Owner (1) Longevity (5)
IRCBot Version I Use: v5
IRCBot Platform: Windows
Post Re: Dedication post
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.


Sun Nov 17, 2013 1:47 pm
Profile WWW
Site Admin
User avatar

Joined: Thu Oct 16, 2008 1:58 pm
Posts: 448
Medals: 17
Administrator (1) Plugin Developer (1)
RadioBot Owner (1) Helper (1)
Longevity (13)
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Post Re: Dedication post
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.


Sun Nov 17, 2013 1:57 pm
Profile YIM WWW
Junior Member
User avatar

Joined: Sat Jun 30, 2012 7:08 pm
Posts: 16
Location: Dorset UK
Medals: 6
RadioBot Owner (1) Longevity (5)
IRCBot Version I Use: v5
IRCBot Platform: Windows
Post Re: Dedication post
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.


Sun Nov 17, 2013 2:01 pm
Profile WWW
Junior Member
User avatar

Joined: Sat Jun 30, 2012 7:08 pm
Posts: 16
Location: Dorset UK
Medals: 6
RadioBot Owner (1) Longevity (5)
IRCBot Version I Use: v5
IRCBot Platform: Windows
Post Re: Dedication post
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.


Sun Nov 17, 2013 7:17 pm
Profile WWW
Site Admin
User avatar

Joined: Thu Oct 16, 2008 1:58 pm
Posts: 448
Medals: 17
Administrator (1) Plugin Developer (1)
RadioBot Owner (1) Helper (1)
Longevity (13)
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Post Re: Dedication post
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.


Sun Nov 17, 2013 7:24 pm
Profile YIM WWW
Junior Member
User avatar

Joined: Sat Jun 30, 2012 7:08 pm
Posts: 16
Location: Dorset UK
Medals: 6
RadioBot Owner (1) Longevity (5)
IRCBot Version I Use: v5
IRCBot Platform: Windows
Post Re: Dedication post
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.


Mon Nov 18, 2013 4:07 pm
Profile WWW
Site Admin
User avatar

Joined: Thu Oct 16, 2008 1:58 pm
Posts: 448
Medals: 17
Administrator (1) Plugin Developer (1)
RadioBot Owner (1) Helper (1)
Longevity (13)
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Post Re: Dedication post
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.


Mon Nov 18, 2013 4:59 pm
Profile YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.