
Macro - Role-Play text list
Re: Macro - Role-Play text list
Well there you go, you're getting the help of a master addon writer/macro magician/UI mechanic/toast connoiseur. 

Ads
Re: Macro - Role-Play text list
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.
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.


Captain Lesti Ardisson - 3rd Bitterstone Thunderers.
Full Gallery of Dwarf Weapons and where to find them.
Howto - Reduce Lag, Crashes, Disconects.
Re: Macro - Role-Play text list
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
.
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
Just came back home, and it only took a few minutes to make it
(did it most in my mind while i was away)
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

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"")







Re: Macro - Role-Play text list
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

I'll update first post in case someone is interested !
Edit : this is really awesome


Re: Macro - Role-Play text list
So you simply put the code in an macro?
Or in a local script file?
Or in a local script file?

Captain Lesti Ardisson - 3rd Bitterstone Thunderers.
Full Gallery of Dwarf Weapons and where to find them.
Howto - Reduce Lag, Crashes, Disconects.
Re: Macro - Role-Play text list
put it in a macroGlorian wrote:So you simply put the code in an macro?
Or in a local script file?







Re: Macro - Role-Play text list
Ok will try that.

Captain Lesti Ardisson - 3rd Bitterstone Thunderers.
Full Gallery of Dwarf Weapons and where to find them.
Howto - Reduce Lag, Crashes, Disconects.
Ads
Re: Macro - Role-Play text list
But macro lenght is only 255 characters, is there any way to bypass it?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)
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 itCode: 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"")
Re: Macro - Role-Play text list
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







Who is online
Users browsing this forum: Gladiolix, Google Adsense [Bot] and 11 guests