Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] ``` local itemEntry, itemCount = tonumber(tostring(string.gsub(command, "ttest ","", 1))), tonumber

[DiscordArchive] ``` local itemEntry, itemCount = tonumber(tostring(string.gsub(command, "ttest ","", 1))), tonumber

[DiscordArchive] ``` local itemEntry, itemCount = tonumber(tostring(string.gsub(command, "ttest ","", 1))), tonumber

rektbyfaith
Administrator
0
03-18-2022, 03:33 PM
#1
Archived author: Clotic • Posted: 2022-03-18T15:33:17.692000+00:00
Original source

``` local itemEntry, itemCount = tonumber(tostring(string.gsub(command, "ttest ","", 1))), tonumber(tostring(string.gsub(command, "ttest ","", 2)))``` this is not how it works right?
rektbyfaith
03-18-2022, 03:33 PM #1

Archived author: Clotic • Posted: 2022-03-18T15:33:17.692000+00:00
Original source

``` local itemEntry, itemCount = tonumber(tostring(string.gsub(command, "ttest ","", 1))), tonumber(tostring(string.gsub(command, "ttest ","", 2)))``` this is not how it works right?

rektbyfaith
Administrator
0
03-18-2022, 03:35 PM
#2
Archived author: Foe • Posted: 2022-03-18T15:35:38.026000+00:00
Original source

Correct, you can look at something like my command system for an example on how to deal with strings
rektbyfaith
03-18-2022, 03:35 PM #2

Archived author: Foe • Posted: 2022-03-18T15:35:38.026000+00:00
Original source

Correct, you can look at something like my command system for an example on how to deal with strings

rektbyfaith
Administrator
0
03-18-2022, 03:36 PM
#3
Archived author: Foe • Posted: 2022-03-18T15:36:33.168000+00:00
Original source

https://github.com/Foereaper/PublicScrip...andler.lua
[Embed: PublicScripts/CommandHandler.lua at master · Foereaper/PublicScripts]
A repository for storing public script releases. Contribute to Foereaper/PublicScripts development by creating an account on GitHub.
https://github.com/Foereaper/PublicScrip...andler.lua
rektbyfaith
03-18-2022, 03:36 PM #3

Archived author: Foe • Posted: 2022-03-18T15:36:33.168000+00:00
Original source

https://github.com/Foereaper/PublicScrip...andler.lua
[Embed: PublicScripts/CommandHandler.lua at master · Foereaper/PublicScripts]
A repository for storing public script releases. Contribute to Foereaper/PublicScripts development by creating an account on GitHub.
https://github.com/Foereaper/PublicScrip...andler.lua

rektbyfaith
Administrator
0
03-18-2022, 03:37 PM
#4
Archived author: Foe • Posted: 2022-03-18T15:37:09.860000+00:00
Original source

The splitstring function is a helper function you can use to split a string based on delimiters, then returns a table with all the substrings in order
rektbyfaith
03-18-2022, 03:37 PM #4

Archived author: Foe • Posted: 2022-03-18T15:37:09.860000+00:00
Original source

The splitstring function is a helper function you can use to split a string based on delimiters, then returns a table with all the substrings in order

rektbyfaith
Administrator
0
03-18-2022, 03:37 PM
#5
Archived author: Clotic • Posted: 2022-03-18T15:37:34.036000+00:00
Original source

Alright ill check that outBig Grin
rektbyfaith
03-18-2022, 03:37 PM #5

Archived author: Clotic • Posted: 2022-03-18T15:37:34.036000+00:00
Original source

Alright ill check that outBig Grin

rektbyfaith
Administrator
0
03-18-2022, 03:52 PM
#6
Archived author: Clotic • Posted: 2022-03-18T15:52:11.264000+00:00
Original source

Got it working nice ty for codeblockBig Grin
rektbyfaith
03-18-2022, 03:52 PM #6

Archived author: Clotic • Posted: 2022-03-18T15:52:11.264000+00:00
Original source

Got it working nice ty for codeblockBig Grin

rektbyfaith
Administrator
0
03-18-2022, 04:04 PM
#7
Archived author: Foe • Posted: 2022-03-18T16:04:54.845000+00:00
Original source

rektbyfaith
03-18-2022, 04:04 PM #7

Archived author: Foe • Posted: 2022-03-18T16:04:54.845000+00:00
Original source

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)