Alright, so I've run into an issue. I want this:

to be able to restrict certain strings just like this:

But my addon just shows this: (yes I know it says respawn, but that's because I broke giveweapon when trying to make it work, but it says the same thing anyways)

This is my code
function ulx.giveweapon( calling_ply, target_plys, weapon )
local affected_plys = {}
for i=1, #target_plys do
local v = target_plys[ i ]
if not v:Alive() then
ULib.tsayError( calling_ply, v:Nick() .. " is dead", true )
else
v:Give(weapon)
table.insert( affected_plys, v )
end
end
ulx.fancyLogAdmin( calling_ply, "#A gave #T weapon #s", affected_plys, weapon )
end
local giveweapon = ulx.command( CATEGORY_NAME, "ulx giveweapon", ulx.giveweapon, "!giveweapon" )
giveweapon:addParam{ type=ULib.cmds.PlayersArg }
giveweapon:addParam{ type=ULib.cmds.StringArg, hint="weapon_357" }
giveweapon:defaultAccess( ULib.ACCESS_ADMIN )
giveweapon:help( "Give a player a weapon - !giveweapon" )