Blockland Forums > General Discussion

Alt-F4

Pages: << < (8/9) > >>

Isaac Fox:

Alt-F4 jokes always annoy me. Not because I might fall for them, it's because I just can't believe that the people who say them actually believe someone is going to fall for them.


--- Quote from: The Black Card on June 18, 2012, 04:36:45 AM ---When I pressed it, I was granted Super Administer on Badspots server.

--- End quote ---

Get out.

Port:


--- Quote from: Brian Smithers on June 17, 2012, 10:34:44 PM ---
--- Code: ---function isAltf4(%msg)
{
if(strPos(%msg,"altf4"))
return true;
if(strPos(%msg,"alt-f4"))
return true;
if(strPos(%msg,"alt f4"))
return true;
if(strPos(%msg,"alt+f4"))
return true;
return false;
}
package noAltf4
{
function serverCmdMessageSent(%client,%message)
{
%lwrMsg = strLwr(%message);
if(isAltf4(%lwrMsg))
return messageClient(%client,'',"\c6Please no stupid Alt-f4 messages.");
else
parent::serverCmdMessageSent(%client,%message);
}
};activatepackage(noAltf4);

--- End code ---
Anti Altf4 modFirst mod written on my new laptop!

--- End quote ---

What if I type "Alt+F4 gives you free admin," then? That script wouldn't pick it up.
Also, it will make all messages lowercase. Whoops?

Dimitry:

I like the classic joke for free admin alt f4. I do it all the time a new person asks for admin. Apparently they gotta learn the hard way.

zmaster:

the alt f4 trick only works on windows computers as alt f4 is the windows command to close the active window.
Alt f4 will shut down the computer if no programs are running

Brian Smithers:


--- Quote from: Port on June 18, 2012, 06:22:07 AM ---What if I type "Alt+F4 gives you free admin," then? That script wouldn't pick it up.
Also, it will make all messages lowercase. Whoops?

--- End quote ---
nonono
%lwrMsg is only passed through altF4. so it doesnt need to check for capitals since the entire message is now in lower. Though the parent uses %message which isn't lower.

Pages: << < (8/9) > >>

Go to full version