mIRC Home    About    Download    Register    News    Help

Print Thread
#42337 17/08/03 10:18 AM
Joined: Jan 2003
Posts: 127
L
Vogon poet
OP Offline
Vogon poet
L
Joined: Jan 2003
Posts: 127
alias cvn { { return « $+ $2 $+ $1 $+ » }
E.g if %c = 2
echo Found $cvn(%c,12) entry
should return
Found «2» entry
with the '2' in color

However, it give
Found «» entry

Even if i use echo Found $cvn($eval(%c,2),12) entry,it still produce the same result

What is wrong?

Joined: Jan 2003
Posts: 150
J
Vogon poet
Offline
Vogon poet
J
Joined: Jan 2003
Posts: 150
what about:

Code:
alias cvn {
  return $+(«,,$2,,$1,»)
} 
 


smirk


Go ahead, jump. 100,000 lemmings can't be wrong.
Joined: Jan 2003
Posts: 127
L
Vogon poet
OP Offline
Vogon poet
L
Joined: Jan 2003
Posts: 127
alias cvn { return $+(«,,$2,,$1,»)}
is the control code b/w $2 and $1control-B ? If yes can u explain why

Joined: Mar 2003
Posts: 437
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Mar 2003
Posts: 437
Code:
alias cvn { return $+(«,,$2,,$1,») }
u need to space at the end of that here^

and its color, bold, color color

Last edited by MTech; 17/08/03 05:48 PM.
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
alias cvn return $+(«,$base($2,10,10,2),$1,»)


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C

Link Copied to Clipboard