ShoutIRC.com
http://forums.shoutirc.com/

Dedication post
http://forums.shoutirc.com/viewtopic.php?f=2&t=680
Page 1 of 1

Author:  firkkhamhall [ Sun Nov 17, 2013 12:21 pm ]
Post subject:  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 :)

Author:  Indy [ Sun Nov 17, 2013 1:36 pm ]
Post subject:  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

Author:  firkkhamhall [ Sun Nov 17, 2013 1:47 pm ]
Post subject:  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 :)

Author:  Indy [ Sun Nov 17, 2013 1:57 pm ]
Post subject:  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.

Author:  firkkhamhall [ Sun Nov 17, 2013 2:01 pm ]
Post subject:  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 :)

Author:  firkkhamhall [ Sun Nov 17, 2013 7:17 pm ]
Post subject:  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

Author:  Indy [ Sun Nov 17, 2013 7:24 pm ]
Post subject:  Re: Dedication post

Not in the config files, but you could with a plugin or Lua script.

Author:  firkkhamhall [ Mon Nov 18, 2013 4:07 pm ]
Post subject:  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/

Author:  Indy [ Mon Nov 18, 2013 4:59 pm ]
Post subject:  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.)

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/