mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Feb 2007
Posts: 75
T
Babel fish
OP Offline
Babel fish
T
Joined: Feb 2007
Posts: 75
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


GigIRC Network Admin
irc.gigirc.com
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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
  }
}


Invision Support
#Invision on irc.irchighway.net
Joined: Feb 2007
Posts: 75
T
Babel fish
OP Offline
Babel fish
T
Joined: Feb 2007
Posts: 75
It WORKS smile

Thanx Riamus2!


GigIRC Network Admin
irc.gigirc.com

Link Copied to Clipboard