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 ) );
}
}
}
}
}
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
Boyut: mb - Hit : 378
Yorumlar
Henüz yorum yapılmamıştır.
|
OylamalarOylama :![]()
Üyelerin oylama ortalaması (10 dışında) : Henüz Oylanmamış
Oylar: 0 |
Benzer Sayfalar
| Sayfalar | Yorumlar | Gönderen | Tarih |
| Guild sistemi | 0 | Mrs.xariyla | 04-03-2012 |
| House sistemi | 0 | Mrs.xariyla | 04-03-2012 |
| Maaş Sistemi | 0 | Kraagnar | 17-11-2011 |
| Flash üyelik sistemi | 0 | Culum | 25-09-2011 |
| Sorter Account Sistemi | 0 | Sorter | 23-07-2011 |







