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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » Finished MUD Scripts
remus
Wanderer


Joined: 06 Jul 2002
Posts: 53
Location: Australia

PostPosted: Tue Jan 28, 2003 7:58 pm   

City of Ages Prompt to Buttons Script
 
Ok since some of you who play CoA have been hassling me for this I thought I would post it here for you to use.

The script is very simple, Just cut and paste into the command line and hit enter.

The script auto sets it's self up. If you need any help etc just email me or ask me in game.

#CLASS {STATUS};#BUTTON 1 {Health: ~@hp%} {} {} {} {~@hp} {} {HEART} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3};#BUTTON 2 {Mana: ~@mana%} {} {} {} {~@mana} {} {BOLT} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3};#BUTTON 3 {Ess: ~@ess%} {} {} {} {~@ess} {} {DRAGON} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3};#BUTTON 4 {Move: ~@move%} {} {} {} {~@move} {} {CHAR} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3};#BUTTON 5 {Soul: ~@soul%} {} {} {} {~@soul} {} {SWORD} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3};#BUTTON 6 {Tnl: ~@xpt%} {} {} {} {~@xpt} {} {DIRN} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3};#BUTTON 7 {~@gold} {} {} {} {~@gold} {} {MONEY} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3};#ALIAS xplist {#math xpp {@level/100};#MATH xxp {@left/@xpp};#math xpt {100-@xxp}};#ALIAS hpupdate {#math hph {@max/100*@hp}};#VAR eb {0};#VAR hph {0};#VAR gold {0};#VAR xpt {0};#VAR xxp {0};#VAR gold {0};#VAR exp {0};#VAR x {0};#echo grasping settings..;#wait 3000;sc;#wait 4000;#echo System Set.;#addi Version Prompt_to_ButtonV1.0;#Alias rversion {#echo You have the following R.S. scripts installed: @Version};#VAR mana {0};#VAR ess {0};#VAR soul {0};#VAR move {0};#VAR left {0};#VAR xpp {0};#VAR level {0};#VAR max {0};#VAR hp {0};#TRIGGER {EXP : (*) NEXT : (*)} {#VAR exp %1;#VAR level %2};#TRIGGER {H(*).(%d)~% M(*).(%d)~% E(*).(%d)~% S(*).(%d)~% M(*).(%d)~% LEFT (*) ~$(*)>} {#GAG;#var hp %1;#var x %2;#var mana %3;#var x %4;#var ess %5;#var x %6;#var soul %7;#var x %8;#var move %9;#var x %10;#var left %11;#var gold %12} "" {prompt};#TRIGGER {LEFT } {xplist;hpupdate};#CLASS 0

Thanks



Remus Parish aka
Rangek, Fist of the Slayers Hand.
coa.servegame.com port:23
Reply with quote
remus
Wanderer


Joined: 06 Jul 2002
Posts: 53
Location: Australia

PostPosted: Tue Jan 28, 2003 8:52 pm   
 
Sorry, Just as a side note the script above will only work for those of you that have achieved the level where the mud switches you from 123/123 etc to percentages. I am redoing the script with a switching alias so if you are newbie, please return soon for updated version, even though by then you will be in %. :)

Remus Parish aka
Rangek, Fist of the Slayers Hand.
coa.servegame.com port:23
Reply with quote
remus
Wanderer


Joined: 06 Jul 2002
Posts: 53
Location: Australia

PostPosted: Fri Jan 31, 2003 11:36 am   
 
Ok I am pretty sure this one works. (much testing ) Just copy to notepad and save as txt file. Now in command line #open <file>, #read <file>. or alternatively just copy and paste straight into command line.

