|
Thinjon100 Apprentice
Joined: 12 Jul 2004 Posts: 190 Location: Canada
|
Posted: Sat Dec 04, 2004 10:04 pm
Command to disable all portals |
I'm using zMUD 7.05, and I love the built-in portal support... I have, in fact, about 60 portals in the portal list to get to various areas. I manually enable/disable specific portals as I have the levels to use them. There are areas/circumstances in which I cannot use portals at all, and currently I open the Portals dialog and click the "Disable all Portals" checkbox to turn them off temporarily and then uncheck it to turn my portals back on.
I've looked through the Forum posts, and the helpfiles, and I haven't found a command (that I could put in a trigger or a Macro) that I can use to emulate that checkbox... I see where I can disable specific portals, but is there some way I'm missing to disable them all from the script, then re-enable them?
Any help would be appreciated. |
|
|
|
Kiasyn Apprentice
Joined: 05 Dec 2004 Posts: 196 Location: New Zealand
|
Posted: Sun Dec 05, 2004 11:03 pm |
K since i've never actually used the zmud mapper this might not work... but give it a try
#alias updateportals {
#va level %1
#unportal portal1
#unportal portal2
#unportal portal3
#if (@level > 1) {
#portal {portal1} {destid}
#portal {portal3} {destid}}
#if (@level > 30) {
#portal {portal2} {destid}}
this is prolly a pain cuz it deletes and redoes all the portals as you can use them... shrug... you'll have to change it a lot to get it to work for you. |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|