Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: daylighted
Forum: Lua/XML Help 10-30-19, 01:26 PM
Replies: 2
Views: 1,772
Posted By daylighted
figured it out

made a solution using concatenation of string

str1 = string.sub(msg, 1, 3)
if str1 == "msg" then
len = string.len(msg)
str2 = string.sub(msg,5,string.len(msg))
...
Forum: Lua/XML Help 10-30-19, 12:41 PM
Replies: 2
Views: 1,772
Posted By daylighted
think the thread got double posted? sorry, no...

think the thread got double posted? sorry, no idea why
Forum: Lua/XML Help 10-30-19, 12:38 PM
Replies: 2
Views: 1,772
Posted By daylighted
save string to variable from slash command?

currently my slash command looks like this, and what i want to happen is in comments/pseudocode


local function MyAddonCommands(msg, editbox)
if msg == "test" then
--str1 = everything...
Showing results 1 to 3 of 3