mIRC Home    About    Download    Register    News    Help

Print Thread
T
Trixar_za
Trixar_za
T
Hey, just wonder if there is a way I can alter my code so that it hides the outputed text from the user and only show the decoded text.

Code:
on *:input:?:{
  %preencode = $1-
  %encoded = $encode($1-,m) 
  %trixarian = $qt(%encoded)
  echo -a 7You Said:3 %preencode
  msg $active $noqt(%trixarian)
  halt
}
on *:TEXT:*:?:{ if $2 == $null {
    %decoded = $decode($1,m) 
    %notreallyhere = $qt(%decoded)
    echo $nick 7Decrypted:3 $noqt(%notreallyhere)
    halt
  }
  else { halt }
  halt
}


Thanx in advance smile

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Code:
on *:input:?:{
  var %preencode = $1-, %encoded = $encode($1-,m), %trixarian = $qt(%encoded)
  echo -a 7You Said:3 %preencode
  .msg $active $noqt(%trixarian)
  halt
}
on ^*:TEXT:*:?:{
  if ($2 == $null) {
    var %decoded = $decode($1,m), %notreallyhere = $qt(%decoded)
    echo $nick 7Decrypted:3 $noqt(%notreallyhere)
    haltdef
  }
}

T
Trixar_za
Trixar_za
T
It WORKS smile

Thanx Riamus2!


Link Copied to Clipboard