mIRC Homepage
Posted By: TheWarlock clone help - 05/01/09 02:27 AM
alias ca {
echo -a $ialchan($address($1,2),#,1)
echo -a $ialchan($address($1,2),#,0)
}

i made a small prog to get a clon of nick but ,have an error

/echo: insufficient parameters (line 3, script7.ini)

any help thnx
Posted By: Wims Re: clone help - 05/01/09 02:34 AM
It's probably just because the value of $address() is $null.
Posted By: RusselB Re: clone help - 05/01/09 02:44 AM
To ensure that all of the required parameters are being supplied, I would suggest that you use something like this.

In the remotes section:
Code:
menu nicklist {
  Clones : clone $1 $chan
}
alias -l clone {
  echo -a $ialchan($address($1,2),$2,1)
  echo -a $ialchan($address($1,2),$2,0)
}

Posted By: TheWarlock Re: clone help - 05/01/09 05:51 AM
thnx for the fast responding
Posted By: DJ_Sol Re: clone help - 06/01/09 07:13 AM
IAL adds user info when they join the room. So when you join, those already in the room will not be added to the IAL until you /who $chan.
© mIRC Discussion Forums