MAARS Posted December 30, 2020 Share Posted December 30, 2020 Hi everyone i am trying to concatenate the value from prompt input with a group search but it is not working, if someone can help me it will be great. M = gg.prompt({ "TYPE AMOUNT HERE"}, {0},{'number'}) s = M[1]..";327691;24;~26::9" gg.searchNumber(s, gg.TYPE_DWORD) Link to comment Share on other sites More sharing options...
MonkeySAN Posted December 30, 2020 Share Posted December 30, 2020 M = gg.prompt({ "TYPE AMOUNT HERE"}, {0},{'number'}) gg.searchNumber(M[1]..";327691;24;~26::9", 4)--4 is gg.TYPE_DWORD Link to comment Share on other sites More sharing options...
MAARS Posted December 30, 2020 Author Share Posted December 30, 2020 1 hour ago, MonkeySAN said: M = gg.prompt({ "TYPE AMOUNT HERE"}, {0},{'number'}) gg.searchNumber(M[1]..";327691;24;~26::9", 4)--4 is gg.TYPE_DWORD It doesn't work always Script ended it doesn't search anything [added 3 minutes later] 1 hour ago, MonkeySAN said: M = gg.prompt({ "TYPE AMOUNT HERE"}, {0},{'number'}) gg.searchNumber(M[1]..";327691;24;~26::9", 4)--4 is gg.TYPE_DWORD it is because of the range search "~26" when i remove the "~" it work. [added 4 minutes later] i have no idea how can in include my range search Link to comment Share on other sites More sharing options...
MonkeySAN Posted December 30, 2020 Share Posted December 30, 2020 Good...you had found your mistake. actually what you had written in the first post would work if not for that range number '~26' for range...you need 'minNumber ~ maxNumber" example : 24~26 Link to comment Share on other sites More sharing options...
MAARS Posted December 30, 2020 Author Share Posted December 30, 2020 Ah ok thanks [added 2 minutes later] yeah thanks i have just removed the semicolon between 24 and ~26 and it work like aaaaaa i dont know . Thank you bro. Link to comment Share on other sites More sharing options...
Question
MAARS
Hi everyone i am trying to concatenate the value from prompt input with a group search but it is not working, if someone can help me it will be great.
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.