I'm trying to make this echo to the status window if i'm not on the channel it happens, but if i am, then it echos to that window. But i can't seem to fathom it
Code:
Raw 820:*:{ $iif($2 = $active,$2,-s) 10,11 $+ $str($chr(160),5) $+ 02 Global14/10Access in $2 has been cleared. | halt }
raw 820:*:{
[color:red]echo[/color] $iif($2 =[color:red]=[/color] $active,$2,-s) 10,11 $+ $str($chr(160),5) $+ 02 Global14/10Access in $2 has been cleared.
halt
}