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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Jen140
Newbie


Joined: 28 Jun 2009
Posts: 3

PostPosted: Mon Jun 29, 2009 7:12 am   

A small script
 
Hello again.
I want to make a small auto-attacker and auto-"feeder".
Lets imagine that i have a rat near me that i want to kill,and after it i want to be feed of it.
So what i do is :
Create a button named Test1.
And in the code i've putted the next script:
#send kill rat
#trigger {^R.I.P.} {#send feed corpse}
But it doesnt work. (Btw R.I.P appears after the death of the rat).
Thanks in advance.
Reply with quote
oldguy2
Wizard


Joined: 17 Jun 2006
Posts: 1201

PostPosted: Mon Jun 29, 2009 2:34 pm   
 
Create the trigger separately.

Just put #send "kill rat" in the button script.

Then create a trigger
Code:
^R.I.P.

with value of
Code:
#send "feed corpse"
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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