#CLASS {STATUS}
#CLASS 0
#CLASS {STATUS|ADVANCED}
#CLASS 0
#CLASS {STATUS|NEWBIE}
#CLASS 0
#T- ADVANCED
#T- NEWBIE
#CLASS {STATUS}
#TRIGGER {LEVEL: (%d)} {#var cpl %1;#if @cpl=30 {#t- NEWBIE;#T+ ADVANCED}}
#CLASS 0
#CLASS {STATUS|ADVANCED}
#ALIAS xplist {#math xpp {@level/100};#MATH xxp {@left/@xpp};#math xpt {100-@xxp}}
#ALIAS hpupdate {#math hph {@max/100*@hp}}
#ALIAS rversion {#echo You have the following R.S. scripts installed: @Version}
#VAR eb {0};#VAR hph {0};#VAR gold {0};#VAR xpt {0};#VAR xxp {0};#VAR exp {0};#VAR x {0};#VAR hp {0};#VAR mhp {0};#VAR mana {0};#VAR man {0};#VAR ess {0};#VAR mess {0};#VAR soul {0};#VAR msoul {0};#VAR move {0};#VAR mmove {0};#VAR left {0};#VAR xpp {0};#VAR level {0};#VAR max {0}
#TRIGGER {EXP : (*) NEXT : (*)} {#VAR exp %1;#VAR level %2}
#TRIGGER {H(*).(%d)~% M(*).(%d)~% E(*).(%d)~% S(*).(%d)~% M(*).(%d)~% LEFT (*) ~$(*)>} {#GAG;#var hp %1;#var x %2;#var mana %3;#var x %4;#var ess %5;#var x %6;#var soul %7;#var x %8;#var move %9;#var x %10;#var left %11;#var gold %12} "" {prompt}
#TRIGGER {LEFT } {xplist;hpupdate}
#BUTTON 1 {Health: @hp%} {} {} {} {@hp} {} {HEART} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3}
#BUTTON 2 {Mana: @mana%} {} {} {} {@mana} {} {BOLT} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3}
#BUTTON 3 {Ess: @ess%} {} {} {} {@ess} {} {DRAGON} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3}
#BUTTON 4 {Move: @move%} {} {} {} {@move} {} {CHAR} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3}
#BUTTON 5 {Soul: @soul%} {} {} {} {@soul} {} {SWORD} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3}
#BUTTON 6 {Tnl: @xpt%} {} {} {} {@xpt} {} {DIRN} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3}
#BUTTON 7 {} {} {} {} {@gold} {} {MONEY} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3}
#CLASS 0
#CLASS {STATUS|NEWBIE}
#ALIAS statupdate {#math hph {@hp*100/@mhp};#math mmm {@mana*100/@man};#math mes {@ess*100/@mess};#math mmo {@move*100/@mmove};#math mso {@soul*100/@msoul}}
#ALIAS xplist {#math xpp {@level/100};#MATH xxp {@left/@xpp};#math xpt {100-@xxp}}
#VAR ess {0};#VAR mss {0};#VAR mmo {0};#VAR mso {0};#VAR mes {0};#VAR mess {0};#VAR hph {0};#VAR soul {0};#VAR move {0};#VAR left {0};#VAR xpp {0};#VAR level {0};#VAR max {0};#VAR hp {0};#VAR eb {0};#VAR gold {0};#VAR xpt {0};#VAR xxp {0};#VAR exp {0};#VAR mana {0};#VAR man {0};#VAR mhp {0};#VAR msoul {0};#VAR mmove {0};#VAR mmm {0}
#TRIGGER {HP(*)/(*) MANA(*)/(*) ESS(*)/(*) SOUL(*)/(*) MV(*)/(*) LEFT (*) ~$(*)>} {#GAG;#VAR hp %1;#VAR mhp %2;#VAR mana %3;#VAR man %4;#VAR ess %5;#VAR mess %6;#VAR soul %7;#VAR msoul %8;#VAR move %9;#VAR mmove %10;#VAR left %11;#VAR gold %12;#GA}
#TRIGGER {You feel stronger and wiser!} {sc}
#TRIGGER {LEFT } {statupdate;xplist}
#TRIGGER {EXP : (*) NEXT : (*)} {#VAR exp %1;#VAR level %2}
#BUTTON 16 {Health: ~@hph%} {} {} {} {@hph} {} {HEART} {} {} {} {} {} {} {112} {} {} {} "" {Explore} {} {} {3}
#BUTTON 17 {Mana: ~@mmm%} {} {} {} {@mmm} {} {BOLT} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3}
#BUTTON 18 {Ess: ~@mes%} {} {} {} {@mes} {} {DRAGON} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3}
#BUTTON 19 {Move: ~@mmo%} {} {} {} {@mmo} {} {CHAR} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3}
#BUTTON 21 {Soul: ~@mso%} {} {} {} {@mso} {} {SWORD} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3}
#BUTTON 22 {Tnl: ~@xpt%} {} {} {} {@xpt} {} {DIRN} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3}
#BUTTON 23 {~@gold} {} {} {} {@gold} {} {MONEY} {Size} {90} {25} {} {} {} {112} {} {} {} "" {Explore} {} {} {3}
#CLASS 0
#CLASS {STATUS|stat}
#VAR mk {0}
#VAR dtm {0}
#VAR pk {0}
#VAR slay {0}
#TRIGGER {You killed} {#add mk 1}
#TRIGGER {PKs : (*) MKs: (*) Slays (*) Deaths to Mobs: (*)} {#var pk %1;#var mk %2;#var slay %3;#var dtm %4}
#TRIGGER {Your SOUL is transported to somewhere else.} {#add dtm 1}
#CLASS 0
#PR system "Please make your choice: (a)dvanced or (n)ewbie?"
#wait 5000
#ECHO R.P.S installed version1.2;sc
#trigger {{~{S C O R E}~}} {#if @system=a {#T+ STATUS|ADVANCED};#if @system=n {#T+ STATUS|NEWBIE}}
#trigger {{~{S C O R E}~}} {#if @system=advanced {#T+ STATUS|ADVANCED};#if @system=newbie {#T+ STATUS|NEWBIE}}
#STAT {Your Current level is: @cpl PKs : @pk MKs: @mk Slays: @slay Deaths to Mobs: @dtm}


Remus Parish aka
Rangek, Fist of the Slayers Hand.
coa.servegame.com port:23
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » Finished MUD Scripts 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