Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
seamer
Magician


Joined: 26 Feb 2001
Posts: 358
Location: Australia

PostPosted: Fri Jun 21, 2002 4:48 am   

Change Eq script
 
sadly i'm considered almost a zmud guru on one of the muds i play, merely because i share what i know (can you believe theres one crank on there that wont share his "using mana = change eq" script?) so here i am :P

on MadROM, most experienced players carry two sets of equipment if weight constraints allow the character to do so. one set maximises mana, the other set works on hit/damroll. instead of making a seperate alias for each of my characters, i was considering making the script based on a heap of variables/ifchecks.

how safe is using zmud's autologin feature, can the #CHAR/#PW commands be trusted, as far as my triggers will defend? not entirely comfortable with the thought that someone may figure a way to let my zmud tell them my password...

thinking of doing something like
if{#char == "Seamer"} {wear @seamerring1} {}
but in @seamerring1 to have a variable for the charname (i'll be making an alias later that will build the variables/items for each character) to avoid having 400000 if's for each case

am i forgetting something? to me it looks so simple its intricate :)

Why oh WHY did I have pass door on...
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Fri Jun 21, 2002 11:10 am   
 
I think you might be best served with a very simple indirect.
#VAR SeamerMana {item1|item2|...|item20}
#VAR SeamerHit {item1|item2|...|item20}
#VAR BillyMana {item1|...}
#VAR BillyHit {item1|...}
#ALIAS Mana {#FORALL @{%concat(%char,"Mana")} {wear %i}}
#ALIAS Hit {#FORALL @{%concat(%char,"Hit")} {wear %i}}
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
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

© 2009 Zugg Software. Hosted by Wolfpaw.net