[Gmod Lua]Autoban peaople in specific group

Hello i recendly made my own gmod server but i dont wand any people that joined a specific group
please post a full example and say where i need to put it i am kinda new so its importand
its something like this:
if ply.joinedsteamgroup(“http://steamcommunity.com/groups/<insert a stupid group here>”) then

     if ply.joinedsteamgroup("http://steamcommunity.com/groups/<insert a stupid group here>") then


Enjoy needlessly decreasing your server population and driving away potential returning players.

That’s the module I use

I’ve had to use it for 2 reasons:

  1. To reward players who are in my steam group
  2. To ban steam groups whose sole purpose is griefing. (yeah, they exist)

ty now i can start baning them out of my server

That code doesn’t work.

He’s being a troll.

good idea

[editline]24th April 2015[/editline]

nvm cant seem to be able to flipping compile it

This ban function should works.