Shattered Kingdoms
https://shatteredkingdoms.com/forums/

(zMud) GAG Ungreeted
https://shatteredkingdoms.com/forums/viewtopic.php?f=42&t=20179
Page 1 of 1

Author:  Rennus_Dragonsbane [ Thu Apr 29, 2010 8:09 pm ]
Post subject:  (zMud) GAG Ungreeted

Don't want to see people you don't know? Fed up of seeing all those
"new to Pyrathia" n00bs that you don't want to talk to? Then Gag
Ungreeted is for you!

Code:
#CLASS {gagungreeted}
#VAR skippedplayer {0} {0}
#TRIGGER {~[HP:(%n)~%~] ~[MP:(%n)~%~] ~[PE:(%n)~%~]} {;#gag}
#TRIGGER {Players found: (%n)} {#gag;#math knownplayers %1-@skippedplayer;#show %cr Players Known: @knownplayers of %1 %cr;scroll 42;#T- gagungreeted} "" {disable}
#TRIGGER {Scroll set to 100 lines.} {#gag}
#TRIGGER {~[--- ---~]} {#GAG;#add skippedplayer 1 gagungreeted}
#TRIGGER {scroll 42} {#gag}
#CLASS 0

#ALIAS whog {#T+ gagungreeted;#var skippedplayer {0} {0} gagungreeted;scroll 100;who}


Now all you have to do is type "whog" and only see the people who
have greeted you! Sorry, it still returns annoying non-wizinvis
immortals, paragons and people who have auto anonymous turned off.

Author:  grep [ Thu Apr 29, 2010 8:22 pm ]
Post subject: 

:drunk:

This is why we can't have nice things.

Author:  Rodwen [ Thu Sep 09, 2010 4:34 am ]
Post subject: 

#TRIGGER {~[PAR ---~]} {#GAG;#add skippedplayer 1 gagungreeted}
#TRIGGER {~[GOD ---~]} {#GAG;#add skippedplayer 1 gagungreeted}

Adding these two lines under:
#TRIGGER {~[--- ---~]} {#GAG;#add skippedplayer 1 gagungreeted}
should fix your paragon and immortal problem. and what's the problem with people who have auto anonymous turned off? if you see their class, then you've greeted them...

Oh, and Paragons that have auto anonymous turned off will be returned, so...if you use these two lines and want to see Paragons you've greeted, you'll need to somehow convince them to turn off auto anonymous, greet you again, then turn it back on if they want. i could add 13 more lines to gag every paragon, but i don't think that's wanted.

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/