mIRC Home    About    Download    Register    News    Help

Print Thread
#190989 30/11/07 03:37 AM
Joined: Jul 2004
Posts: 59
L
Babel fish
OP Offline
Babel fish
L
Joined: Jul 2004
Posts: 59
Not sure why this is not working. It encodes ok I can see %word echoed encoded but not decoded when I use /dword hope Im explaining ok its Late.

mIRC: v6.31
OS: XP Home

/word {
set %word $1
//echo -a $encode(%word)
}

dword {
//echo -a %password
set %decode $decode(%word)
echo -a %decode
}

Last edited by LittleJohn; 30/11/07 03:40 AM.
Joined: Dec 2002
Posts: 503
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Dec 2002
Posts: 503
Have you unlocked the $decode() in Options/Other/Lock ?

Bekar #190999 30/11/07 11:54 AM
Joined: Jul 2004
Posts: 59
L
Babel fish
OP Offline
Babel fish
L
Joined: Jul 2004
Posts: 59
Yes its Unlocked.

Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
You're setting %word to the (presumably) unencoded contents of $1, then trying to decode it.

Code:
word {
  set %word $encode($1)
  echo -a %word
}

dword {
  echo -a %password
  set %decode $decode(%word)
  echo -a %decode
}


Link Copied to Clipboard