Date: 2024/12/30 08:43:18 UTC-08:00
Type: Denizen Script
#========================
##### Commands
#========================
testcmd:
type: command
name: test
description: Test
usage: /test
script:
- if <server.has_flag[savedaccnumber]>:
- narrate "<red>NO! IT ALREADY EXISTS >:C"
- else:
- define char1 <util.random.int[1000].to[9999]>
- define char2 <util.random.int[1000].to[9999]>
- define char3 <util.random.int[1000].to[9999]>
- define char4 <util.random.int[1000].to[9999]>
- flag server savedaccnumber:<[char1]>-<[char2]>-<[char3]>-<[char4]>
- narrate "<gray><[char1]>-<[char2]>-<[char3]>-<[char4]>"