Untitled
register('chat', (rank, name, mode, floor) => { if (!config.partyCommands || Date.now() - lastTimeUsed < DELAY || blacklist.igns.includes(name.toLowerCase()) || !Array.from(numbersToText.keys()).includes(floor)) return if (Party?.leader == Player.getName() || Party.leader == null) { runCommand(`joindungeon ${mode == 'm' ? 'master_' : ''}catacombs_floor_${numbersToText.get(floor)}`) } }).setCriteria(/Party > (\[.+\])? ?(.+) ?[ቾ⚒]?: !(f|m)(\d)/) register('chat', (rank, name) => { if (!config.partyCommands || Date.now() - lastTimeUsed < DELAY || blacklist.igns.includes(name.toLowerCase())) return runCommand('pc Commands: !warp, !ptme, !inv(ite), !allinv(ite), !ping, !tps, !rp, !cf(coinflip), !dice !m{floor}, !math') }).setCriteria(/Party > (\[.+\])? ?(.+) ?[ቾ⚒]?: !help/) register('chat', (rank, name) => { if (!config.partyCommands || Date.now() - lastTimeUsed < DELAY || blacklist.igns.includes(name.toLowerCase())) return if (Party?.leader == Player.getName() || Party.leader == null) { runCommand('p warp') } }).setCriteria(/Party > (\[.+\])? ?(.+) ?[ቾ⚒]?: !warp/) register('chat', (rank, name) => { if (!config.partyCommands || Date.now() - lastTimeUsed < DELAY || blacklist.igns.includes(name.toLowerCase())) return if (Party?.leader == Player.getName() || Party.leader == null) { runCommand(`party transfer ${name}`) } }).setCriteria(/Party > (\[.+\])? ?(.+) ?[ቾ⚒]?: !ptme/) register('chat', (rank, name, alias, ignToInv) => { if (!config.partyCommands || Date.now() - lastTimeUsed < DELAY || blacklist.igns.includes(name.toLowerCase())) return if (Party?.leader == Player.getName() || Party.leader == null) { runCommand(`party invite ${ignToInv}`) } }).setCriteria(/Party > (\[.+\])? ?(.+) ?[ቾ⚒]?: !inv(ite)? (.+)/) register('chat', (rank, name) => { if (!config.partyCommands || Date.now() - lastTimeUsed < DELAY || blacklist.igns.includes(name.toLowerCase())) return if (Party?.leader == Player.getName() || Party.leader == null) { runCommand('p settings allinvite') } }).setCriteria(/Party > (\[.+\])? ?(.+) ?[ቾ⚒]?: !allinv(ite)?/) register('chat', (rank, name) => { if (!config.partyCommands || Date.now() - lastTimeUsed < DELAY || blacklist.igns.includes(name.toLowerCase())) return if (Party?.leader == Player.getName() || Party.leader == null) { ChatLib.command(`rp`, true) lastTimeUsed = Date.now() } }).setCriteria(/Party > (\[.+\])? ?(.+) ?[ቾ⚒]?: (!rp|!reparty)/) register('chat', (rank, name) => { if (!config.partyCommands || Date.now() - lastTimeUsed < DELAY || blacklist.igns.includes(name.toLowerCase())) return runCommand(`pc ${name} rolled a ${1 + Math.floor(Math.random() * 6)}.`) }).setCriteria(/Party > (\[.+\])? ?(.+) ?[ቾ⚒]?: !dice/) register('chat', (rank, name) => { if (!config.partyCommands || Date.now() - lastTimeUsed < DELAY || blacklist.igns.includes(name.toLowerCase())) return runCommand(`pc ${name} rolled ${Math.floor(Math.random() * 2) == 0 ? 'Heads' : 'Tails'}`) }).setCriteria(/Party > (\[.+\])? ?(.+) ?[ቾ⚒]?: !(coinflip|cf)/) register('chat', (rank, name, operation) => { if (!config.partyCommands || Date.now() - lastTimeUsed < DELAY || blacklist.igns.includes(name.toLowerCase())) return runCommand(`pc ${operation} = ${eval(operation)}`) }).setCriteria(/Party > (\[.+\])? ?(.+) ?[ቾ⚒]?: !math ([^a-zA-Z!]+)/) // From [MVP++] AzuredBlue: !party register('chat', (rank, name) => { if (!config.partyCommands || Date.now() - lastTimeUsed < DELAY || blacklist.igns.includes(name.toLowerCase())) return runCommand(`party ${name}`) }).setCriteria(/From (\[.+\])? ?(.+) ?[ቾ⚒]?: !(party|p|inv|invite)/)
Leave a Comment