i can't seam to figure out how to get this to work. I have created a @help window with lines of text. I am trying to make a menu to delete the selected line of text. The problem is that i can't figure out how to get the window to figure out what line it is that i have selected. This is the code so far, this is my .mrc file
on *:chat:*:{
if (($nick == %helpnick) && ($3 == help) && ($4 == please)) {
if (!$window(@help)) { window -ezk0ml +sbt @Help 0 0 900 375 dcchelp.txt }
aline @help $nick - $4-
}
}
and my dcchelp.txt file
Help Add {
msg = $+ $gettok($$sline($active,1),1,32) add $gettok($$sline($active,1),3,32)
}
Remove { $$dline($active,1) }
The one i am looking at is the Remove line. How can i get it to remove the line that is selected?????
Thanks for the help. I have asked many people and no one can answer this for me.