|
Reapage Newbie
Joined: 14 Nov 2001 Posts: 4 Location: Finland
|
Posted: 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 <
/_/ |_|_| _-===========-
-=======- |
|
|
|
Acaila Apprentice
Joined: 30 Aug 2001 Posts: 187 Location: Netherlands
|
Posted: 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 |
|
|
|
|
|