MV Help with making a push notification based on another script

I tried everything I could but truth be told I don't know anything about js and I couldn't work my way around like I usually do with CSS and HTML 😔

I'm using this script here with a few visual modifications for positioning. Basically, I wanted to make a custom push notification for whenever the player gets a key item (which could be just an acquired item logic call) and it would say "[item id name] added to the glossary" but I want it to have the same visuals, fade-ins and outs, as the party approval notification and if possible the same style of script call 😢 (I add a picture on the left of the approval text but that is not necessary!)

Anyway, I tried everything I could on my own and I would be very grateful if anyone did this custom script for me...

The attached script is the one I did the modifications.
So you want to draw a rectangle, fill it with a gradient, and change the opacity after a certain number of frames?

You could just copy and paste those functions and call the window object prototype something else. You're also going to have to change the inputs it's taking because it's calculating the box length based off actor name and creating messages based off them.

Presumably you don't want to overwrite the approval windows because then they won't work for their original purpose.

@ATT_Turan
So you want to draw a rectangle, fill it with a gradient, and change the opacity after a certain number of frames?

You could just copy and paste those functions and call the window object prototype something else. You're also going to have to change the inputs it's taking because it's calculating the box length based off actor name and creating messages based off them.

Presumably you don't want to overwrite the approval windows because then they won't work for their original purpose.

@ATT_Turan
Yeah, simply put that is what I want.

I tried to copy the window settings and all but I really don't know js, so didn't manage to make a script call to play it the way I want. I even tried to substitute the actor values for item and such.

Again, I don't know js, I simply adjusted the window before having google, html and css in mind to guide me :'D i didn't managed at all to make a new window based on a new function
Are you using the plugin for its actor approval system?

This is going to require more than a couple tweaks because it's taking in actor and user-defined "approval" data and modifying window output (the width and message content) based on those inputs.
Are you using the plugin for its actor approval system?

This is going to require more than a couple tweaks because it's taking in actor and user-defined "approval" data and modifying window output (the width and message content) based on those inputs.
Yes I am. I just wanted to make another push message for key items as I described above, while keeping the approval sysrem
Yes, and I've told you this is not a quick, simple ask, you need to know javascript because the windows are objects taking arguments and dynamically generated. It would take me at least an hour to do. If ATT_Turan or some other programmer wants to do it for free then by all means.

I am not going to do it for you unless you want to make this a commission.

But, generally speaking, you are going to need to copy and paste most of those functions, rename the object prototype for those copies to Window_ItemGain or whatever you want to call it, and have it share some of the properties passed in by the user like the colors. However the trigger will be different and it won't be taking actor as an input.
as side note, why not asked inside the thread itself for help?
the author of this plugin is active, so asking there would notify him.
as other might be using this could like it too, so he could update it.
as side note, why not asked inside the thread itself for help?
the author of this plugin is active, so asking there would notify him.
as other might be using this could like it too, so he could update it.
It's clear he's not interested in doing it. Are we going to pretend he hasn't seen this thread?

It might just be easier to go the other direction and edit a plugin like Casper Gaming Toast Manager to use the same window styles this plugin is using https://www.caspergaming.com/plugins/cgmv/toastmanager/
as side note, why not asked inside the thread itself for help?
It's clear he's not interested in doing it.
Both things are true. I support ShadowDragon's advice because it's what I always give - if a plugin has a thread and the author is active, it always makes sense to post requests inside of that, first.

However, Aqua's description of the situation is also accurate - this is so far removed from what the plugin actually does that I wouldn't consider it to be any kind of modification to the Approval System plugin that I'd do to incorporate it there.

It makes more sense to me to look at existing plugins that notify you when you receive items and change the visuals of their windows as required.
I mean, that's exactly why I didn't comment on the original approval thread, it has nothing to do with the approval thing I just wanted a notification pop-up similar to have the approval visuals/script call TwT

I would love to have commissioned it, but I'm completely broke hence why I try to work with what I can first.

I will take the advice and look at Casper's, and try to work with it. Thank you.

EDIT: I managed to make what I wanted to work. Thank you for the directioning

Original thread: https://forums.rpgmakerweb.com/threads/help-with-making-a-push-notification-based-on-another-script.174101/