Author Topic: Password Events  (Read 23205 times)

You can make passwords 'n' stuff. Actually just passwords.

Usage:
Put the Password output event on a brick. The box is for the password. (Max: 10 chars, no spaces)
Put the OnPassword and/or OnIncorrect on the target brick. Do stuff.
To put in the password, use /password thepass

Known bugs:
-Using the no pass auto correct leaves the client still waiting to activate a password. Fixed.

I'll include an example save on bedroom, located on the bed.

.zip Add-on File(MediaFire) Put this in Blockland/Add-ons.
.bls file(MediaFire) Put this in Blockland/Saves/Bedroom, along with the next image.
.jpg file(MediaFire)
« Last Edit: August 24, 2008, 10:52:40 AM by Chrono »

I was on your server when you tested this :D, Its really cool. Good job!


Offtopic: MediaFire=Ad's

I don't see why so many people upload there when there's pop-ups and trap pop-ups (Auto-Checked "Open pop-up on download click?")

Ontopic: How do you enter the password?

Edit: Lance, forget you, don't interrupt my post like that...on the bright side, it seems when there's a new post, scrolling down now shows the post that interrupted you as "NEW" (small symbol....)

Forgot to mention that, sorry.

Code: [Select]
function servercmdpassword(%client,%password)
{
%player = %client.player;
if(%player.isenteringpassword == false)
return;
%player.isenteringpassword = false;
if(%password $= "")
return;
%pass = getword(%player.brickpassword,0);
if(%pass $= %password)
%player.passbrick.onPassword(%client);
else
%player.passbrick.onIncorrect(%client);
}
This seems doesn't seem right...


cool. i have a pop-up blocker so no pop-ups for meh when i go to mediafire :D

It works.
It works, but it's /password...It could cause problems...maybe another mod needs /password, like an RPG...

Name something that they would actually need a /password for.

Dude, you just KNOW another Add-On's probably going to need /password. Seriously, change it before Add-on overlap flame.

Offtopic: MediaFire=Ad's

I don't see why so many people upload there when there's pop-ups and trap pop-ups (Auto-Checked "Open pop-up on download click?")


Well some of us are smart and use Firefox.

I find fire fox faster.

Well some of us are smart and use Firefox.
I use Firefox, and pop-up blocker is on. It doesn't block pop-ups from MediaFire. I'd say you gotta manually add the pop-ups to the default pop-up blocker...That's the only thing that works for me.

Edit: Plus, can't add manually, random pop-up pages
« Last Edit: August 24, 2008, 11:15:26 AM by MegaScience »

And what do you suggest I change /password to? I'm sure /pass and /p would be used by another mod aswell. Can't they use that instead?