summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/NeonXP/BotScript.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NeonXP/BotScript.php b/src/NeonXP/BotScript.php
index 6fb9c9f..5821d7a 100644
--- a/src/NeonXP/BotScript.php
+++ b/src/NeonXP/BotScript.php
@@ -110,7 +110,7 @@ class BotScript
}
}
- if (strtolower($value[4]) == strtolower($text)) {
+ if (strtolower($value[2]) == strtolower($text)) {
if ($key < 10) {
$result = "0$key | $value[0] | $value[1] | $value[2] | $value[3] | $value[4] | $value[5]" . PHP_EOL;
} else {