I've read the section on this and I apologise for being dumb but I dont' know where to input :
To enable an entire group of triggers do this:
world.EnableTriggerGroup "groupname", 1
To disable the entire group:
world.EnableTriggerGroup "groupname", 0
this is throwing me off and again sorry to sound so dumb..
EnableTriggerGroup("groupname",true)
EnableTriggerGroup("groupname",false)
You put it inside (say) an alias, and have it "send to script". Then put what Daniel said (one line or the other).
Something like this:
<aliases>
<alias
match="battle"
enabled="y"
send_to="12"
sequence="100"
>
<send>
EnableTriggerGroup("battlegroup", true)
Note ("Battle group enabled")
</send>
</alias>
</aliases>
For advice on how to copy the above, and paste it into MUSHclient, please see
Pasting XML .
Amended on Fri 30 Sep 2011 12:30 PM by Nick Gammon
Greetings,
I understood the metod, but I encontered a problem. When I try to mix commands sent to the mud and script commands, I get an error. I want to create an alias to "kill monster" and in the same time to "Enable a trigger group". How can I do that?
Send("your command goes here") will send your command to the game from the script processor.