diff options
Diffstat (limited to 'webAO/packets/handlers/handleBB.ts')
| -rw-r--r-- | webAO/packets/handlers/handleBB.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/webAO/packets/handlers/handleBB.ts b/webAO/packets/handlers/handleBB.ts new file mode 100644 index 0000000..c12c4f6 --- /dev/null +++ b/webAO/packets/handlers/handleBB.ts @@ -0,0 +1,11 @@ +import { safeTags } from "../../encoding"; + + +/** + * Handles the warning packet + * on client this spawns a message box you can't close for 2 seconds + * @param {Array} args ban reason + */ +export const handleBB = (args: string[]) => { + alert(safeTags(args[1])); +}
\ No newline at end of file |
