{"TITLE":"Scripts","DESCRIPTION":"Scripts Callback","TYPE_EVENT":"9","ENABLE":"1","CODE":"\tif (strripos($callback, 'Scripts') > -1) {\r\n\t$confirm_emoji = \t\thex2bin('E29C85');\r\n\t$luckDice_emoji = \t\thex2bin('F09F8D80');\r\n\t$luckSlotMachine_emoji =hex2bin('F09F8EB0');\r\n\t$gameBall_emoji = \t\thex2bin('F09F8F80');\r\n\t$gameDart_emoji = \t\thex2bin('F09F8EAF');\r\n\t$quote_emoji = \t\t\thex2bin('E284B9');\r\n\t$script_emoji = \t\thex2bin('F09F9384');\r\n\t$prersonal_emoji = \t\thex2bin('F09F9883');\r\n\tswitch (explode('*', $callback)[1]) {\r\n    \tcase \"Show\":\r\n    \t\tswitch (explode('*', $callback)[2]) {\r\n            \tcase \"LuckDice\":\r\n\t\t\t\t\tfor($i = 1; $i < 7; $i++) {\r\n\t\t\t\t\t    $option[] = $this->buildInlineKeyboardButton($text = $luckDice_emoji.$i,\"\",\"LuckDice*Try*\".$i,\"\");\r\n\t\t\t\t\t}\r\n    \t\t\t\t$option[] = $this->buildInlineKeyboardButton($text = $script_emoji.\"\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043a \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f\u043c\", \"\", \"Scripts*Show\");\r\n\t\t\t\t\t$count_row = 2;\r\n\t\t\t\t\t$keyb = $this->buildInlineKeyBoard(array_chunk($option, $count_row));\r\n\t\t\t\t\t$this->sendContent(array('chat_id' => $chat_id, 'text' => \"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0438\u0441\u0445\u043e\u0434 \u0431\u0440\u043e\u0441\u043a\u0430:\", 'reply_markup' => $keyb));\r\n    \t\t\t\t$this->sendAnswerCallbackQuery($callback_id, $confirm_emoji.\"\u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e\", false);\r\n            \t\t$skip = true;\r\n            \t\tbreak;\r\n            \tcase \"LuckSlotMachine\":\r\n\t\t\t\t\t$option[] = $this->buildInlineKeyboardButton($text = $luckSlotMachine_emoji.\"1-9\",\"\",\"LuckSlotMachine*Try*1-9\",\"\");\r\n            \t\t$option[] = $this->buildInlineKeyboardButton($text = $luckSlotMachine_emoji.\"10-19\",\"\",\"LuckSlotMachine*Try*10-19\",\"\");\r\n            \t\t$option[] = $this->buildInlineKeyboardButton($text = $luckSlotMachine_emoji.\"20-29\",\"\",\"LuckSlotMachine*Try*20-29\",\"\");\r\n            \t\t$option[] = $this->buildInlineKeyboardButton($text = $luckSlotMachine_emoji.\"30-39\",\"\",\"LuckSlotMachine*Try*30-39\",\"\");\r\n            \t\t$option[] = $this->buildInlineKeyboardButton($text = $luckSlotMachine_emoji.\"40-49\",\"\",\"LuckSlotMachine*Try*40-49\",\"\");\r\n            \t\t$option[] = $this->buildInlineKeyboardButton($text = $luckSlotMachine_emoji.\"50-100\",\"\",\"LuckSlotMachine*Try*50-100\",\"\");\r\n            \r\n    \t\t\t\t$option[] = $this->buildInlineKeyboardButton($text = $script_emoji.\"\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043a \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f\u043c\", \"\", \"Scripts*Show\");\r\n\t\t\t\t\t$count_row = 2;\r\n\t\t\t\t\t$keyb = $this->buildInlineKeyBoard(array_chunk($option, $count_row));\r\n\t\t\t\t\t$this->sendContent(array('chat_id' => $chat_id, 'text' => \"\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0438\u0441\u0445\u043e\u0434 \u043f\u0440\u043e\u043a\u0440\u0443\u0442\u043a\u0438:\", 'reply_markup' => $keyb));\r\n    \t\t\t\t$this->sendAnswerCallbackQuery($callback_id, $confirm_emoji.\"\u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e\", false);\r\n            \t\t$skip = true;\r\n            \t\tbreak;\r\n            \tcase \"AccuracyBall\":\r\n\t\t\t\t\tfor($i = 1; $i < 6; $i++) {\r\n\t\t\t\t\t    $option[] = $this->buildInlineKeyboardButton($text = $gameBall_emoji.$i,\"\",\"AccuracyBall*Try*\".$i,\"\");\r\n\t\t\t\t\t}\r\n            \t\t$option = array_chunk($option, 2);\r\n    \t\t\t\t$option[][] = $this->buildInlineKeyboardButton($text = $script_emoji.\"\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043a \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f\u043c\", \"\", \"Scripts*Show\");\r\n\t\t\t\t\t$keyb = $this->buildInlineKeyBoard($option);\r\n\t\t\t\t\t$this->sendContent(array('chat_id' => $chat_id, 'text' => \"\u041f\u0440\u0435\u0434\u0443\u0433\u0430\u0434\u0430\u0439\u0442\u0435 \u043c\u0435\u0442\u043a\u043e\u0441\u0442\u044c \u0431\u0440\u043e\u0441\u043a\u0430:\", 'reply_markup' => $keyb));\r\n    \t\t\t\t$this->sendAnswerCallbackQuery($callback_id, $confirm_emoji.\"\u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e\", false);\r\n            \t\t$skip = true;\r\n            \t\tbreak;\r\n            \tcase \"AccuracyDart\":\r\n\t\t\t\t\tfor($i = 1; $i < 7; $i++) {\r\n\t\t\t\t\t    $option[] = $this->buildInlineKeyboardButton($text = $gameDart_emoji.$i,\"\",\"AccuracyDart*Try*\".$i,\"\");\r\n\t\t\t\t\t}\r\n            \t\t$option = array_chunk($option, 2);\r\n    \t\t\t\t$option[][] = $this->buildInlineKeyboardButton($text = $script_emoji.\"\u0412\u0435\u0440\u043d\u0443\u0442\u044c\u0441\u044f \u043a \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f\u043c\", \"\", \"Scripts*Show\");\r\n\t\t\t\t\t$keyb = $this->buildInlineKeyBoard($option);\r\n\t\t\t\t\t$this->sendContent(array('chat_id' => $chat_id, 'text' => \"\u041f\u0440\u0435\u0434\u0443\u0433\u0430\u0434\u0430\u0439\u0442\u0435 \u043c\u0435\u0442\u043a\u043e\u0441\u0442\u044c \u0431\u0440\u043e\u0441\u043a\u0430:\", 'reply_markup' => $keyb));\r\n    \t\t\t\t$this->sendAnswerCallbackQuery($callback_id, $confirm_emoji.\"\u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e\", false);\r\n            \t\t$skip = true;\r\n            \t\tbreak;\r\n            \tcase \"\":\r\n    \t\t\t\t$optionCallback = \tarray( \r\n    \t\t\t\t\t\tarray($this->buildInlineKeyboardButton(\r\n\t                        \t$text = $luckDice_emoji.\"\u0418\u0441\u043f\u044b\u0442\u0430\u0442\u044c \u0443\u0434\u0430\u0447\u0443\",\r\n\t                        \t\"\",\r\n\t                        \t\"Scripts*Show*LuckDice\"\r\n\t                        )),\r\n                    \t\tarray($this->buildInlineKeyboardButton(\r\n\t                        \t$text = $luckSlotMachine_emoji.\"\u0418\u0441\u043f\u044b\u0442\u0430\u0442\u044c \u0443\u0434\u0430\u0447\u0443\",\r\n\t                        \t\"\",\r\n\t                        \t\"Scripts*Show*LuckSlotMachine\"\r\n\t                        )),\r\n                    \t\tarray($this->buildInlineKeyboardButton(\r\n\t                        \t$text = $gameBall_emoji.\"\u041f\u0440\u0435\u0434\u0443\u0433\u0430\u0434\u0430\u0442\u044c \u043c\u0435\u0442\u043a\u043e\u0441\u0442\u044c\",\r\n\t                        \t\"\",\r\n\t                        \t\"Scripts*Show*AccuracyBall\"\r\n\t                        )),\r\n                    \t\tarray($this->buildInlineKeyboardButton(\r\n\t                        \t$text = $gameDart_emoji.\"\u041f\u0440\u0435\u0434\u0443\u0433\u0430\u0434\u0430\u0442\u044c \u043c\u0435\u0442\u043a\u043e\u0441\u0442\u044c\",\r\n\t                        \t\"\",\r\n\t                        \t\"Scripts*Show*AccuracyDart\"\r\n\t                        )),\r\n                    \t\tarray($this->buildInlineKeyboardButton(\r\n\t                        \t$text = $quote_emoji.\"\u0426\u0438\u0442\u0430\u0442\u044b\",\r\n\t                        \t\"\",\r\n\t                        \t\"Quotes*Show\"\r\n\t                        )),\r\n                    \t\tarray($this->buildInlineKeyboardButton(\r\n\t                        \t$text = $prersonal_emoji.\"\u041f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u0441\u043a\u0438\u0435\",\r\n\t                        \t\"\",\r\n\t                        \t\"ScriptExecuting*Show\"\r\n\t                        ))\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t$this->sendContent(array(\r\n\t\t\t\t\t\t\t\t\t\t'chat_id' => $chat_id,\r\n\t\t\t\t\t\t\t\t\t\t'text' => \"\u0412\u044b\u0431\u043e\u0440 \u0441\u0446\u0435\u043d\u0430\u0440\u0438\u044f:\",\r\n\t\t\t\t\t\t\t\t\t\t'reply_markup' => $this->buildInlineKeyBoard($optionCallback)));\r\n    \t\t\t\t$this->sendAnswerCallbackQuery($callback_id, $confirm_emoji.\"\u0412\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u043e\", false);\r\n            \t\t$skip = true;\r\n            \t\tbreak;\r\n            }\r\n    \t\t$skip = true;\r\n\t        break;\r\n    }\r\n}"}