• Console command spammer
    14 replies, posted
I was wondering if there is a way that you can toggle spamming a command in the gmod console E.g. you press a button it starts to spam saying hi in chat if there is a way to do this please tell me
Please don't ask us to make something for you for absolutely free so you can go onto servers and annoy admins/players or something. [editline]16th July 2016[/editline] But yes, there is a way to do this.
[QUOTE=Robotboy655;50719969]Please don't ask us to make something for you for absolutely free so you can go onto servers and annoy admins/players or something. [editline]16th July 2016[/editline] But yes, there is a way to do this.[/QUOTE] Okay but i was thinking about using this on my server
Why would you want to force people to spam shit on your server? That's like the opposite of what you would want, or should be wanting, a enjoyable player experience, not a server that actively screams LEAVE ME IF YOU WANT TO PLAY AND CHAT IN PEACE.
[QUOTE=Robotboy655;50719999]Why would you want to force people to spam shit on your server? That's like the opposite of what you would want, or should be wanting, a enjoyable player experience, not a server that actively screams LEAVE ME IF YOU WANT TO PLAY AND CHAT IN PEACE.[/QUOTE] He probably owns a DarkRP server
[CODE]concommand.Add( "bestdarkrpconcmd", function() timer.Toggle("keytosuccess") end) timer.Create("keytosuccess", 2, 0, function() LocalPlayer():ConCommand("say /advert mug drop 5 k or die")end) timer.Pause("keytosuccess")[/CODE] now tested
-snip-
[QUOTE=Padle;50720335][CODE]concommand.Add( "bestdarkrpconcmd", function() timer.Toggle("keytosuccess") end) function DarkRPSuccess() LocalPlayer():ConCommand("say /advert mug drop 5 k or die") end timer.Create("keytosuccess",2,0,DarkRPSuccess()) timer.Pause("keytosuccess")[/CODE] untested[/QUOTE] [code] local ply = LocalPlayer() local Spam = {} Spam.On = false function Spam.Toggle() Spam.On = !Spam.On end concommand.Add( "togglespam", Spam.Toggle ) Spam.Wait = CurTime() function Spam.Command() if CurTime() < Spam.Wait || !Spam.On then return end Spam.Wait = CurTime() + 1.5 ply:ConCommand( "say hi" ) end hook.Add( "Think", "hi", Spam.Command ) [/code] mine > yours
i was thinking of making it so if a hacker came on the server and stole the rcon passoword i would turn on that so every 10seconds he gets banned even if he's not on
[QUOTE=Gr8Us3r;50725696]i was thinking of making it so if a hacker came on the server and stole the rcon passoword i would turn on that so every 10seconds he gets banned even if he's not on[/QUOTE] now you need to detect hackers that get your rcon password! [QUOTE=Moku;50722541][code] local ply = LocalPlayer() local Spam = {} Spam.On = false function Spam.Toggle() Spam.On = !Spam.On end concommand.Add( "togglespam", Spam.Toggle ) Spam.Wait = CurTime() function Spam.Command() if CurTime() < Spam.Wait || !Spam.On then return end Spam.Wait = CurTime() + 1.5 ply:ConCommand( "say hi" ) end hook.Add( "Think", "hi", Spam.Command ) [/code] mine > yours[/QUOTE] how is your code better than my fixed one, if they basically do the same thing(and you overcomplicate it for some reason)
It's not, both of yours are trash. [quote]i was thinking of making it so if a hacker came on the server and stole the rcon passoword i would turn on that so every 10seconds he gets banned even if he's not on[/quote] Why not just remove the backdoored addon / don't use rcon?
[QUOTE=Invule;50726395]It's not, both of yours are trash. Why not just remove the backdoored addon / don't use rcon?[/QUOTE] why not punish them for backdooring the addon / always have a backup plan named "rcon"?
[QUOTE=Padle;50726413]why not punish them for backdooring the addon / always have a backup plan named "rcon"?[/QUOTE] [QUOTE=Invule;50726395]Why not just remove the backdoored addon / don't use rcon?[/QUOTE] why not just shut the server down and fix it jfc
thnx guys
This was the stupidest and best thing I've seen today.
Sorry, you need to Log In to post a reply to this thread.