For my swap spell (swaps position of two units), I wanna make it so that friendly players could turn on/off if others can cast it on them. So, I thought I'd make something like
Event:
Player enters chat message '-swapon'
Action:
set Allowance[player number of[triggering player]] on.
Something basically like that. The problem is that it forces me to specify an exact player for the event. Is there any way to circumvent that, or do I have to make 20 triggers to make this work (on/off for 10 players)?
Oh, and one side-question, how do I increase maximum allowed mana cost for a spell?
Event:
Player enters chat message '-swapon'
Action:
set Allowance[player number of[triggering player]] on.
Something basically like that. The problem is that it forces me to specify an exact player for the event. Is there any way to circumvent that, or do I have to make 20 triggers to make this work (on/off for 10 players)?
Oh, and one side-question, how do I increase maximum allowed mana cost for a spell?