Page 2 of 3
Re: Macro - Role-Play text list
Posted: Tue Feb 14, 2017 9:39 pm
by blaqwar
Well there you go, you're getting the help of a master addon writer/macro magician/UI mechanic/toast connoiseur.

Re: Macro - Role-Play text list
Posted: Wed Feb 15, 2017 12:20 pm
by Glorian
Hmm. Just checked castsequencer today. It activates abilities by their ID.
Have to check later if your own macros have an ID too. Then you can simply fire one macro after the next with only one button.
No randomize but still lots of different ones.
Hell I will do this for my songs.

Re: Macro - Role-Play text list
Posted: Wed Feb 15, 2017 12:49 pm
by Hrolfr
Yes, it is perfect for songs, it just misses the random value. Thank you for checking anyway.
Might be something like that :
/script SAY("Chat", SystemData.ChatLogFilters.SAY, towstring(tostring(L"Khazad","blabla","something")))
But it's not diplaying anything, can't fint the right commands, the only thing I'm sure is /script

.
Re: Macro - Role-Play text list
Posted: Wed Feb 15, 2017 3:39 pm
by sullemunk
Just came back home, and it only took a few minutes to make it

(did it most in my mind while i was away)
Code: Select all
/script StringChatTables = {"Phrase 1","Phrase 2","Phrase 3","Phrase 4","Phrase 5","Phrase 6"} ;
SendChatText(L"/say "..towstring(StringChatTables[math.random(1,#StringChatTables)]), L"")
just change the phrases with what you want, or just add more (with a comma , and quotes "" ) . It will automaticly calculate the numbers of phrases in the table and randomize it
Re: Macro - Role-Play text list
Posted: Wed Feb 15, 2017 3:58 pm
by Hrolfr
Thank you very much ! May Valaya blessing be upon you !
I'll update first post in case someone is interested !
Edit : this is really awesome

Re: Macro - Role-Play text list
Posted: Wed Feb 15, 2017 11:30 pm
by Glorian
So you simply put the code in an macro?
Or in a local script file?
Re: Macro - Role-Play text list
Posted: Thu Feb 16, 2017 10:17 am
by sullemunk
Glorian wrote:So you simply put the code in an macro?
Or in a local script file?
put it in a macro
Re: Macro - Role-Play text list
Posted: Thu Feb 16, 2017 11:08 am
by Glorian
Ok will try that.
Re: Macro - Role-Play text list
Posted: Thu Jun 22, 2017 4:19 pm
by blacksand
sullemunk wrote:Just came back home, and it only took a few minutes to make it

(did it most in my mind while i was away)
Code: Select all
/script StringChatTables = {"Phrase 1","Phrase 2","Phrase 3","Phrase 4","Phrase 5","Phrase 6"} ;
SendChatText(L"/say "..towstring(StringChatTables[math.random(1,#StringChatTables)]), L"")
just change the phrases with what you want, or just add more (with a comma , and quotes "" ) . It will automaticly calculate the numbers of phrases in the table and randomize it
But macro lenght is only 255 characters, is there any way to bypass it?
Re: Macro - Role-Play text list
Posted: Thu Jun 22, 2017 4:45 pm
by sullemunk
Well, without making an addon that creates the phrases automaticly, you can make multiple macros; one that sets the phrases and one that randomize and execute them