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


Joined: 14 Nov 2001
Posts: 4
Location: Finland

PostPosted: Thu Nov 29, 2001 3:07 pm   

Triggers and autoshouting
 
I've trying to do a script that uses people names from a list/table variable (easily updatable) then if a player from that group logs on, it will shout his/her name.
I dont know why my attempts end up in an trigger loop and flooding the shout channel (argh)...
The mud shows a line like this when a person logs on:
Reapage has entered the world.
Anyone that knows a solution to this off-hand?


____ ____
/ _ | _ | (_| | |_) |
> Reapage <
/_/ |_|_| _-===========-
-=======-
Reply with quote
Acaila
Apprentice


Joined: 30 Aug 2001
Posts: 187
Location: Netherlands

PostPosted: Thu Nov 29, 2001 3:26 pm   
 
Could you post the trigger you're using this on?
Maybe it's conflicting with another trigger, or using it's own output for retriggering (in the last case uncheck the option "trigger on trigger" on the options page).

Otherwise, doing something like this should work:

#TRIGGER {^(%w) has entered the world} {#IF (%ismember(%1, @Friendlist) {Shout Hi %1}}

Acaila
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