Oh.. i thought you wanted it changed only when others send a mesaage.
For your own messages you should add this to the remote.
Code:
ON *:INPUT:#: {
echo $active $+($iif(%npre, $v1,  <),$left($nick($chan,$me),1),$me,$iif(%npos $v1,  >)) $1-
haltdef
}

Also change the first code with this
Code:
 
ON *:TEXT:*:#: { 
echo $chan $+($iif(%npre, $v1,<),$left($nick($chan,$nick).pnick,1),$nick,$iif(%npos, $v1, >)  $1-
haltdef 
}

alias prepost { set %npre $1 set %npos $2 }

i noticed a mistake and fixes it.

Last edited by OrFeAsGr; 23/05/16 01:18 PM.