901
Off Topic / Re: SAME-love MARRIAGE NOW LEGAL NATIONWIDE
« on: June 26, 2015, 03:52:38 PM »you could always call up the queen of england and find out
props
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
you could always call up the queen of england and find out
to quote patrice o'neal:
"pusillanimous individual ages like cars, not like houses"
Homoloveuality in humans existed and was observed in history even before the aqueduct was invented.
About the same time your mother was in her prime 20s.
function greetingDB(%client) {
if(%isObject(%client)) {
announce(%client // I have absolutely no idea how to use announce properly
}
function greetingDB(%client) {
if(isObject(%client)) {
announce(%client);
}
}
package whenAPlayerJoins {
function GameConnection::AutoAdminCheck(%client) { // this function is called when a player is checked to see if they have auto admin, which happens when they join. Convenient.
greetingDB(%client); // You'll want to run your function here.
parent::AutoAdminCheck(%client); // This makes sure that the function does what it's supposed to after your code is run.
}
};
activatePackage(whenAPlayerJoins);
function swearFilter(%string) {
%tsvWords=strReplace("forget,fvck,Riddler,bitch,kunt,stuff,niger,niglet,richard,rooster,cunt,dic,dik,fuc,fvc,fvk,cvnt,fuk,research,love,secks,star fish,damn,pusy,bastard,carrot,slut,creep,suckmy,snake,vagina,jiz,wtf,handicap,rape,interject,redskin,wetback,cracker,chollo,downsyndrome,autism,cigarette,cigaretteot,kike,", "\t"); // This would be faster if you tab separated the values to begin with, but I'm too lazy.
%wordCnt = getFieldCount(%tsvWords);
while(%x++) {
for(%i = 0; %i < %wordCnt; %i++) {
if((%pos = striPos(%string, %word = getField(%tsvWords, %i))) > -1) {
%wordLength = strLen(%word);
for(%y = 0; %y < %wordLength; %y++) { %repl = %repl @ "*"; }
%string = getSubStr(%string, 0, %pos) @ %repl @ getSubStr(%string, %start = %pos+%wordLength, strLen(%string)-%start-1);
%repl = "";
}
if(%x >= 2) break;
%strLen = strLen(%string);
for(%i = 1; %i < %strLen; %i++) {
if(getSubStr(%string, %i, 1) == getSubStr(%string, %i-1, 1)) {
%string = getSubStr(%string, 0, %i) @ getSubStr(%string, %i+1, %strLen - %i);
%strLen--;
}
}
}
return %string;
}
You're the lightest one there