View Single Post
  #7  
Old 09-21-2006, 11:10 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Quote:
Originally Posted by Riot View Post
Yes there was.

In GS1 (serverside), you would encode a string using #E and check it using passwordmatches():

HTML Code:
if (created)
{
  setstring this.password,#E(password);
}

if (playerchats)
{
  if (passwordmatches(#s(this.password),#c))
    message You got the password!;
  else
    message Invalid password!;
}
so then.. basically theres probally something like:

PHP Code:
this.ecpass this.password.encrypt();?

if (
passwordmatches(this.ecpassplayer.chat)) 
?
Reply With Quote