WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   AddOn Help/Support (https://www.wowinterface.com/forums/forumdisplay.php?f=3)
-   -   Just a simple addon (Need Help) (https://www.wowinterface.com/forums/showthread.php?t=8588)

Zurom 02-16-07 07:58 PM

Just a simple addon (Need Help)
 
Hi,

I'm just looking to make an extremely simple and straight-forward addon.

All I'd like to do is when WoW loads, I just want the player to say an automatic message in guild chat. Any suggestions that'd help?

Please/Thanks :)

Sepioth 02-16-07 10:00 PM

Hows THIS addon work for you ??


-EDIT-

Reworded the above ... noticed it looked like a question where i was actually linking a addon posted here :)

Phanx 02-16-07 11:03 PM

1. Create a folder within your AddOns folder called "AutoGuildMessage".

2. Create a file within that folder called "AutoGuildMessage.toc" and put this in it:
Code:

## Interface: 20003
## Title: AutoGuildMessage
AutoGuildMessage.lua

3. Create a second file called "AutoGuildMessage.lua" and put this in it:
Code:

SendChatMessage("Your message here", "GUILD")
Note that I'm not at home right now, so I can't test this, but it should work. Let me know if not.

Edit: If you want to be able to change the message from in-game that wouldn't be hard to add...


All times are GMT -6. The time now is 06:57 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI