my code here, for guild to irc

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

mint_ol
decaying skeleton
decaying skeleton
Posts: 4
Joined: Sun Apr 04, 2004 6:48 pm

my code here, for guild to irc

Post by mint_ol » Mon Apr 05, 2004 8:12 am

#turbo 50

#chat tell

Sub Main
:Loop
/doevents
/goto :Loop
/return

Sub Event_Chat
/if "@Param0"~~"GUILD" {

/i say Tell from @Param1 said @Param2
}
/return


will this work?

Pheph
a hill giant
a hill giant
Posts: 196
Joined: Thu Oct 09, 2003 8:15 pm

Post by Pheph » Mon Apr 05, 2004 11:32 am

Like, log on and try it...

Goofmester1
a hill giant
a hill giant
Posts: 241
Joined: Thu Nov 06, 2003 4:26 am

Post by Goofmester1 » Mon Apr 05, 2004 10:41 pm

Not sure if I remeber right but the #chat tell only allows tells to be processed. If you use #chat without the tell I think all chat is looked at.

Sub Event_Chat[(ChatType,Sender,ChatText)]
This code is executed when /doevents finds(queues) text in the channel defined by #chat "channel"
/return [value|@varname]

is all I could find in the online manual.