Search found 9 matches

by ultrao5
Tue Mar 30, 2010 2:07 am
Forum: MQ2::Macros::Requests
Topic: Looking for macro to add numbers from chat
Replies: 13
Views: 3912

Re: Looking for macro to add numbers from chat

ok Thanks everyone for the help. Finally got it #turbo 40 #chat say |############ | Main |############ Sub Main :loop /doevents chat /goto :loop /return |############ | Chat |############ Sub Event_Chat(string ChatType,string Sender,string ChatText) /if (${ChatText.Find[you]}) { /echo Spam } else { ...
by ultrao5
Mon Mar 29, 2010 7:52 pm
Forum: MQ2::Macros::Requests
Topic: Looking for macro to add numbers from chat
Replies: 13
Views: 3912

Re: Looking for macro to add numbers from chat

it works perfect now but theres one issue if anything is said in say that contains letters it errors and stops. theres a countdown message "you have 25 seconds left" is there anyway to ignore that and just parse the number part. im lost here
by ultrao5
Mon Mar 29, 2010 6:41 pm
Forum: MQ2::Macros::Requests
Topic: Looking for macro to add numbers from chat
Replies: 13
Views: 3912

Re: Looking for macro to add numbers from chat

blah nevermind i figured out the name part, i forgot to list string ChatSender in my sub and now it shows the message. gonna do some testing but think this is gonna do it.
by ultrao5
Mon Mar 29, 2010 6:24 pm
Forum: MQ2::Macros::Requests
Topic: Looking for macro to add numbers from chat
Replies: 13
Views: 3912

Re: Looking for macro to add numbers from chat

Ive been playing around with /echo ${ChatText.Left[-2]} and its darn near perfect, i can just use that to cut out the last 2 characters being the = and ? only issue now is getting it to skip the name and just read the say message.
by ultrao5
Mon Mar 29, 2010 6:14 pm
Forum: MQ2::Macros::Requests
Topic: Looking for macro to add numbers from chat
Replies: 13
Views: 3912

Re: Looking for macro to add numbers from chat

ok im running into an issue with the macro, with it running first time i get a say message it errors out. the error is unparsable calculation: H which im thinking is the first letter of the player so its picking up the soandso says, and not the actual thing they say.
by ultrao5
Mon Mar 29, 2010 1:11 pm
Forum: MQ2::Macros::Requests
Topic: Looking for macro to add numbers from chat
Replies: 13
Views: 3912

Re: Looking for macro to add numbers from chat

awesome, its kinda funny soon as i made my post i thought of something like that but thought it wouldnt work w/o using the declare part.
by ultrao5
Mon Mar 29, 2010 1:08 am
Forum: MQ2::Macros::Requests
Topic: Looking for macro to add numbers from chat
Replies: 13
Views: 3912

Re: Looking for macro to add numbers from chat

thanks for the link one question though, i get the whole token arg part but one issue, when using the /declare TestString ABC,,DEF IE the numbers said are random each time. (unless im missing something not sure this will help) maybe a little back ground history. its kinda a game. theres 6 steps each...
by ultrao5
Sat Mar 27, 2010 2:22 am
Forum: MQ2::Macros::Requests
Topic: Looking for macro to add numbers from chat
Replies: 13
Views: 3912

Re: Looking for macro to add numbers from chat

Thanks! kinda forgot about my thread and gave up. so now that the math can be done any suggestions on getting mq to read chat and throw it into a /echo ${Math.Calc[#+#]} ? ok after some testing i almost have it down. heres the basic idea #turbo 40 #chat say | ########### Sub Main | ########### | ###...
by ultrao5
Wed Mar 17, 2010 6:28 pm
Forum: MQ2::Macros::Requests
Topic: Looking for macro to add numbers from chat
Replies: 13
Views: 3912

Looking for macro to add numbers from chat

not sure if its possible but looking for a macro that will read say, chat in format of person says, 5 + 1 = ? and then be able to say the answer or anything close to that. Thanks