Hi :) I know that in your macros, commands are entered with a period instead of a slash; I assume that's to prevent the server error message. However, how do you use these as commands without having it sent as a regular chat message, as well? If I entered a message that started with a period, it would usually just get sent as a normal chat message, and I have no idea how you avoided this. I looked through your code on github, but I still have no idea xD
Thread Tools
Thread Tools
Page 7 of 9
-
SionainnSun MayorMayor ⛰️⛰️ Ex-Mayor ⚒️⚒️
-
Code:IF(@pmcerrorc) IFMATCHES(%@&pmccommand%,"^\.[A-Za-z0-9]") LOG("&2&l[&a&lPMC&2&l] &cError: Unknown command. Type &e.help &cto see valid commands.") FILTER() ENDIF ENDIF
-
SionainnSun MayorMayor ⛰️⛰️ Ex-Mayor ⚒️⚒️
-
MatthewStevenGo BuilderBuilder ⛰️ Ex-Resident ⚒️
- Joined:
- May 8, 2015
- Messages:
- 773
- Trophy Points:
- 25,410
- Gender:
- Male
- EcoDollars:
- $9,469
- Ratings:
- +572
Nice! But does it not work in single player?
-
-
I added a new subsection to PMC - the "Specialized PMC" bonus. Macros in this section are too specific to be included in the actual PMC; but some people may find them useful.
These are macros that contain bugs. Intermediate knowledge about macros should be existent if you wish to use them. -
Can you provide previous examples of your macros?
Well, I just submitted a pull request on github, so that's more of a current example than a previous example, but close enough.
Do you know how to use Git (and optionally GitHub)?
Yes. I'm a software engineer irl.
Do you have a particular module idea in mind?
My pull request adds the ability to pause the PMC Timer. I also want to add the ability to cancel the timer, but I haven't started on that yet. I'll probably do it today or tomorrow. These are things I want, so I'll do them whether you want to pull them into the "official" repo or not.
<Pre-made tag to alert @314 of the suggestion/application> -
Thank you for the very first PMC pull request! :) -
Thanks, @aroston - I am a little late, but I have merged the PR. :)
I added you to the list of coding contributors. -
I have another one for you. The farming stats code had a bug where "Cocoa Bean" should have been "Cocoa Beans" and it therefore wasn't counting them, so I fixed that. Then I noticed you didn't have Beetroots tracked in the stats, so I added that as well. -
-
What is your problem? Game freezing
What did you do to cause the problem? use .help
What happened? Game froze
What should have happened? Gotten the .help page
<Pre-made tag to alert @314 of the report> -
Could you please send me a forum PM with a screenshot of your onSendChatMessage and onJoinGame event bindings? -
soyuzpixel BuilderBuilder ⛰️ Ex-Tycoon ⚜️⚜️⚜️
can i enqire bout the macro, is there one that logs transactions.
-
It it possible, but I don't think there is a real reason for it if there are so many easy ways to do it. (Not to mention the fact that any alternative I mentioned can also filter past log files for transactions.-
Informative x 1 - List
-
-
RaginDevonian Pro Pokemon PlayerMayor ⛰️⛰️ Ex-Mayor ⚒️⚒️ Premium Upgrade
- Joined:
- Sep 22, 2013
- Messages:
- 1,482
- Trophy Points:
- 48,960
- Gender:
- Male
- EcoDollars:
- $47,000
- Ratings:
- +1,023
What is your problem? Tool Switcher not working
What did you do to cause the problem? Nothing followed the exact instructions
What happened? Could not assign a tool to a slot
What should have happened? Tool should be a assigned to a slot so i can use the tool switcher.
The message said please choose a subcommand and the only subcommand is /tool none.
<Pre-made tag to alert @314 of the report> -
RaginDevonian Pro Pokemon PlayerMayor ⛰️⛰️ Ex-Mayor ⚒️⚒️ Premium Upgrade
- Joined:
- Sep 22, 2013
- Messages:
- 1,482
- Trophy Points:
- 48,960
- Gender:
- Male
- EcoDollars:
- $47,000
- Ratings:
- +1,023
-
For those who haven't seen the thread: https://www.ecocitycraft.com/forum/threads/copy-and-paste.161293 gave me an idea for a new PMC addition. Now I'll present a preview.
So, the recent macro mod updates have added something pretty neat... a LOGRAW command, which can be used to send JSON formatted messages to the client.
Yes, JSON actually allows the creation of messages that have a hover text or behave like an actual URL when clicked.
Yes, I want to add this macro to PMC semi-soon.
Yes, I decided to make it available as a standalone script because I know the PMC update will take a while.
Add it to a file called uuid.txt and bind $$<uuid.txt> to onChat.
Code:$${ IFMATCHES(%CHATCLEAN%,"^Notice: That (.+) is locked by ([\w\d]+) \(([a-f\d\-]+)\)\.$") MATCH(%CHATCLEAN%,"^Notice: That (.+) is locked by ([\w\d]+) \(([a-f\d\-]+)\)\.$",{null,null,&uuid}) &json := "[\"\",{\"text\":\"%&uuid%\",\"color\":\"red\",\"clickEvent\":{\"action\":\"open_url\",\"value\":\"https://namemc.com/profile/%&uuid%\"},\"hoverEvent\":{\"action\":\"show_text\",\"value\":{\"text\":\"\",\"extra\":[{\"text\":\"Click this UUID to open its namemc.com page.\",\"color\":\"yellow\"}]}}}]" LOG("&6Link to this UUID's www.namemc.com page:") LOGRAW(%&json%) ENDIF }$$
-
Winner x 1 -
Informative x 1 - List
-
-
strongpelt ~*Alaskan Sponsor*~Mythic ⚔️ I ⚔️ ECC Sponsor Tycoon ⛰️⛰️⛰️ Ex-EcoLegend ⚜️⚜️⚜️⚜️ Prestige ⭐ IV ⭐ Premium Upgrade
What is your problem? The new uuid macro gives me an autokick as soon as i use it on ecc. (as in as soon as i set it up)
What did you do to cause the problem? Followed your instructions lmao
What happened? Autokicked for spamming chat
What should have happened? Well i'd assume nothing should have happened as soon as it got done being set up. I didn't even make it to a chest to see.
<Pre-made tag to alert @314 of the report>
Page 7 of 9