Passing info from one character to another, Question....

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

Xecros
a lesser mummy
a lesser mummy
Posts: 54
Joined: Tue Apr 22, 2003 9:24 am

Passing info from one character to another, Question....

Post by Xecros » Sun Aug 31, 2003 1:42 am

Is there a way to pass info from one character to another. For example, if my skill level in the language of dragon is 35, is there a way to pass that number along to a 2nd character.

I'm trying to write a language script that will run on both characters. What I'm envisioning will require that both characters keep track of each others skill level in that particular language. I'm going to need MQ to work with these numbers has numbers, and not text.

Thank You!
Xecros

User avatar
Curious
a ghoul
a ghoul
Posts: 88
Joined: Wed Aug 27, 2003 5:19 am

Post by Curious » Sun Aug 31, 2003 8:00 am

I'm not positive about this, but you could just:

/t buba Dragon: 35

and have buba's script /event LangCap "Bozo tells you: Dragon: 35"

I'm sure theres something in the scripting language to replace the hard-coded "Dragon" and "35" with current language and level, but you were asking about passing info, not finding info :)

Zeus
a hill giant
a hill giant
Posts: 180
Joined: Wed Feb 19, 2003 10:03 am
Contact:

Post by Zeus » Sun Aug 31, 2003 12:57 pm

I made a macro for this a while ago. IT ad the languages hard coded tho cause $char(skill,xx) wasn't implemented for languages. Just keep a counter for current skill on the macro and every time you get an increase do an event like suggested to tell the other guy that it went up.