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
Craneology
Newbie


Joined: 12 Jun 2002
Posts: 5
Location: USA

PostPosted: Thu Jun 13, 2002 8:07 am   

Script works on 5.53, but not on 6.16 help
 
My friend gave me this script to use for autohealing. For some reason, if wont work for me, but it works for him. He uses Zmud ver.5.53. Yet I use 6.16. Anyone know why it wont work for me?


#TR {^[A-z, ,0-9] asks you '({cast|cas}[', ]{re|cure|ble|heal|sanc|has|her|str|tru|arm}*[', ,A-z])'$} {%1} autoheal
Reply with quote
Craneology
Newbie


Joined: 12 Jun 2002
Posts: 5
Location: USA

PostPosted: Thu Jun 13, 2002 8:10 am   
 
Sorry for teh double post, anyways heres the rest of teh script covering locate and whatnot. Hollar if you notice any reasons why they dont work either.

#TR {^[A-z, ,0-9] asks you '{cast|cas}[', ]{suc|recall|word}*[', ,A-z]'$} {cas suc;drop recall} autoheal
#TR {^[A-z, ,0-9] asks you '{cast|cas}[', ]cre* ({da|li})*[', ,A-z]'$} {cas 'create %1';drop ball} autoheal
#TR {^[A-z, ,0-9] asks you '({cast|cas}[', ]cre* fo*[', ,A-z])'$} {cas 'create fo';drop mushroom} autoheal
#TR {^[A-z, ,0-9] asks you '({cast|cas}[', ]cre* wa*[', ,A-z])'$} {cas 'create wa';drop barrel} autoheal
#TR {^[A-z, ,0-9] tells you '{cast|cas}[', ]{suc|recall|word}*[', ,A-z]'$} {cas suc;don recall} autoheal
#TR {^[A-z, ,0-9] tells you '{cast|cas}[', ]cre* ({da|li})*[', ,A-z]'$} {cas 'create %1';don ball} autoheal
#TR {^[A-z, ,0-9] tells you '({cast|cas}[', ]cre* fo*[', ,A-z])'$} {cas 'create fo';don mushroom} autoheal
#TR {^[A-z, ,0-9] tells you '({cast|cas}[', ]cre* wa*[', ,A-z])'$} {cas 'create wa';don barrel} autoheal
#echo loading auto identify
#TR {^[A-z, ,0-9] asks you 'rec* identify (*)'$} {recite identify %1;#T+ doLore} autoheal
#TR {^[A-z, ,0-9] asks you 'lore (*)'$} {lore %1;#T+ doLore} autoheal
#echo ----
#TR {You are not carrying anything like that.} {say !Can't find that item.;#T- doLore} doLore
#TR {I can't find it!} {say !Can't find that item.;#T- doLore} doLore
#TR {You do not have that item.} {say !I do not have an identify.;#T- doLore} doLore
#TR {You lack the training to do it.} {say !I am not bard.;#T- doLore} doLore
#TR {You remember nothing significant.} {say !Failed the Lore.;#T- doLore} doLore
#TR {You feel informed:*} {#T+ outputLore;#T- doLore} doLore
#echo ----
#TR {^({ |AC-apply is}*)} {say !%1} outputLore
#TR {^({^say}*:*)} {say !%1} outputLore
#TR {^({^say}*charges*)} {say !%1} outputLore
#TR {^You {^feel informed}*} {#T- outputLore} outputLore
#echo loading auto locate
#TR {^[A-z] [A-z, ,0-9] asks you 'locate (*)'$} {#T- autolocate;cas loc %1;#T+ replyLocate1} autolocate
#TR {^[A-z] [A-z, ,0-9] asks you '({cast|cas}[', ]loc*[', ,A-z])'$} {#T- autolocate;%1;#T+ replyLocate1} autolocate
#TR {^[A-z] [A-z, ,0-9] tells you 'locate (*)'$} {#T- autolocate;cas loc %1;#T+ replyLocate1} autolocate
#TR {^[A-z] [A-z, ,0-9] tells you '({cast|cas}[', ]loc*[', ,A-z])'$} {#T- autolocate;%1;#T+ replyLocate1} autolocate
#echo ----
#TR {^([A-z]) asks you 'locate (*)'$} {#T- autolocate;cas loc %2;#T+ tellLocate1;#VA personLocate %1} autolocate
#TR {^([A-z]) asks you '({cast|cas}[', ]loc*[', ,A-z])'$} {#T- autolocate;%2;#T+ tellLocate1;#VA personLocate %1} autolocate
#TR {^([A-z]) tells you 'locate (*)'$} {#T- autolocate;cas loc %2;#T+ tellLocate1;#VA personLocate %1} autolocate
#TR {^([A-z]) tells you '({cast|cas}[', ]loc*[', ,A-z])'$} {#T- autolocate;%2;#T+ tellLocate1;#VA personLocate %1} autolocate
#echo ----
#TR {(*You lost your concentration!*)} {reply !%1;#T+ autolocate;#T- replyLocate1} replyLocate1
#TR {(*You lost your concentration!*)} {tell @personLocate !%1;#T+ autolocate;#T- tellLocate1} tellLocate1
#TR {Ok.} {#T+ replyLocate;#T- replyLocate1} replyLocate1
#TR {Ok.} {#T+ tellLocate;#T- tellLocate1} tellLocate1
#TR {^({^reply}* in *.)$} {reply !%1} replyLocate
#TR {^({^reply}* carried by *.)$} {reply !%1} replyLocate
#TR {^({^reply}* equipped by *.)$} {reply !%1} replyLocate
#TR {(No such Object.)} {reply !%1} replyLocate
#TR {^You *} {#T- replyLocate;#T+ autolocate} replyLocate
#TR {^({^tell}* in *.)$} {tell @personLocate !%1} tellLocate
#TR {^({^tell}* carried by *.)$} {tell @personLocate !%1} tellLocate
#TR {^({^tell}* equipped by *.)$} {tell @personLocate !%1} tellLocate
#TR {(No such Object.)} {tell @personLocate !%1} tellLocate
#TR {^You *} {#T- tellLocate;#T+ autolocate} tellLocate
#T- replyLocate
#T- tellLocate
#T- outputLore
#T- doLore
#SAVE autoheal
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