View Single Post
  #15  
Old 09-21-2006, 11:07 PM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
Quote:
Originally Posted by projectigi View Post
wasnt there some kind of builtin encryption in gs1?
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!;
}
Reply With Quote