mIRC Home    About    Download    Register    News    Help

Print Thread
#207859 05/01/09 02:27 AM
Joined: Nov 2007
Posts: 117
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Nov 2007
Posts: 117
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

TheWarlock #207860 05/01/09 02:34 AM
Joined: Jul 2006
Posts: 4,145
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,145
It's probably just because the value of $address() is $null.

Last edited by Wims; 05/01/09 02:34 AM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
TheWarlock #207861 05/01/09 02:44 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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)
}


RusselB #207867 05/01/09 05:51 AM
Joined: Nov 2007
Posts: 117
T
Vogon poet
OP Offline
Vogon poet
T
Joined: Nov 2007
Posts: 117
thnx for the fast responding

TheWarlock #207894 06/01/09 07:13 AM
Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
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.


Link Copied to Clipboard