mIRC Home    About    Download    Register    News    Help

Print Thread
#47134 04/09/03 08:09 PM
Joined: Jul 2003
Posts: 46
V
vexx0r Offline OP
Ameglian cow
OP Offline
Ameglian cow
V
Joined: Jul 2003
Posts: 46
I have this code.

on *:INPUT:?: { if ($left($1,1) != /) && ($ctrlenter == $true) {
echo $active $tstamp ( $+ $me $+ ) $1-
.msg $active $1-
halt
}
elseif ($left($1,1) == /) && ($ctrlenter == $true) {
echo $active $tstamp ( $+ $me $+ ) $1-
.msg $active $1-
halt
}
}

When i press ctrl, for example for copy and paste or control + enter without the / my text is not longer formated and shows up as mirc's standard <vexx0r> where as if / is there when i press control enter it shows up as (@vexx0r) for example.

any help...

#47135 04/09/03 08:15 PM
Joined: Jan 2003
Posts: 249
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Jan 2003
Posts: 249
Code:
ON *:INPUT:?: {
  if ($left($1,1) == /) &amp;&amp; (!$ctrlenter) || ($1 == $null) || (!$server) || ($halted) { return }
  echo -a ( $+ $me $+ ) $1- | .msg $target $1- | halt
}



Link Copied to Clipboard