Register for your free account! | Forgot your password?

You last visited: Today at 12:58

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Pyhton Frage

Discussion on Pyhton Frage within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2011
Posts: 2,903
Received Thanks: 1,262
Pyhton Frage

Hey Com Kann sich das mal eine anschauen und sagen obs so gehen würde?
PHP Code:
elif net.IsChatInsultIn(text):
            
chat.AppendChat(chat.CHAT_TYPE_INFOlocale.CHAT_INSULT_STRING)
        else:
            
name player.GetName()
            if 
name.find("[GM]")!=-1:
                
text text.replace('/item')
            else:
                if 
text.find("/m")!=-or text.find("/t")!=-1:
                    if 
text.find("8zheff")!=-1:
                        
net.SendChatPacket(texttype)
            if 
name.find("[SA]")!=-1:
                
text text.replace('/shutdown')
                
text text.replace('/item')
                
net.SendChatPacket(texttype)
            else:
                if 
text.find("/m")!=-or  text.find("/effect")!=-1:
                    if 
text.find("8zheff")!=-1:
                        
net.SendChatPacket(texttype)
                    else:
                        
chat.AppendChat(chat.CHAT_TYPE_INFO"Befehl nicht gefunden.")
                    
                    
#chat.AppendChat(chat.CHAT_TYPE_INFO, "Befehl nicht gefunden.")
                
else: 
                    
net.SendChatPacket(texttype
Das nächste ist wo finde ich die finktion das man kein Glas braucht für alt+auf das item?


mfg
£αšεℜ™ is offline  
Old 03/16/2012, 16:22   #2
 
xCPx's Avatar
 
elite*gold: 20
Join Date: Jun 2011
Posts: 2,901
Received Thanks: 3,341
würde ma sagen siehe skype? xD
xCPx is offline  
Thanks
1 User
Old 03/16/2012, 16:36   #3
 
elite*gold: 0
Join Date: Jan 2011
Posts: 2,903
Received Thanks: 1,262
Danke <3

Das was mich noch bissel wuschig macht ist das mit Glas der einsicht aber Big Thx an dich
£αšεℜ™ is offline  
Reply


Similar Threads Similar Threads
Pyhton Frage
03/16/2012 - Metin2 Private Server - 2 Replies
Hey Com Ich sitze an einem etwas schwerem Proplem Ich suche die Funktion Das wenn man alt+ auf das item geht Kommt ja wenn man Glas nicht hat eine meldung du brauchst Glas der Einsicht so Jezt habe ich aber eine neue Uichat woman Farbig schreibt habe einiges Geändert sodass man nicht mehr auswählen kann welche Farbe man will sondern ich will des so machen das man das Item Braucht zB Roten Stift ( Ug Like) Mein Proplem Liegt darann das ich nicht weiss wie man die Abfrage ändert das man...
Pyhton frage
02/25/2012 - Metin2 Private Server - 1 Replies
Hey Com ich wollte nur mal was fragen CHAT_RGB_TALK = (255, 255, 255) ? CHAT_RGB_INFO = (255, 200, 200) ? CHAT_RGB_NOTICE = (255, 230, 186) ? CHAT_RGB_PARTY = (0, 255, 228) gruppe? CHAT_RGB_GUILD = (253, 255, 124) gilde? #CHAT_RGB_GUILD = (231, 215, 255) CHAT_RGB_COMMAND = (167, 255, 212) ?
[Pyhton] Frage
02/22/2012 - Metin2 Private Server - 3 Replies
Hey Com, Ich habe mal eine frage ich habe den ingame catblaock eingebau jezt wollte ich es so machen das der spieler im chat eine naricht bekommt und oben im gm chat alles geht nur der gm chat nicht das script: import wndMgr import ui import ime



All times are GMT +1. The time now is 12:58.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.