I'm making an admin script and I'm trying to remove part of a string using Gsub.
This is how it's supposed to work:
-Player Chats: 'kill a /all/ //extra args//'
-:Gsub('/.-/',''):Gsub('//.-//','')
What I want to come out: 'kill a'
What comes out: 'kill a all extra args'
What am I doing wrong?
Thanks in advanced
|