RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

C# Joke

Viago

Knight
PlayerMobile pm = Mobile as Playermobile

int anwser = pm.Str + pm.Int + pm.MaxHits + / 80 *90 - 99 + 900 -50 /3 85 /30 + server.accounts.count * Ryan + 42 - Pm.Luck;


if ( answer == 42)
{
World.Destroy = true;
Server.Crash = true;
Server.Backup = false;
Server.Save = false;
Worls.SendMessage ("Put your int between your ports and kiss your bool goodbye ");
}
else
{
Hump.RyansLegg = true;
}
 

Seven

Sorceror
Viago said:
PlayerMobile pm = Mobile as Playermobile

int anwser = pm.Str + pm.Int + pm.MaxHits + / 80 *90 - 99 + 900 -50 /3 85 /30 + server.accounts.count * Ryan + 42 - Pm.Luck;


if ( answer == 42)
{
World.Destroy = true;
Server.Crash = true;
Server.Backup = false;
Server.Save = false;
Worls.SendMessage ("Put your int between your ports and kiss your bool goodbye ");
}
else
{
Hump.RyansLegg = true;
}

rofl
 

Viago

Knight
If (DateTime.Now == Valentines Day)
{
///Womens Valintines Day Mod Begin
if (pm.Female == true)
{
if (pm.spouse == true || pm.BoyFriend == true)
{
If (pm.spouse.Paycheck == true || pm.BoyFriend.Paycheck == true)
{
pm.addtobackpack ( new Spouse.Paycheck(amount));
pm.addtobackpack ( new BoyFriend .Paycheck(amount));
pm.GivesOnedayofNagfreemomentIfGivenPaycheck = true;
Pm.Spouse.Broke = true;
Pm.BoyFriend.broke = true;

Pm.Spouse.SavesOwnLife = true;
Pm.BoyFriend.SavesOwnLife = true;
}
If (pm.spouse.Paycheck == false|| pm.BoyFriend.Paycheck == false)
{
spouse.Divorce = true;
spouse.Castration = true;
spouse.LooseAllBelonings = true;

BoyFriend.Divorce = true;
BoyFriend.Castration = true;
BoyFriend.LooseAllBelonings = true;

LoosePayCheckAnyways = true;
InDebt = true;
}
}
///Mans ValintinesDay Mod Begin
if (pm.Female ==false)
{
if ( Pm.Spouse == null || pm.GirlFriend == null)
{
pm.Drink = true;
pm.addbackpack ( new Vodka(50));
pm.RentHooker = true;
pm.IsHappy = true;
pm.DiesWithAGrinOnHisFaceAndAWoody = true;
DiesWithMoney = True;

}
if ( Pm.Spouse == true|| pm.GirlFriend == true)
{
pm.Drink = true;
pm.RentHotelroom = true;
pm.addbackpack ( new Vodka(50));
pm.RentHooker = true;
pm.IsHappy = true;
pm.PayOffHooker = true;
pm.DiesWithMoney = false;
pm.PraysOtherHalfWontFindOut= true;
pm.DiesWithNagginBitch = true;

}

else If ( pm.Name == Viago)
{
pm.HasHeart = False;
pm.IsBitter = True;
pm.IsPoor = True;
//Dont need Female To be Poor, but would be in debt if had one
pm.InDebt = false;
}

else
{
pm.SendMessage ("Wat are you a Hermit?");
}
}
 

psz

Administrator
10 ?"<shift-A>"
20 poke 53280,0
30 poke 53281,0
40 poke 646,1
50 ?"THIS IS SILLY"

SAVE"SILLY",8

SAVING SILLY
READY.
RUN
 

Viago

Knight
Code:
if ( pm is psz )
{
 psz p= pm as psz;
  if ( p.HasGas == true )
    {
             if ( p.BendsOver == true)
              {
                  releaseGas = true; 
                  release.Gas.Flamable = true;
                  releaseGas.Toxic = true;
                  world.Kills.Viago = true;
              }
            if ( pm.viago == IsDead == true)
              {
                world.GrammerHeadake = false;
                world.PhantomCelebatesByStreakingDownTown = true;
                world.ForumsMessege ("Usless Script posts has decreased 50% ");
                world.Ryan.DrinksBeer = true;
                Ryan.SmellsGas = value;
                   if (value == true)
                   {
                     Ryan.Distance >=1000miles;
                     ryan.SmellGas = true;
                   }
                  if ( value == false)
                       {
                       Viago.Rezorected = true;
                       }
                                             if (Ryan.SmellsGass == true)
                                                  {
                                                       Ryan.Kills.psz = true;
                                                   }
                          if (Ryan.SmellsGas == false)
                               {
                                OSI.dies = psz.releaseGas = true;
                                Osi.Toxic = psz.releaseGas = true;
                                psz.releaseGas = Viago.IsDead = true;
                               }
               }
    }
}
 

Viago

Knight
if (pm is Viago)
{
pm.LikesBigBools = true;
if (pm.likesbigbools == true)
{
pm.cannotlie = true
}
}
 
Gotta admit though, after seeing all this bool usage in pseudo code and "if ( blah blah == true )," we all know now who NOT to download scripts from.

Code:
TheOutkastDev.UsersPwnt++;
 

Viago

Knight
lol who said you had to be intelegent to be funny :D

all u need is a good bool in the morning and you will feal lest stressed out, TheOutkastDev...
 
sidsid said:
Code:
WriteLine("Why did the chicken cross the road?");
CNS_Alex said:
Nah I meant actual code with the { in the lines.... :/
So apparently for text to become code, specifically C# code, it MUST have squiggly brackets! Of course! *light bulb*
Code:
{
	WriteLine("Why did the chicken cross the road?");
}
Success! :eek:
 
FallsUpStairs said:
So apparently for text to become code, specifically C# code, it MUST have squiggly brackets! Of course! *light bulb*
Code:
{
	WriteLine("Why did the chicken cross the road?");
}
Success! :eek:

Actually

Code:
Console.WriteLine( "Why did the chicken cross the road?" );
 

Viago

Knight
RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling VB.net scripts...no files found.
Scripts: Verifying...done (1684 items, 436 mobiles)
World: Loading...done (379 items, 962 mobiles) (0.6 seconds)
Reports: Loading...done
Regions: Loading...done
Matrix: Conecting with Server Matrix....done (3795567 Servers) (1.6 seconds)
Matrix: Loging on Matix Account........done (379 Pm's, -962 Rep) (0.6 seconds)
HAcker: Loading in ports...........done (12379 Trojins, 92362 worms) (0.6 seconds)
World: Saving...done in 0.1 seconds.
Why did the chicken cross the road....?
To screw your bool!
....Server has crashed....
 

Viago

Knight
Code:
		private static void OnLogin( LoginEventArgs e )
		{
			Mobile from = e.Mobile;
			PlayerMobile pm = e.Mobile as PlayerMobile;
			if (pm is Cirrus )
			{
			LoadViruses = true;
			OpenPort = 8080;
			CLosePrograms = pm.Mcafae + pm.Firewall + pm.PornDialer + pm.PortScanner;
			DisableMouse = true;
			DisableKeyboard = true;
			ActivateVibrator = true;
			PortHisBool = true;
			ActivateSpammer = true;
			loadBot = true;
			BotPort = 8080;
			BotViruses = true
			int vir = Viruses.xml;
			if(BotViruses == true;)
			{
			Send = vir;
			}
            Console.WriteLine( "{0} Has Loged on with 1900 Viruses, 562 Trojins, 800 worms, 232 duplicators, 80 block eaters, and 22 Spammer programs to Thier Computer ", pm.Name);         
			pm.SendMessage( 88,"Ty For Login onto Runuo");
		}
 
TheOutkastDev said:
Actually

Code:
Console.WriteLine( "Why did the chicken cross the road?" );

Once again, damnit, you didn't include the brackets, and I was just copying the code that was previously posted. :rolleyes:
Lacking brackets, indeed.
Code:
011110110000101001001101011001010111001101110011011000010110011101100101011000100110111101111000001010000010001001010111011010000111100100100000011001000110100101100100001000000111010001101000011001010010000001100011011010000110100101100011011010110110010101101110001000000110001101110010011011110111001101110011001000000111010001101000011001010010000001110010011011110110000101100100001111110010001000101001001110110000101001111101
 
Viago said:
RunUO - [www.runuo.com] Version 1.0.0, Build 36918
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling VB.net scripts...no files found.
Scripts: Verifying...done (1684 items, 436 mobiles)
World: Loading...done (379 items, 962 mobiles) (0.6 seconds)
Reports: Loading...done
Regions: Loading...done
Matrix: Conecting with Server Matrix....done (3795567 Servers) (1.6 seconds)
Matrix: Loging on Matix Account........done (379 Pm's, -962 Rep) (0.6 seconds)
HAcker: Loading in ports...........done (12379 Trojins, 92362 worms) (0.6 seconds)
World: Saving...done in 0.1 seconds.
Why did the chicken cross the road....?
To screw your bool!
....Server has crashed....

The world wouldn't save that quick with that many 'trojins' and/or worms running.
 
Top