mIRC Home    About    Download    Register    News    Help

Print Thread
#107978 15/01/05 07:23 PM
Joined: Jan 2005
Posts: 3
M
Self-satisified door
OP Offline
Self-satisified door
M
Joined: Jan 2005
Posts: 3
Hi

1) set %new.var %old.1 %old.2
2) set %new.var %old.1 *3 %old.2

( *3 = color3 )

How to do without space / doublespace _between_ old.1 and old.2 ??

replace(s) dosn't work fine because value of old.* could be "text1 text1".

#107979 15/01/05 07:36 PM
Joined: Feb 2004
Posts: 714
Z
Hoopy frood
Offline
Hoopy frood
Z
Joined: Feb 2004
Posts: 714
I am not sure what you mean, but I think you can use the $+ for that.

Example:
Hi $+ there = Hithere
*3 $+ old.2 = %old.2 (with color)


Sorry if that wasn't what you mean smirk

Zyzzyx smile


"All we are saying is give peace a chance" -- John Lennon
#107980 15/01/05 08:01 PM
Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
  • set %new.var $+(%old.1,%old.2)
    set %new.var $+(%old.1,03,%old.2,)


  • set %new.var %old.1 $+ %old.2
    set %new.var %old.1 $+ 03 $+ %old.2 $+ 


Link Copied to Clipboard