![]() |
![]() |
ReK_ |
![]()
Post
#1
|
Newbie ![]() Group: Members Posts: 3 Joined: 19-November 06 Member No.: 202 ![]() |
I've been trying to get the current playlist's length stored in a mirc variable, but I can't seem to do it...
using $dll(ac,mexec,getlistlength) keeps returning the string "S_OK" and echoing the data I need in the status window. I can't seem to get the actual data into a variable. Is there another function for this? I've tried to use the getlistlength with a handler of "/set %len" but that does nothing, and I can't seem to find an amip variable that contains the info, so I can't meval anything. Also, is it possible to get the playlist index of the current song? |
![]() ![]() |
ReK_ |
![]()
Post
#2
|
Newbie ![]() Group: Members Posts: 3 Joined: 19-November 06 Member No.: 202 ![]() |
Ah, thank you very much.
When I'm done with it, I'll post the product. It's a simple request queue bot for a cast station. It allows 'admins,' who recognize by pming their commands and including the password, to edit and delete the queue, as well as skip the current track. It's meant to be used with a very large playlist normally set on random, with the html dump of it posted where everyone can see to find the song index, as that's how requests are made. |
![]() ![]() |