Page 1 of 1

Changing variables via chat

Posted: Thu Jun 09, 2016 6:00 am
by ZergKing
I have a simple macro that works well, is very robust with zero flexibility.

I want to alter two variables on the fly, via channel messages. The first is a variable named delay.

#Event newtime "#*#Change to [newvalue??]?
/varset delay [newvalue??]

Re: Changing variables via chat

Posted: Thu Jun 09, 2016 6:50 am
by woobs
You just want to tell a toon to change the variable value?

Just say:

/bc toonname //varset delay xxx

Or, all your toons:

/bca //varset delay xxx

Re: Changing variables via chat

Posted: Thu Jun 09, 2016 6:53 am
by ZergKing
Thank you. I was hoping for a system that would allows others who dont have access to my EQBC (ie via a chat channel).

This, however, is a good solution and will give it a shot!

Re: Changing variables via chat

Posted: Thu Jun 09, 2016 5:55 pm
by dewey2461
Untested but this should be close.

Code: Select all

#Event NewTime "#*#set delay #1#"

Sub Event_NewTime(string line, string v1)
    |/echo Line = [${line}]
    |/echo v1 = [${v1}]
    /varset delay ${v1}
/return
You really shouldn't set a value like this because its pretty obvious to anyone looking at logs that you are bot'ing.

BCS chat doesn't go to the EQ server so it's a lot safer.

If you do want to give friends to access you might consider making the command sound like something normal like "slow down" or "hurry up"

Re: Changing variables via chat

Posted: Thu Jun 09, 2016 8:01 pm
by warlock45
or switch over to using MQIRC and just have your friends issue commands in a chat room.

Re: Changing variables via chat

Posted: Fri Jun 10, 2016 1:03 am
by ZergKing
It is to change delay and tanks for CHEAL chain. The idea is to have the command disguised as an open chat message, such as "Tank Swamp now! to %T", where Tank Swamp now! is the custom event. The same would be done for any changes in delay.

Re: Changing variables via chat

Posted: Sat Jan 17, 2026 7:23 pm
by xyilla