mIRC Home    About    Download    Register    News    Help

Print Thread
#240768 25/02/13 08:45 PM
Joined: Oct 2010
Posts: 28
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Oct 2010
Posts: 28
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?

Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
You must show us the /rline command used, or better, the whole script.
Is there any error message?


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Oct 2010
Posts: 28
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Oct 2010
Posts: 28
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/

Joined: Oct 2012
Posts: 164
D
Vogon poet
Offline
Vogon poet
D
Joined: Oct 2012
Posts: 164
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)
  }



Link Copied to Clipboard