How can I unpack a table that has the userid, name, and the command a player executed?

Im trying to make kohls admins module work with webhooks, sending logs of recent audits although they send the logs in tables with the userid, name, and the command


Trying to achieve that the UserId, the Name, and the Command is defined differently so I can send a webhook for each

For example:
The 1st argument (the Id)
UserId = thatid

2nd Argument (the name)
Name = thatname

3rd argument (the command)
Cmd = thatcmd

local UserId = Table[1]
local Name = Table[2]
local Cmd = Table[3]
1 Like

Erm, Well… Was it that simple…

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.