question :
Notice): SORU: kac yilda bir subat ayi 29 ceker?
and the answer need on all chat like :
“!t 4”
what is wrong ?
from phBot import *
import phBotChat
import re
from time import sleep
def handle_chat(t, player, msg):
if msg.find(‘kac yilda bir subat ayi 29 ceker?’):
result = “4”
log(‘Duman_Fan Crack %s’ % str(result))
sleep(1.0)
if msg.find(’!t’) != -1:
phBotChat.All("!t" + str(result))
thx everyone for help i fixed it
1 Like
is this after fix ?