Compare commits
2 Commits
6ec3491c01
...
2e96ae6ce1
| Author | SHA1 | Date | |
|---|---|---|---|
| 2e96ae6ce1 | |||
| 74bbb6a78f |
@ -6,7 +6,7 @@
|
|||||||
"authors": [
|
"authors": [
|
||||||
{ "name": "Robin Riis" }
|
{ "name": "Robin Riis" }
|
||||||
],
|
],
|
||||||
"version": "0.1.4",
|
"version": "0.1.5",
|
||||||
"socket": true,
|
"socket": true,
|
||||||
"minimumCoreVersion": 10,
|
"minimumCoreVersion": 10,
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
|
|||||||
@ -10,7 +10,11 @@ Hooks.on("ready", async function() {
|
|||||||
|
|
||||||
Hooks.on("chatMessage", (log, message, data) => {
|
Hooks.on("chatMessage", (log, message, data) => {
|
||||||
let to_send = "";
|
let to_send = "";
|
||||||
|
let isGM = "";
|
||||||
|
let user = "";
|
||||||
|
let world = game.world.id;
|
||||||
console.log("[puckoprutt] chat!");
|
console.log("[puckoprutt] chat!");
|
||||||
|
|
||||||
if(message[0] === "!") to_send = puckocommand(isGM, user, world, log, message.slice(1).split(" "), data);
|
if(message[0] === "!") to_send = puckocommand(isGM, user, world, log, message.slice(1).split(" "), data);
|
||||||
|
|
||||||
if(to_send !== "") {
|
if(to_send !== "") {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user