mIRC Home    About    Download    Register    News    Help

Print Thread
#124041 01/07/05 10:01 AM
Joined: Apr 2005
Posts: 53
A
Babel fish
OP Offline
Babel fish
A
Joined: Apr 2005
Posts: 53
I wrote a thing like that:
Code:
 
alias /f7 /thanks
alias thanks {
  msg $snick Thank you for joning my chan!
}


So...when i select nick on a channel and click F7 on the keyboard, the script should msg selected nick... But it doesn't. What did I do wrong? confused

#124042 01/07/05 10:40 AM
Joined: Oct 2003
Posts: 37
R
Ameglian cow
Offline
Ameglian cow
R
Joined: Oct 2003
Posts: 37
alias f7 thanks
alias thanks {
$iif($chan,msg $chan $snicks ur text)
}

#124043 01/07/05 10:41 AM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Use $snicks instead of just $snick.


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
#124044 01/07/05 03:45 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
if you put it in aliases and not in remotes, try it like this:
/f7 msg $snick Thank you for joning my chan!

if you want to greet several people at once, use
/f7 msg $snicks Thank you for joining my chan!

#124045 01/07/05 04:33 PM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
$snick does not have any value unless you put additional parameters "$snick(#channel,N)"


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
#124046 01/07/05 08:00 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
DOH! blush


Link Copied to Clipboard