UO-Dev Arama


Yazar: Lord Streamline
Tarih: 19-08-2009 13:23


Paylaş : Paylaş

Kod:
using System;
using System.Collections;
using System.IO;
using Server;
using Server.Mobiles;
using Server.Items;
using Server.Misc;
using Server.Targeting;
using Server.Engines.Help;

namespace Server.Scripts.Commands
{
public class Kufur
{
public static Hashtable KufurA = new Hashtable();
public static Hashtable KufurB = new Hashtable();
public static Hashtable KufurC = new Hashtable();
public static Hashtable KufurD = new Hashtable();
public static Hashtable KufurE = new Hashtable();
public static Hashtable KufurF = new Hashtable();

public static void Initialize()
{
Server.Commands.Register( "Kufur", AccessLevel.Player, new CommandEventHandler( Kufur_OnCommand ) );
EventSink.Speech += new SpeechEventHandler( EventSink_Speech );
}

[Usage( "Kufur" )]
public static void Kufur_OnCommand( CommandEventArgs e )
{
Mobile from = e.Mobile;
from.Target = new KufurTarget( from );
from.SendMessage("Kufur eden oyuncuyu secin.");
}

public static void EventSink_Speech( SpeechEventArgs args )
{
Mobile from = args.Mobile;
if ( KufurA[from] == null )
{
KufurA[from] = args.Speech;
return;
}
else if ( KufurB[from] == null )
{
KufurB[from] = args.Speech;
return;
}
else if ( KufurC[from] == null )
{
KufurC[from] = args.Speech;
return;
}
else if ( KufurD[from] == null )
{
KufurD[from] = args.Speech;
return;
}
else if ( KufurE[from] == null )
{
KufurE[from] = args.Speech;
return;
}
else if ( KufurF[from] == null )
{
KufurF[from] = args.Speech;
return;
}
else
{
KufurA[from] = KufurB[from];
KufurB[from] = KufurC[from];
KufurC[from] = KufurD[from];
KufurD[from] = KufurE[from];
KufurE[from] = KufurF[from];
KufurF[from] = args.Speech;
return;
}
return;
}
public class KufurTarget : Target
{
public KufurTarget( Mobile from ) : base( 8, false, TargetFlags.None )
{
}
protected override void OnTarget( Mobile from, object o )
{
if ( o is PlayerMobile )
{
Mobile m_from = (Mobile)o;
from.SendMessage( "Konu ile ilgili page atilmistir..." );
String KufurMsg = "";
KufurMsg += "Küfür Mesajı: Acc:" + (m_from.Account).ToString() + " ";
KufurMsg += "Username:" + (m_from.Name).ToString() + " ";
KufurMsg += (String)KufurA[m_from] + ", ";
KufurMsg += (String)KufurB[m_from] + ", ";
KufurMsg += (String)KufurC[m_from] + ", ";
KufurMsg += (String)KufurD[m_from] + ", ";
KufurMsg += (String)KufurE[m_from] + ", ";
KufurMsg += (String)KufurF[m_from];
PageEntry entry = PageQueue.GetEntry( from );
if ( entry != null )
PageQueue.Remove( entry );
PageQueue.Enqueue( new PageEntry( from, KufurMsg, PageType.PhysicalHarassment ) );
}
}
}
}
}
Download : Küfür Sistemi
Boyut: mb - Hit : 378



Yorumlar

Henüz yorum yapılmamıştır.

Oylamalar

Oylama :
Üyelerin oylama ortalaması (10 dışında) : Henüz Oylanmamış   
Oylar: 0

Benzer Sayfalar

SayfalarYorumlarGönderenTarih
Guild sistemi0Mrs.xariyla04-03-2012
House sistemi0Mrs.xariyla04-03-2012
Maaş Sistemi0Kraagnar17-11-2011
Flash üyelik sistemi0Culum25-09-2011
Sorter Account Sistemi0Sorter23-07-2011


Keywords:

ultima online, RunUO, ultima online download, sphere scripting, role play, uo grafik, second age ultima, uo loop, macroman, pvp server, server kurulumu, sphere, multool, ml mulls, 56b 55r 55i, htmlgumps, client 4x, client edit, sphere release, osi, rp server, sunucular, ghost mouse, inside uo, kingdom reborn, stygian abyss, uo nasıl oynanır, mondain's legacy, age of shadows, world build, grandmaster, ultima online pvp, player dosyaları, ultima online indir, frp game, RunUO 1.0.0, razor, uo rice, hue editör, skill tools, ultima online patch, axis, world build, verdata, verdata patcher, map editör, gump editör, mul patcher, aos mulls, scriptler, anim edit, anim publish, hues mul, hosting vps, event dialog, account sistemi, skill gain, static yapımı,