save string to variable from slash command?
currently my slash command looks like this, and what i want to happen is in comments/pseudocode
Code:
local function MyAddonCommands(msg, editbox) /test1 test save this string i want "save this string" to be saved to a variable could someone help me out on how to do this? |
think the thread got double posted? sorry, no idea why
|
figured it out
made a solution using concatenation of string
Code:
str1 = string.sub(msg, 1, 3) it will save ddddddd |
All times are GMT -6. The time now is 03:27 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI