hey there, i just need a little bit of help with this script that i found and am borrowing because it works really well with what i'm trying to do on twitch.

i modified it a little bit to fit how i would want it, here's the script:


Quote:
on *:text:!join:#: {
if ($read(list.txt,nw,$nick)) { msg $chan $nick is already on the list. | return }
else write list.txt $nick
msg $chan Added $nick to the list
}

on *:text:!del *:#: {
if ($nick isop #) {
if (!$read(list.txt,nw,$2)) { msg $chan $2 is not in the list. | return }
elseif ($read(list.txt,nw,$2)) { msg $chan deleted $2 from the list.
write -dl $+ $readn list.txt }
}
}

on *:text:!list7:#: {
if ($nick isop #) {
var %t1 $read(list.txt,1)
var %t2 $read(list.txt,2)
var %t3 $read(list.txt,3)
var %t4 $read(list.txt,4)
var %t5 $read(list.txt,5)
var %t6 $read(list.txt,6)
var %t7 $read(list.txt,7)


msg $chan %t1 %t2 %t3 %t4 %t5 %t6 %t7 }
}


on *:text:!list3:#: {
if ($nick isop #) {
var %t1 $read(list.txt,1)
var %t2 $read(list.txt,2)
var %t3 $read(list.txt,3)

msg $chan %t1 %t2 %t3 }
}


on *:text:!clear:#: {
if ($nick isop #) { write -c list.txt
msg $chan list reset. }
}



is there a way to add onto this script-- where i can type "!next3" or "!next7" to advance the list and show the names for the people who are up next? simultaneously clearing their names out of the list as well? hopefully that makes sense, sorry i'm not very good with words..! oh and also, a script/command for people in the chat to be able to delete themselves from the list instead of mods having to do it for them? any help would be greatly appreciated

edit: i feel like i'm asking for so much omg, but also a command for people in the chat to be able to know where they are in the list? thank you..!

oh and while i'm at it.. a command for mods to open and close the list? would be wonderful.

Last edited by kouyachi; 25/11/17 10:59 AM.