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


Joined: 07 Feb 2001
Posts: 1
Location: Australia

PostPosted: Wed Feb 07, 2001 11:46 am   

CrystalBot for IgorMud
 
I was bored lastnight so i wrote this lil bot to fill my crystals.
I assume you know alittle about trigs and variables, If not i included
a small help file in the crystal button. Anyway enough rambling here my
CrystalBot V1.2 for IgorMud


#SH CrystalBot V1.2 Now installing...
#ALIAS chargedcrystals {#va chargedcrystals %1} {crystal}
#ALIAS maxcrystals {#va maxcrystals %1} {crystal}
#ALIAS Draincrystal {get crystal from @crystalbag1;drain crystal;put crystal in @crystalbag2;h;#math chargedcrystals (@chargedcrystals-1)} {crystal}
#ALIAS Storecrystal {put crystal in @crystalbag1;#math chargedcrystals (@chargedcrystals+1)} {crystal}
#ALIAS crystalbag1 {#VA crystalbag1 %1} {crystal}
#ALIAS crystalbag2 {#VA crystalbag2 %1} {crystal}
#VAR chargedcrystals {1} {_nodef} {crystal}
#VAR maxcrystals {10} {_nodef} {crystal}
#VAR crystalbag1 {backpack} {_nodef} {crystal}
#VAR crystalbag2 {backpack 2} {_nodef} {crystal}
#TRIGGER {you can only see by cupping it in your hands, to shade it from} {store 20;judge crystal} {crystal2} 517
#TRIGGER {It seems to draw some heat from your hand, seeking energy.} {store 20;judge crystal} {crystal2} 517
#TRIGGER {It seems to be at less than it's full potential.} {store 10;judge crystal} {crystal2} 517
#TRIGGER {and sputters like a candle flame only occasionally.} {Storecrystal;h;get crystal from @crystalbag2;exa @crystalbag2;judge crystal} {crystal2} 517
#TRIGGER {of its own. It must have already been drained.} {store 60;judge crystal} {crystal2} 517
#TRIGGER {It seems quite stable as it is now.} {storecrystal} {crystal2} 517
#TRIGGER {You don't have that much energy to give.} {#T- crystal2;#SH CrystalBot disabled.} {crystal} 517
#KEY F4 {Draincrystal} {crystal}
#KEY ALT-F4 {#T+ crystal2;#SH CrystalBot Now Active!;judge crystal} {crystal}
#BUTTON 1 {Crystals} {} {How to use CrystalBot|CrystalBot On|CrystalBot Off|Start filling} {#SH ---------------------------------------------------------------------------------------;#SH How to use this wonderfull bot you ask?;#SH Simple, first set your charged crystals buy typing 'chargedcrystal foo' where foo is the number of you charged crystals.;#SH Next set your max crystals by typing 'maxcrystals foo' again foo is the number for your charged crystals.;#SH Then set your containers 'crystalbag1' for full crystals 'crystalbag2' for empty ones;#SH Eg 'crystalbag1 backpack' and 'crystalbag2 backpack 2';#SH Now if your reading this i guess you saw the 'start filling' option in the crystals button.;#SH Press that to start filling, the bot will turn off after you run outta sp so you can heal :);#SH To continue once your healed press ALT-F4;#SH To do your next crystal just press 'Start filling' again. :);#SH ---------------------------------------------------------------------------------------;#SH New New New!;#SH Now just press F4 in combat to pull out your charged crystals and drain them!;#SH Thankyou for using CrystalBot V1.2, Have a nice day.|#T+ crystal2;#SH CrystalBot Now Active!|#T- crystal2;#SH CrystalBot disabled.|get crystal from @crystalbag2 ;exa @crystalbag2;judge crystal} {} {} {} {} {} {} {} {} {} {27} {0|0|0|0} {} {} {crystal} {} {}
#SH CrystalBot installation compleat.
Reply with quote
nightjester
Newbie


Joined: 14 Jul 2001
Posts: 4
Location: USA

PostPosted: Sun Mar 03, 2002 4:21 pm   
 
Hmm.. this script is awesome! I haven't died again after using it.
You rock, Q!
*grins*
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