[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 2067: Undefined array key "author"
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 2067: Undefined array key "author"
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 2067: Undefined array key "author"
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 2067: Undefined array key "author"
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 2067: Undefined array key "author"
http://www.shatteredisles.com • Need a little help with Mush
Page 1 of 1

Need a little help with Mush

Posted: Mon May 08, 2017 1:11 am
by
I am trying to make a trigger for my main spells that are able to switch between different critters and not give me the error message. Right now i have a very basic script that consists of ---cast fireball--attached to one of the -F- keys. If someone would be ever so kind to please help me with this I would be very grateful. Thank you in advance!

Sincerely,

Pyratherndar Blyze

Re: Need a little help with Mush

Posted: Mon May 08, 2017 2:13 pm
by
A few questions...

1. What is the error message you get?
2. Is this happening when there are multiple targets in the room?
3. Are you using a macro or a trigger?

Re: Need a little help with Mush

Posted: Mon May 08, 2017 2:24 pm
by
attached to an F key... that would be a macro. When you say- "very basic script" is this commands in the Send box or do you have a Lua script?
You may wish to use an alias instead. I am not sure of your meaning with "able to switch between different critters".
Get with me :)

Re: Need a little help with Mush

Posted: Mon May 08, 2017 8:05 pm
by
so, copy/paste this stuff into mush ....
this will give you an F-key that will cast a fireball at whatever target you choose.
just type... trg blink, ..... or .... trg troll .... then hit your f-key


first you make a targeting alias
<aliases>
<alias
match="trg *"
enabled="y"
expand_variables="y"
send_to="12"
keep_evaluating="y"
sequence="100"
>
<send>ColourNote ("lime", "black", "Trg: %1")
SetVariable("trgt", "%1")
ColourNote ("lime", "black", "Trg-VAR: @trgt")</send>
</alias>
</aliases>
then you make a spell alias
<aliases>
<alias
match="fb"
enabled="y"
expand_variables="y"
send_to="12"
keep_evaluating="y"
sequence="100"
>
<send>Send ("cast fireball @trgt")</send>
</alias>
</aliases>
then you make your F-key macro key with the value of ...... fb

so when its all done and copy/pasted into mush...
all you do is .....
type ... trg blink
then, when you hit your F-key , it will cast a fireball at blink

to add more spells, just copy the Fireball (fb) one , and change the values ... i.e.

change the part that says.... match="fb" ... to like ....match="fs"
and the part that says..Send ("cast fireball @trgt") ... to something like ....Send ("cast firestorm @trgt")

and add a new F-key for your new firestorm alias ...... with the value .... fs

hope it makes sense,
X

Re: Need a little help with Mush

Posted: Wed May 10, 2017 1:01 am
by
I would like to thank you all for all the help that I got to make what i wanted and needed to happen-happen.

Pytherndar Blyze