Stans Command Redirect

This is a simple addon that is easy to install and edit. When someone types in a command it sends them to a link. It also has a function to say in chat when somone types the command for instance if i where to type in chat !website it would say in blue text Stan has opened the website with !website Obiously this is editable. Enjoy
Read the install.txt

Watch it here: https://www.youtube.com/watch?v=lDUIx1d1RwM
Download: http://www.mediafire.com/download/zfagbsd5dvw5qms/Addon.rar
Enjoy Stan

Oops did I leak ur code ;0


(User was banned for this post ("Threadshitting again" - postal))

Ok

[editline]12th August 2016[/editline]

What ever you say

[editline]12th August 2016[/editline]

it was just a test so what ever

No need to be a dick.

In the future OP I would keep releasing code to bigger projects.

You should fix that.

Thank You

[editline]13th August 2016[/editline]

Fixed

No need to be an asshole about someone’s early projects.

Thank you

Why do people insist on adding horrible music to their videos…
I had to close it, please remove the music altogether.

My First pretty good music got copyrighted so i had to use youtubes music Sorry

Next time dont use any music at all, and use just voice. If you dont wanna use your voice, then just dont make a video at all/make a quiet(but professional looking) video, there are some out there, wich a good, and have a smooth movement to show all features of their product.

Ok

god forbid clicking the mute button :goodjob:

I suggest using github rather than mediafire, that way people can view your code. Also, all you did was post something you found on a github or even on this forum.

For example, I posted this to my github over a year ago. https://github.com/SubjectAlpha/Small-Scripts/blob/master/lua/autorun/server/donatecommand.lua

Yes, the difference between the two is he added an arbitrary chat print that tells everyone that someone decided to check the rules.

Yeah I agree use github… also make a command table something that people can easily add commands! You can do something like this



Myfancytable = {}
Myfancytable.Command1 = {"!website", "www.google.com}
Myfancytable.Command2 = {"!donate", "www.google.com}


Then just loop through the table and ask if the text is the command and then run the website

[editline]14th August 2016[/editline]

Use big man Tyrone :slight_smile:

You didn’t properly close your strings.

That also seems like a pretty roundabout way of doing it, just set the key as the command, and the value as the website you want.

i was on my phone sorry but yeah just a simple way