mIRC Home    About    Download    Register    News    Help

Print Thread
#50923 23/09/03 03:10 PM
Joined: Jun 2003
Posts: 77
O
ozyvent Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Jun 2003
Posts: 77
Code:
alias constat { /me 5is currently connected to1 $server 5(1 $+ $port $+ 5). Connected1 $duration($uptime) 5ago. }

How do I make it so that the port number doesn't take the colour of 1#? # being whatever the first number of the port is.


.
#50924 23/09/03 03:18 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
Use (01 $+ $port

#50925 23/09/03 03:20 PM
Joined: Jun 2003
Posts: 77
O
ozyvent Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Jun 2003
Posts: 77
So that way it just takes the first 2 numbers for the colour... kewl...Thanks smile


.

Link Copied to Clipboard