mIRC Homepage
Posted By: Desolator rline listbox not working - 25/02/13 08:45 PM
Im having a problem where upon right clicking a @menu the addon has rline errors and fails to excute the rline.

window setting is: //window -elk0 @nickmatchs 10 10
the other coding on the right click works fine, just the rline seems to fail to get the line number.

Can anyone help please?
Posted By: Wims Re: rline listbox not working - 26/02/13 12:10 AM
You must show us the /rline command used, or better, the whole script.
Is there any error message?
Posted By: Desolator Re: rline listbox not working - 26/02/13 09:33 AM
Hi thanks for the reply, yes it just says insuff. parameters

in the link is all the information you requested.

http://chanops.org/paste/1333/
Posted By: Deega Re: rline listbox not working - 26/02/13 10:56 AM
You need the ln prop ($sline().ln) which will return the line number, without it $sline() returns the text. $sline()


rline -l 1 @nickmatchs $sline(@nickmatchs,1).ln $sline(@nickmatchs,1) (Dropped)


Note also that commands in scripts do not need slashes.
Code:
  Drop all nicks:{
    msg nickserv fdrop $gettok($gettok($1,2,58),1,32)
    rline -l 1 @nickmatchs $sline(@nickmatchs,1).ln $sline(@nickmatchs,1) (Dropped)
  }

© mIRC Discussion Forums