21.YILTürkiye'nin en eski ve aktif online oyun platformu, Ultima Online, Counter-Strike ve diğer online oyunlar hakkında Türkçe haber, bilgi ve forum sunuyor. Türkiye'nin en eski ve aktif online oyun platformu, Ultima Online, Counter-Strike ve diğer online oyunlar hakkında Türkçe haber, bilgi ve forum sunuyor.
  • ANASAYFA
  • ULTIMA ONLINE
  • FORUM
  • DOKÜMAN
  • İNDİR
   Üye ol    Giriş
118
39
  1. Anasayfa
  2. UO Scriptleri
  3. RunUO Scripts
  4. Engines
  5. Chat
  6. Anons System

Anons System

  • 2006-05-02 21:57
  • 0 Yorumlar
  • 1512 Görüntüleme

//Made by Peoharen
using System;
using System.Collections;
using Server.Network;
using System.Text;
using Server.Accounting;
using Server.Mobiles;

namespace Server
{
public class Announce
{
public static void Initialize()
{
EventSink.Login += new LoginEventHandler(World_Login);
EventSink.Logout += new LogoutEventHandler(World_Logout);
}

//<*************Login
private static void World_Login(LoginEventArgs args)
{
Mobile m = args.Mobile;

if (args.Mobile.AccessLevel < AccessLevel.Counselor)
{
BroadcastMessage( AccessLevel.Counselor, 0x35, String.Format( "{0} Oyuna Girdi.", args.Mobile.Name ) );
}

else if (args.Mobile.AccessLevel == AccessLevel.Counselor)
{
BroadcastMessage( AccessLevel.GameMaster, 0x35, String.Format( "{0} Oyuna Girdi.", args.Mobile.Name ) );
}

else if (args.Mobile.AccessLevel == AccessLevel.GameMaster)
{
BroadcastMessage( AccessLevel.Seer, 0x35, String.Format( "{0} Oyuna Girdi.", args.Mobile.Name ) );
}

else if (args.Mobile.AccessLevel == AccessLevel.Seer)
{
BroadcastMessage( AccessLevel.Administrator, 0x35, String.Format( "{0} Oyuna Girdi.", args.Mobile.Name ) );
}
}

//<*************Logout
private static void World_Logout(LogoutEventArgs args)
{
Mobile m = args.Mobile;

if (args.Mobile.AccessLevel < AccessLevel.Counselor)
{
BroadcastMessage( AccessLevel.Counselor, 0x35, String.Format( "{0} Oyundan Ayrildi.", args.Mobile.Name ) );
}

else if (args.Mobile.AccessLevel == AccessLevel.Counselor)
{
BroadcastMessage( AccessLevel.GameMaster, 0x35, String.Format( "{0} Oyundan Ayrildi.", args.Mobile.Name ) );
}

else if (args.Mobile.AccessLevel == AccessLevel.GameMaster)
{
BroadcastMessage( AccessLevel.Seer, 0x35, String.Format( "{0} Oyundan Ayrildi.", args.Mobile.Name ) );
}

else if (args.Mobile.AccessLevel == AccessLevel.Seer)
{
BroadcastMessage( AccessLevel.Administrator, 0x35, String.Format( "{0} Oyundan Ayrildi.", args.Mobile.Name ) );
}
}

//<*************Handler
public static void BroadcastMessage ( AccessLevel ac, int hue, string message )
{
foreach ( NetState state in NetState.Instances )
{
Mobile m = state.Mobile;

if ( m != null && m.AccessLevel >= ac )
m.SendMessage( hue, message );
}
}
}
}

Değerlendirmeler

0 0

Total votes: 0

Üye Ol veya Giriş Yap

Bu içeriğe yorum atmak istiyorsanız hemen üye olun veya giriş yapın.

Discord ile Bağlan
Twitch ile Bağlan
Steam ile Bağlan
Google ile Bağlan

Yorumlar (0)

Henüz yorum yapılmamış
Sadece kayıtlı kullanıcılar yeni yorum yapabilir.


