-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsag.php
More file actions
551 lines (546 loc) · 28.8 KB
/
sag.php
File metadata and controls
551 lines (546 loc) · 28.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
<html>
<title>Welcome!</title>
<body bgcolor ="yellow">
<?php
$khar=file_get_contents('php://input');
$string = json_decode($khar);
function objectToArray( $object )
{
if( !is_object( $object ) && !is_array( $object ) )
{
return $object;
}
if( is_object( $object ) )
{
$object = get_object_vars( $object );
}
return array_map( 'objectToArray', $object );
}
$token='248206495:AAHyIaRu5f4P5223R5AMOQFn5vBR2Sue2ZA';
$result = objectToArray($string);
$user_id = $result['message']['chat']['id'];
$text = " ".$result['message']['text']." ";
$text=str_replace("ي ","ی",$text);
$arr = explode(" ", $text);
//$res = file_get_contents('https://api.telegram.org/bot'.$token.'/sendMessage?chat_id=93769686&text='.$khar.$text);
if($result['message']['from']['username']=="Theonlyonetostand" && strpos($text, '...') !== false)
{
$text_reply = 'پورپور زر مفت نزن';
$reply=$result['message']['message_id'];
}
else if($result['message']['from']['id']=="121259997"&&rand(1,17)==9)
{
$text_reply = 'وز زر مفت نزن';
$reply=$result['message']['message_id'];
}
else if($result['message']['chat']['title']=="Nostalgy!!!" && ($result['message']['from']['username']=="Abbasposhtvan74" && mt_rand(1,5) == 2 || strpos($text, 'abbas') !== false && strpos($text, 'poshtvan') !== false || strpos($text, 'عباس') !== false && strpos($text, 'پشتوان') !== false))
{
switch(mt_rand(1,3)){
case 1:
$text_reply="تا خون در رگ ماست خمینی رهبر ماست";
break;
case 2:
$text_reply="مرگ بر منافقین مزدور";
break;
case 3:
$text_reply="برو اسرائیل ای عنصر خائن به انقلاب";
break;
}
$reply=$result['message']['message_id'];
}
else if($result['message']['chat']['title']=="Nostalgy!!!" && ($result['message']['from']['firstname']=="Shahin" && $result['message']['from']['firstname']=="Rahimi" && mt_rand(1,5) == 2 || strpos($text, 'شاهین') !== false && strpos($text, 'رحیمی') !== false || strpos($text, 'shahin') !== false && strpos($text, 'rahimi') !== false))
{
switch(mt_rand(1,3)){
case 1:
$text_reply="دانشمند هسته ای";
break;
case 2:
$text_reply="مملکتی که 20 میلیون جوان داشته باشد باید 20 میلیون تفنگدار داشته باشد و چنین مملکتی آسیب پذیر نیست.";
break;
case 3:
$text_reply="امید من به شما بچه دبستانی هاست.";
break;
}
$reply=$result['message']['message_id'];
}
else if(strpos($text, 'pnanegan') !== false || strpos($text, 'Pnanegan') !== false || strpos($text, 'PNANEGAN') !== false || strpos($text, 'پیننگان') !== false )
$text_reply=urlencode('<i> پیننگان پسر شود'.chr(10).'پی تو پسر نمی شود</i>');
else if($result['message']['sticker']['emoji']=='✅' || strpos($text, 'احمدی نژاد')!== false || strpos($text, 'احمدي نژاد')!== false)
{
switch(mt_rand(1,20)){
case 1:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'جیگردار نژاد');
break;
case 2:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'خشکسالی شده ای بارش باران برگرد');
break;
case 3:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'بیمار خنده های توام بیشتر بخند');
break;
case 4:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'انگلستان جزیره ای کوچک در غرب آفریقاست');
break;
case 5:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'عباسیان ۱۰ پیامبر را کشتند');
break;
case 6:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'<i>با مردم رنجدیده محشور شدی</i>'.chr(10).'<i>کابوس شبانه زر و زور شدی</i>'.chr(10).'<i>دست تو نمک نداشت ای ظلم ستیز</i>'.chr(10).'<i>مظلوم ترین رئیس جمهور شدی</i>');
break;
case 7:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'<i>شعار هر چی مرده</i>'.chr(10).'<i>احمدی بر میگرده</i>');
break;
case 8:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'آبو بریز اونجا که میسوزه');
break;
case 9:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'لولو برد');
break;
case 10:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'یک دختر 16 ساله به کمک برادرش در زیرزمین خانه اش انرژی هسته ای کشف کرده است');
break;
case 11:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'آنقدر قطعنامه بدهید تا قطعنامهدانتان پاره شود.');
break;
case 12:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).' اگر خیلی عرضه دارید، اوضاع کشورهای خود را جمع و جور کنید و به ملتهای خود برسید. شما نمیتوانید آب بینی خود را بالا بکشید.');
break;
case 13:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'همه اش کشک است، طرف راه می رفت میگفت ابرقدرت، قدر قدرت ... ای زکی.');
break;
case 14:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'باید چهار ماهواره به فضا پرتاب کنیم تا هر ننه قمری کلید آن را پایین نیاورد.');
break;
case 15:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'من نوکر ملت هستم، نوکر همه هستم، نوکر شما هم هستم، اما الان رئیسجمهور این کشور هستم. میخواهم از حقوق اساسی ملت دفاع کنم.');
break;
case 16:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'چطور باید از دولت دفاع کنیم، چطور باید از حق دفاع کنیم؟ شما راه آن را بفرمایید، ما همان را عمل میکنیم.');
break;
case 17:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'من میتوانم در مورد پرونده آموزشی یک خانمی با شما صحبت کنم؟ بگم؟ بگم؟');
break;
case 18:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'احمدی نژاد، معجزه هزاره سوم');
break;
case 19:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'آن مرد که میگفت هلوکاست حقیقت ندارد در قلب های ملت است');
break;
case 20:
$text_reply=urlencode('وعده ی ما بهار 96✌✌'.chr(10).'این هم از آن حرفهاست. احمدینژاد و خانه نشینی و استراحت؟! اکثر افراد میگویند یه کم استراحت کن و به خودت برس. مطمئن باشید کهاین وصلهها به دولت نمیچسبد و من همواره سعی کردم با یک ادبیات صحیح و منطقی و درست در خصوص ولایت تعریف کنم.');
break;
}
$reply=$result['message']['message_id'];
}//مظلومترین رئیس جمهور
else if(strpos($text, 'ترامپ')!== false||strpos($text, 'Trump')!== false||strpos($text, 'trump')!== false)
{
$text_reply=urlencode('وعده ی ما نوامبر 2016✌✌'.chr(10));
switch(mt_rand(1,20)){
case 1:
$text_reply.='MAKE AMERICA GREAT AGAIN';
break;
case 2:
$text_reply.='Part of the beauty of me is that I’m very rich.';
break;
case 3:
$text_reply.='Public reports routinely state great amounts of crime are being commited by illegal immigrants. This must be stopped and it must be stopped now.';
break;
case 4:
$text_reply.='I think it has to do with perhaps the fact that I\'m very, very strong on the border.';
break;
case 5:
$text_reply.='We\'re going to bring people in, but we\'re going to do it legally.';
break;
case 6:
$text_reply.="I don't want people coming in from the terror countries.";
break;
case 7:
$text_reply.="America First will be the major and overriding theme of my administration.";
break;
case 8:
$text_reply.="اگر برجام را آتش بزنید آن را پاره میکنیم.";
break;
case 9:
$text_reply.="An ‘extremely credible source’ has called my office and told me that Barack Obama’s birth certificate is a fraud";
break;
case 10:
$text_reply.="All of the women on The Apprentice flirted with me – consciously or unconsciously. That’s to be expected. ";
break;
case 11:
$text_reply.="It’s freezing and snowing in New York – we need global warming!";
break;
case 12:
$text_reply.="I think the only difference between me and the other candidates is that I’m more honest and my women are more beautiful.";
break;
case 13:
$text_reply.="The point is, you can never be too greedy.";
break;
case 14:
$text_reply.="My Twitter has become so powerful that I can actually make my enemies tell the truth.";
break;
case 15:
$text_reply.="One of they key problems today is that politics is such a disgrace. Good people don’t go into government.";
break;
case 16:
$text_reply.="I have a great relationship with the blacks.";
break;
case 17:
$text_reply.="I have great respect for women.";
break;
case 18:
$text_reply.="I was down there, and I watched our police and our firemen, down on 7-Eleven, down at the World Trade Center, right after it came down.";
break;
case 19:
$text_reply.="Lyin' Ted Cruz just used a picture of Melania from a shoot in his ad. Be careful, Lyin' Ted, or I will spill the beans on your wife!";
break;
case 20:
$text_reply.="My IQ is one of the highest — and you all know it! Please don't feel so stupid or insecure; it's not your fault.";
break;
}
$reply=$result['message']['message_id'];
}//مظلومترین رئیس جمهور
else if(strpos($text, 'رائفی پور') !== false || strpos($text, 'ازغدی') !== false || strpos($text, 'حسن عباسی') !== false)
{
switch(mt_rand(1,6)){
case 1:
$text_reply = 'تو عکس پروفایل من 666 دونه سماق وجود داره';
break;
case 2:
$text_reply = 'سماق اولین بار در اسرائیل کشت میشد و تو پرچم آمریکا هم مشخصه';
break;
case 3:
$text_reply = 'تعداد خط های کد سماق در مبنای 33 قابل بازنویسیه';
break;
case 4:
$text_reply = 'سماق اولین بار توسط شبکه بیگانه ماهواره ای Moscow att. ایجاد شد و هدفی جز اغتشاش اذهان عمومی نداشت.';
break;
case 5:
$text_reply = 'به نظرتون تصادفیه که شکوفه سماق آبیه؟';
break;
case 6:
$text_reply = 'کباب توسط شوالیه های معبد خلق شده و برای مسموم کردن ذهن جوانان روش سماق میریختن.';
break;
}
$reply=$result['message']['message_id'];
}
else if(strpos($text, 'خواص') !== false && strpos($text, 'سماق') !== false)
{
$text_reply = 'در کاهش فشار خون مؤثره';
$reply=$result['message']['message_id'];
}
else if(strpos($text, ':) ') !== false)
{
$text_reply = 'عزیز این شکلکایی که میذاری فقط ریا و تزویره! جمعش کن این بساطو';
$reply=$result['message']['message_id'];
}
else if((strpos($text, 'واحد') !== false && strpos($text, 'انتخاب') !== false || strpos($text, 'inator') !== false && strpos($text, 'term') !== false || strpos($text, 'یناتور') !== false && strpos($text, 'ترم') !== false || strpos($text, 'ارائه') !== false || strpos($text, 'نمودار') !== false || strpos($text, 'مگردومیان') !== false) && mt_rand(4)==1)
{
$text_reply = 'انتخاب واحد میکردیم وقتی انتخاب واحد مد نبود^__^';
$reply=$result['message']['message_id'];
}
else if(strpos($text, 'SSC') !== false || strpos($text, 'ssc') !== false || strpos($text, 'اس اس سی') !== false )
{
$text_reply = 'دست آورد های لیست SSC؟ تقریبا هیچ';
}
else if (((strpos($text, 'سربازی') !== false && strpos($text, 'آزاد') !== false) || strpos($text, 'اسدی') !== false )&& mt_rand(4)==1){
switch(mt_rand(1,4)){
case 1:
$text_reply = 'من خودم ترم پیش با سربازی آزاد داشتم انصافا خوب درس میداد';
break;
case 2:
$text_reply = 'جالبه بدونین سربازی آزاد و اسدی در حقیقت با هم برادرند ولی نام فامیلیشون فرق داره!';
break;
case 3:
$text_reply = 'من ترم پیش با اسدی داشتم انصافا خوب درس میداد';
break;
case 4:
$text_reply = 'من ترم پیش اصلا ساختار زبان نداشتم حرفاییم که تا الان زدم خالی بندی بود';
break;
}
$reply=$result['message']['message_id'];
}
else if ((strpos($text, 'جم') !== false && strpos($text, 'زاد') !== false || strpos($text, 'قدسی') !== false || strpos($text, 'دی اس') !== false )&& mt_rand(4)==1){
$text_reply = 'به نظر من دی اس رو ';
switch(mt_rand(1,10)){
case 1:
$text_reply.='با قدسی بردارین ملت راضی بودن';
break;
case 2:
$text_reply.='با جمزاد بردارین خیلی پرتجرست';
break;
case 3:
$text_reply.='یا با قدسی بردارین یا با جمزاد';
break;
case 4:
$text_reply.='یا با قدسی بردارین یا با جمزاد یا کلا برندارید';
break;
case 5:
$text_reply ='من خودم از قدسی پرسیدم گفته توبه کردم این سری خوب درس میدم';
break;
case 6:
$text_reply.='صبر کنید یه استاد جدید به زودی ارائه میده';
break;
case 7:
$text_reply ='من دروغ نباشه پسر دکتر قدسیم لطفا با پدرم بردارید';
break;
case 8:
$text_reply ='شعار هرچی مرده جمزاد برمیگرده';
break;
case 9:
$text_reply ='ناموسا انقدر مهم نیست این استاد یا اون استاد';
break;
case 10:
$text_reply ='اصلا خودم میخواستم دی اس ارائه بدم این ترم ایزدی مخالفت کرد';
break;
}
$reply=$result['message']['message_id'];
}
else if(strpos($text, ' بزار') !== false)
{
$text_reply = 'بذار* یعنی ازدست تو یکی به تیمارستان امین آباد پناه بردم! روانیم کردی';
$reply=$result['message']['message_id'];
}
else if(strpos($text, 'میزار') !== false||strpos($text, 'می زار') !== false)
{
$text_reply = 'می ذار*';
$reply=$result['message']['message_id'];
}
else if(strpos($text, 'گزاشت') !== false)
{
$text_reply = 'گذاشت*';
$reply=$result['message']['message_id'];
}// بذار
else if(strpos($text, 'برگذار') !== false)
{
$text_reply = '*برگزار ';
$reply=$result['message']['message_id'];
}// برگزار
else if(strpos($text, 'بگزار') !== false)
{
$text_reply = ':|';
$reply=$result['message']['message_id'];
}// برگزار
else if(strpos($text, 'کارگذار') !== false)
{
$text_reply = '*کارگزار ';
$reply=$result['message']['message_id'];
}// برگزار
else if(strpos($text, 'بارگزار') !== false)
{
$text_reply = '*بارگذار ';
$reply=$result['message']['message_id'];
}// بارگذار
else if(strpos($text, 'سپاس') !== false && strpos($text, 'گذار') !== false)
{
$text_reply = '*گزار';
$reply=$result['message']['message_id'];
}// بارگذار
else if(strpos($text, ' گاها') !== false || strpos($text, ' گاهن') !== false || strpos($text, 'خواهشن') !== false || strpos($text, ' خواهشا ') !== false || strpos($text, ' دومن ') !== false || strpos($text, ' سومن ') !== false|| strpos($text, 'ناچارا') !== false || strpos($text, 'ناچارن') !== false)
{
$text_reply = 'آخه بی سواد کلمه فارسی تنوین میگیره؟؟زبان فارسی ۱ پاس نکردی مگه؟تو باید بری نهضت سوادآموزی اکابر شبانه';
$reply=$result['message']['message_id'];
}// تنوین
else if((strpos($text, 'ناموسن') !== false || strpos($text, 'صرفن') !== false || strpos($text, 'واضحن') !== false || strpos($text, 'کلن') !== false || strpos($text, 'مثلن') !== false || strpos($text, 'دقیقن') !== false || strpos($text, 'قطعن') !== false || strpos($text, 'اصلن') !== false || strpos($text, 'اصن') !== false || strpos($text, 'رسمن') !== false || strpos($text, 'عمومن') !== false || strpos($text, 'عمرن') !== false || strpos($text, 'کلن') !== false || strpos($text, 'حقیقتن') !== false || strpos($text, 'واقعن') !== false || strpos($text, 'فعلن') !== false || strpos($text, 'مستقیمن') !== false || strpos($text, 'واقن') !== false || strpos($text, 'قطعن') !== false || strpos($text, 'ضمنن') !== false || strpos($text, 'بدیهتن') !== false || strpos($text, 'قاعدتن') !== false || strpos($text, 'لطفن') !== false || strpos($text, 'حتمن') !== false || strpos($text, 'جدن') !== false)&&mt_rand(7)==1)
{
$text_reply = 'جون بچت این تنوین رو درست بذار روزی سه مرتبه قرص اعصاب میخورم از دست شما ها';
$reply=$result['message']['message_id'];
}// تنوین
else if(strpos($text, 'ظبط') !== false)
{
$text_reply = 'غلط املایی شما <i>ضبط</i> شد.';
$reply=$result['message']['message_id'];
}// عجالتا
else if(strpos($text, 'اجالتن') !== false || strpos($text, 'اجالتا') !== false)
{
$text_reply = '*عجالتا';
$reply=$result['message']['message_id'];
}// عجالتا
else if(strpos($text, ' حتا ') !== false)
{
$text_reply = '<i>حتی</i> یک کودن به تمام معنا هم بلده اینو درست بنویسه';
$reply=$result['message']['message_id'];
}// حتی
else if(strpos($text, 'انظباط') !== false || strpos($text, 'منظبط') !== false)
{
$text_reply = '<i>انضباط</i> شرط لازمه نداشتن غلط املایی است';
$reply=$result['message']['message_id'];
}// انضباط
else if(strpos($text, 'وحله') !== false)
{
$text_reply = 'شما در <i>وهله</i> اول برو املای کلماتو یاد بگیر بعد چت کن';
$reply=$result['message']['message_id'];
}// وهله
else if(strpos($text, 'متوصل') !== false || strpos($text, 'توصل') !== false)
{
$text_reply = 'از دست شما بی سوادان به خدای یکتا <i>توسل</i> می جویم';
$reply=$result['message']['message_id'];
}// توسل
else if(strpos($text, 'چتوری') !== false || strpos($text, 'چتور') !== false)
{
$text_reply = '<i> چطوری </i> یه نفر میتونه انقدر بی سواد باشه';
$reply=$result['message']['message_id'];
}// چطوری
else if(strpos($text, 'ترجیه') !== false)
{
$text_reply = '<i>ترجیح</i>میدم به میزان حماقت پشت این غلط املایی فکر نکنم';
$reply=$result['message']['message_id'];
}// ترجیح
else if(strpos($text, 'توجیح') !== false)
{
$text_reply = 'این غلط املایی <i>توجیه</i> ناپذیره';
$reply=$result['message']['message_id'];
}// توجیه
else if(strpos($text, 'MPT') !== false || strpos($text, 'M.P.T.') !== false || strpos($text, 'ام پی تی') !== false || strpos($text, 'ام.پی.تی') !== false)
{
$text_reply = 'استاد جواد کریمی قدوسی';
$reply=$result['message']['message_id'];
}// جواد
else if(strpos($text, ' صگ ') !== false || strpos($text, 'گل') !== false && strpos($text, 'مکانی') !== false)
{
$text_reply = 'گل مکانی برو بمیر';
$reply=$result['message']['message_id'];
}// سگ*/
else if(strpos($text, 'گزارشات') !== false || strpos($text, 'آزمایشات') !== false || strpos($text, 'پیشنهادات') !== false || strpos($text, 'دستورات'))
{
$text_reply = 'ته کلمات فارسی ات نذارید. غلط است دیگر';
$reply=$result['message']['message_id'];
}// ات سر فارسی
else if(strpos($text, 'بزنگ') !== false||strpos($text, 'زنگید') !== false||strpos($text, 'میزنگ') !== false||strpos($text, 'می زنگ') !== false)
{
$text_reply = 'بی سوااااددددد فارسی رو به فنا نده';
$reply=$result['message']['message_id'];
}//زنگیدن
else if($result['message']['left_chat_participant']['id']!=0)
{
$text_reply = urlencode('<i>خداحافظ گل ناز🌷🌷🌷'.chr(10).'لبت به خنده شد باز😊😊😊'.chr(10).'امیدوارم دوست من🙏🙏🙏'.chr(10).'تو رو ببینمت باز✋✋✋</i>');
$reply=$result['message']['message_id'];
}
else if(strpos($text, 'کباب') !== false)
$text_reply = 'رو کباب سماق میریزن';
else if(strpos($text, ' نوب ') !== false)
$text_reply = 'نوب سععععگ';
else if(strpos($text, 'وز ساکت') !== false||strpos($text, 'وز ساکت') !== false)
$text_reply = 'vez ostad '.$result['message']['from']['first_name'].' mifarmayand <b>zer moft nazan</b>';
/*else if(strpos($text, 'is real') !== false||strpos($text, 'iz') !== false)
$text_reply = $arr[0].'is real';*/
else if(strpos($text, 'برخیز') !== false||strpos($text, 'بلند شو') !== false||strpos($text, 'پاشو')!==false)
$text_reply = urlencode('<i>من اگر بنشینم'.chr(10).'تو اگر بنشینی'.chr(10).'او اگر بنشیند'.chr(10).'چه کسی برخیزد؟'.chr(10).'چه کسی برخیزد؟؟؟؟'.chr(10).'چه کسی برخیزد؟؟؟؟؟؟؟؟</i>');
else if(strpos($text, 'بشین') !== false||strpos($text, 'بنشین') !== false)
$text_reply = urlencode('<i>من اگر برخیزم'.chr(10).'تو اگر برخیزی'.chr(10).'او اگر برخیزد'.chr(10).'چه کسی بنشیند؟'.chr(10).'چه کسی بنشیند؟؟؟؟'.chr(10).'چه کسی بنشیند؟؟؟؟؟؟؟؟</i>');
else if(strpos($text, 'پی ننه') !== false||strpos($text, 'pnane') !== false||strpos($text, 'پي ننه') !== false||strpos($text, 'پیننه') !== false)
$text_reply = '🎤🎤🎤<i>پی ننه کو؟ پی ننه کو؟ پی ننه پی ننه پی ننه کو؟</i>🎤🎤🎤';
/*else if(strpos($text, 'دبه') !== false || strpos($text, '10be') !== false || strpos($text, 'dabbe') !== false || strpos($text, 'دببه') !== false)
$text_reply = '<i>خااالص</i>';*/
else if(strpos($text, 'بکتاش') !== false||strpos($text, 'baktash') !== false||strpos($text, 'bakt') !== false||strpos($text, 'بکت') !== false||strpos($text, '@bk7sh') !== false||strpos($text, '@Bk7sh') !== false)
$text_reply = '🎤🎤🎤<i>بکتاش آفت شهپر مهوش پریوش چه بد کرد غلط کرد شوهر کرد همه رو در به در کرد</i>🎤🎤🎤';
else if(strpos($text, 'وزننه') !== false)
$text_reply = 'وزننه نسخه جدید پی ننه';
else if(strpos($text, ' استا')!==false){
switch(rand(1,10)){
case 1:
$text_reply ="استاااوووود";
break;
case 2:
$text_reply ="نام نامی استاد رو با وضو ذکر کنید";
$reply=$result['message']['message_id'];
break;
case 3:
$text_reply = "استااعاععاعاد";
break;
}
}
else if(strpos($text, 'خدا')!==false && strpos($text, 'لعنتت')!==false&& $result['message']['reply_to_message']['message_id']!=0)
{
$reply=$result['message']['reply_to_message']['message_id'];
if(mt_rand(1,2)==2)
$text_reply ="لعنت و نفرین جاودان خداوند بر تو باد";
else
$text_reply ="خدا به زمین گرم بزنتت";
}
else if($result['message']['from']['username']=="aryakowsary" || $result['message']['from']['username']=="A_H_P_A"|| $result['message']['from']['username']=="kianoosh76")
{
if(strpos($text,'حرف دهنتو بفهم سماق')!==false || strpos($text,'حرف دهنتو بفهم')!==false)
$text_reply = 'ببخشید، استغفار می کنم';
else if(strpos($text, 'سماق')!==false && $result['message']['from']['username']=="A_H_P_A"){
if(strpos($text, 'به نظرت')!==false)
$text_reply = 'بندازیمش تو سطل زباله! بندازیمش تو سطل زباله!';
else if(strpos($text, 'هستی')!==false )
$text_reply = 'حی و حاضر';
}
else if($arr[2] == 'مرغه')
$text_reply = 'کی از همه مرغ تره؟ '.$arr[1].' '.$arr[1].' '.$arr[1].' '.$arr[1];
else if($arr[2] == 'ساکت' || $arr[2] == 'خفه')
$text_reply = $arr[1].' استاد میفرمایند '.$arr[2];
else if($arr[2]== 'زر' )
$text_reply = $arr[1].' استاد میفرمایند زر مفت نزن ';
else if($arr[2] == 'چرت' || $arr[2] == 'چرند')
$text_reply = $arr[1].' استاد میفرمایند چرت نگو ';
else if(strpos($arr[2], 'باهات')!==false && strpos($arr[3], 'موافقم')!==false){
if($arr[1] !== 'من' && $arr[1] !== 'منم')
$text_reply = $arr[1].' استاد '.$arr[2].' موافقه ';
else
$text_reply = ' استاد '.$arr[2].' موافقه ';
$reply=$result['message']['message_id'];
}
else if(strpos($arr[2], 'باهات')!==false && strpos($arr[3], 'مخالفم')!==false&&!(strpos($arr[1], 'من')!==false))
$text_reply = $arr[1].' برو بمیر ';
else
$text_reply = '';
}
/*else
{
if((strpos($text, 'پویا')!==false || strpos($text, 'آریا')!==false || strpos($text, 'کیانوش')!==false) && (strpos($text, 'زر نزن')!==false || strpos($text, 'خفه شو')!==false ||strpos($text, 'چرت نگو')!==false||strpos($text, 'ساکت')!==false)){
if(rand(1,2)==2)
$text_reply='چه خزعبلی واسه خودت بلغور میکنی ';
else
$text_reply ="بدمت دست لاتای دور و ور پی ننه؟";
$reply=$result['message']['message_id'];
}
else if(($result['message']['reply_to_message']['from']['username']=="kianoosh76" || $result['message']['reply_to_message']['from']['username']=="A_H_P_A" || $result['message']['reply_to_message']['from']['username']=="aryakowsary") && (strpos($text, 'زر نزن')!==false || strpos($text, 'خفه شو')!==false ||strpos($text, 'چرت نگو')!==false||strpos($text, 'ساکت')!==false))
{
if(rand(1,2)==2)
$text_reply='چه خزعبلی واسه خودت بلغور میکنی ';
else
$text_reply ="بدمت دست لاتای دور و ور پی ننه؟";
$reply=$result['message']['message_id'];
}*/
else
{
$r = mt_rand(1, 180);
if($chat_id=='-141882110')
$r = mt_rand(1, 450);
if ($r == 37){
$text_reply = 'خانم محترم این گروه جای این حرفا نیست';
}
if ($r == 54){
$text_reply = 'آقای محترم این گروه جای این حرفا نیست';
}
if ($r == 99){
$text_reply = 'نذار بگم شما تا دیروز لنگ ۲۵۰۰ کرایه تاکسیت بودیآخرشم از من قرض گرفتی حالا اومدی اینجا فاز انتلکت برداشتی';
}
if ($r == 136){
$text_reply = 'منظورتو دقیق متوجه نشدم میشه بیشتر توضیح بدی؟';
}
$reply=$result['message']['message_id'];
/*$text_reply = '';
if(rand(1,400)==2)
{
$text_reply = $result['message']['from']['first_name'].' chert nagoo';
$reply=$result['message']['message_id'];
$url = 'https://api.telegram.org/bot'.$token.'/sendMessage?chat_id='.$user_id;
$url .= '&text=' .$text_reply;
$url .= '&reply_to_message_id=' .$reply;
$url .= '&parse_mode=html';
$res = file_get_contents($url);
$text_reply = urlencode("This message is generated randomly to stop nonsensical stultiloquence.".chr(10)."For more information, contact gmail@somag.be");
$reply='';
}*/
}
/*}*/
$url = 'https://api.telegram.org/bot'.$token.'/sendMessage?chat_id='.$user_id;
$url .= '&text=' .$text_reply;
$url .= '&reply_to_message_id=' .$reply;
$url .= '&parse_mode=html';
$res = file_get_contents($url);
?>
</body>
</html>