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


Joined: 12 Jun 2002
Posts: 2
Location: USA

PostPosted: Wed Jun 12, 2002 3:41 am   

Realms of Dispare
 
i want to do a few things. i want to have a trigger for TELLS YOU to goto a window that has a tab but the window is not a full skreen i'm using #TRIGGER {chat} {#CAP chat;#GAG} now for CHAT and it seems to work. but is there a nicer layout?
i'm also looking for a nice bot database for like "tell kristoff level me" and it will cast spells on the user that told the char that. (heal,fly, and more) can someoen help me set this up?


-- To die would be a great adventure; Peter Pan
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: Wed Jun 12, 2002 12:50 pm   
 
I don't understand what you want to do with the tells you receive. Seems like you want to capture it, but you show that you already know how to do this because you already have a trigger to do the same thing with chats, so I don't understand your problem.

For the bot, a simple trigger will do:
#TRIGGER {^(%w) tells you 'level me'} {cast heal %1;cast fly %1;etc.}

Of course, you should restrict who you want to be able to request the spells by creating a stringlist with all the people that are allowed, like this:
#VAR friends {Zugg|Joe|Jill}

and then changing the trigger to this:
#TRIGGER {^({@friends}) tells you 'level me'} {cast heal %1;cast fly %1;etc.}

Kjata
Reply with quote
kristoff
Newbie


Joined: 12 Jun 2002
Posts: 2
Location: USA

PostPosted: Wed Jun 12, 2002 3:01 pm   
 
thankyou for the examples. i wasn't sure how to do it with the variables.

-- To die would be a great adventure; Peter Pan
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