Ultima-Strike Discord
Benzer Sayfalar
  • Rare System

    2012-01-22 20:21

  • housing system

    2009-09-01 16:35

  • Msn Messanger System

    2009-08-13 14:15

  • Check system

    2009-07-19 11:03

  • Görev System

    2009-04-24 12:44



  • Son Forumlar
  • Sayfalar
  • Montana LoveLACe
    Paxhistoria yapay zeka destekli web tabanlı...

    Diğer Oyunlar 1 gün önce

  • boosterx
    UO:Nimloth Yeniden Doğuyor !

    Sunucular 5 gün önce

  • Ege ERKEK
    2025 CS 1.5 TÜRK SUNUCUSU AÇILDI

    Sunucular 1 hafta önce

  • Vanq
    UO Lord British Gazinosu #5 Yayında!

    Duyurular 1 hafta önce

  • Algos
    Üyeliği 15 yıl ve üzerinde olanlar.

    Ultima Online 1 hafta önce

  • Deathwave
    Valheim’e Ultima Online Modu

    Ultima Online 1 hafta önce

  • Ege ERKEK
    Elit Donanım Modülü (EDM) | Üretimin Doruğu (Yeni...

    Ultima Online 1 hafta önce

  • JoannaLevesQue
    Üyeliği 18 yıl ve üstünde olanlar.

    Ultima Online 2 hafta önce

  • Ege ERKEK
    Kader Masası | Seçimin Yazgını Belirleyecek (Yeni...

    Ultima Online 2 hafta önce

  • Ege ERKEK
    İçerik Kaşifi Aramızda!

    Duyurular 2 hafta önce

  • Venus
    World of UO'da Geçmişe Yolculuk Başladı

    Sunucular 2 hafta önce

  • Nefrelius
    Alcor UO Reborn

    Sunucular 3 hafta önce

  • Ege ERKEK
    Ultima Online'da Alkol Üretme Sistemi!

    Ultima Online 3 hafta önce

  • Lucretius
    Son yıllarda UO tercihiniz: RP, PP (Power Play)...

    Ultima Online 3 hafta önce

  • megastro.uokings
    Nephilim Pvp

    Sunucular 3 hafta önce

  • MMORPG'de Devrim Yaptı: Sınıf Tanımayan Ultima Online!

    2025-12-27 21:13

  • Ultima Online'ın Oynanışını Tamamen Değiştiren Harita Kararı!

    2025-12-23 23:17

  • Yeni Başlayanlar İçin Ultima Online

    2025-11-27 19:07

  • Skill seçimlerinizi planlamak artık çok daha kolay

    Ultima Online Karakter Yapılandırma Aracı Bölümü Açıldı!

    2024-10-31 22:47

  • Ultima Online topluluğu, ClassicUO'nun sadece web client olarak kullanılabileceğinin açıklanmasının ardından tepkili.

    Resmi UO, Oyuncuları İkiye Böldü: Web Client Yeterli mi?

    2024-10-14 17:45

  • Ultima Online, ClassicUO ile resmi işbirliği yapıyor! Performans iyileştirmeleri, geniş oyun penceresi ve daha fazlası geliyor.

    Ultima Online, ClassicUO ile Resmi İşbirliğine Gidiyor

    2024-09-26 14:21

  • Centred#

    2024-07-08 22:50

  • CentrED+ 7.9

    2024-07-08 22:34

Menü
  • ANASAYFA
  • FORUM
  • DOKÜMAN
  • İNDİR
  • İLETİŞİM
  • Bağlantılar
  • CS 1.6 indir
  • CS 1.6 Türkçe
  • CS 1.6 Bot
  • CS 1.6 CFG
  • CS 1.6 Rate Ayarları
  • UO Server
  • Ghost Mouse indir
  • FPS Nedir?
  • Ultima Online PVP Server
  • Makroman
  • UO Karakter Yapılandırma
    © 2004 - 2026 Ultima-Strike. Her hakkı saklıdır.