Slot machine attack

Can i make a slot machine skill that will have different effects depending on the symbols on the slots?
You will need a plugin to do that. The default engine can't accomplish that.

I've moved this thread to JS Plugin Requests. Thank you.

A non-plugin option (particularly if it's only one actor who can use this skill) could be to split it into several skills. The first skill would be the one that gets used, and could run a common event; that event would determine which of the other skills to use, via Force Action, immediately after the slots are rolled. 😮‍💨

It depends a bit on how "fancy" you want the slot display to be, but if you're OK with values simply appearing on-screen, you can just use the basic Show Picture command. The event might look something like this:
Spoiler: Event example
Code:
◆Comment:Randomly "rolls" three slots
:       :Uses force action to make the user use a corresponding skill
◆Comment:------------------------------------------------------------
◆Comment:Slot 1
◆Control Variables:#0027 Slot 1 = Random 1..3
◆If:Slot 1 = 1
  ◆Show Picture:#1, slotValue1, Center (216,312), (100%,100%), 255, Normal
  ◆
:Else
  ◆If:Slot 1 = 2
    ◆Show Picture:#1, slotValue2, Center (216,312), (100%,100%), 255, Normal
    ◆
  :Else
    ◆Show Picture:#1, slotValue3, Center (216,312), (100%,100%), 255, Normal
    ◆
  :End
  ◆
:End
◆Wait:30 frames
◆Comment:Slot 2
◆Control Variables:#0028 Slot 2 = Random 1..3
◆If:Slot 2 = 1
  ◆Show Picture:#2, slotValue1, Center (416,312), (100%,100%), 255, Normal
  ◆
:Else
  ◆If:Slot 2 = 2
    ◆Show Picture:#2, slotValue2, Center (416,312), (100%,100%), 255, Normal
    ◆
  :Else
    ◆Show Picture:#2, slotValue3, Center (416,312), (100%,100%), 255, Normal
    ◆
  :End
  ◆
:End
◆Wait:30 frames
◆Comment:Slot 3
◆Control Variables:#0029 Slot 3 = Random 1..3
◆If:Slot 3 = 1
  ◆Show Picture:#3, slotValue1, Center (616,312), (100%,100%), 255, Normal
  ◆
:Else
  ◆If:Slot 3 = 2
    ◆Show Picture:#3, slotValue2, Center (616,312), (100%,100%), 255, Normal
    ◆
  :Else
    ◆Show Picture:#3, slotValue3, Center (616,312), (100%,100%), 255, Normal
    ◆
  :End
  ◆
:End
◆Comment:Decide result value (determines which skill to use)
:       :  - note: result value is 1, 2, or 4 here
◆Control Variables:#0030 Result = 1
◆If:Slot 1 = Slot 2
  ◆Control Variables:#0030 Result += 1
  ◆
:End
◆If:Slot 1 = Slot 3
  ◆Control Variables:#0030 Result += 1
  ◆
:End
◆If:Slot 2 = Slot 3
  ◆Control Variables:#0030 Result += 1
  ◆
:End
◆Comment:Testing!
◆Text:None, Window, Bottom
:    :Slot values: \v[27] \v[28] \v[29]
:    :Result: \v[30]
◆Comment:Fade out slot pictures!
◆Move Picture:#1, Center (216,312), (100%,100%), 0, Normal, 30 frames
◆Move Picture:#2, Center (416,312), (100%,100%), 0, Normal, 30 frames
◆Move Picture:#3, Center (616,312), (100%,100%), 0, Normal, 30 frames
◆Comment:Use skill corresponding to result value~
◆If:Result = 1
  ◆Force Action:Marsha, Attack, Last Target
  ◆
:Else
  ◆If:Result = 2
    ◆Force Action:Marsha, Fire, Last Target
    ◆
  :Else
    ◆Force Action:Marsha, Spark, Last Target
    ◆
  :End
  ◆
:End

If you'd like something more intricate, you might be interested in Yanfly's Action Sequences. I described something kinda similar over in this thread (still involves making a common event):

Original thread: https://forums.rpgmakerweb.com/threads/slot-machine-attack.118895/