I'd be glad to know if there's any way of doing something like the following:
Code:
world << output("Test Message","combatwindow;chatwindow;trainingwindow;rpwindow;guildwindow;whisperwindow")
Instead of writing that:
world << output("Test Message","combatwindow")
world << output("Test Message","chatwindow")
world << output("Test Message","trainingwindow")
world << output("Test Message","rpwindow")
world << output("Test Message","guildwindow")
world << output("Test Message","whisperwindow")
Thanks in advance for advice (:
A simple for() loop would do it:
output_to_all_windows(world, "Test Message")
Or you could just...