|
Medakan Novice
Joined: 15 Dec 2015 Posts: 41 Location: Seattle
|
Posted: Fri May 19, 2017 1:45 am
More than one ALIAS with same name |
Through testing I have found that zMUD won't call more than one instance of an ALIAS. This is even the case with the special ALIAS atconnect, atdisconnect, ect... Anyone have any work arounds or alternative ideas?
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Fri May 19, 2017 2:39 am |
True, even in CMUD.
I believe it calls the first instance of the alias it finds.
Disabling the class it is in will prevent a given alias from being found. (#T-)
Alternatively, combine them all into one alias, and let #IFs and/or @variables define which action is performed. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Medakan Novice
Joined: 15 Dec 2015 Posts: 41 Location: Seattle
|
Posted: Fri May 19, 2017 9:57 am |
shalimar wrote: |
Alternatively, combine them all into one alias, and let #IFs and/or @variables define which action is performed. |
If it was just for me no problem, just not as easy for the people I share this stuff with. Not all of them are going to want to run everything as I was trying to make each individual script stand alone.
Hrmm... back to the drawing board. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Fri May 19, 2017 8:19 pm |
If you upgrade to CMUD you could do this with #EVENTs.
Which are essentially aliases without a command word. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Fri May 19, 2017 8:31 pm |
But otherwise.... instead of having a trigger fire off the alias, (or #RAISE an #EVENT in CMUD) just have it fire off the code the alias would store.
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|