General > Developers Corner

Help with afk command

<< < (2/2)

dankpepe:
I don't really know what the true does, I just had it from another script. I believe the part you were missing was this:

afk:addParam{ type=ULib.cmds.BoolArg, invisible=true }

Mr_Rippe:
I know this is necroing an old thread, but I'm curious: does this allow people to AFK others mid round? If not, what should be modified to allow inputting the parameter of the player's name?

An Error Has Occurred!

array_keys(): Argument #1 ($array) must be of type array, null given

[0] Board index

Go to full version