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
Retrovirus
Wanderer


Joined: 13 Jul 2002
Posts: 51
Location: Malaysia

PostPosted: Fri Feb 14, 2003 1:58 pm   

Creating a Ban List and Some more stuff
 
It's time i bug you again with some stuff....

I have this pinger, i know it ain't perfect...

But i have ppl abusing it, and i want to make a banlist

Basically
Retro -- 'pinglist'
[#if retro/%1 in ban list TELL %1 Sorry Due to your .... whatever]

Same thing
Retro --'pinglist/pingadd/pingdel'
ok :)

2ndly


I want a trigger for example
%1 {out of ban list} says - pingcheck %1
If im pinging this mob %1, i want to grouptell the stats on %1... If anyone has a basic idea on this i will post my pinger.

Cameth
Saweth
Fledeth my asseth offeth
Reply with quote
mimique6
Newbie


Joined: 09 Jan 2003
Posts: 9
Location: USA

PostPosted: Fri Feb 14, 2003 4:42 pm   
 
I'm not sure I understand entirely what you're trying to do, but I think I can help with the part on determining whether (or not) they are on the 'banlist'

I'd create a variable with all the names of those you want banned, if you're not familar you should read up on "Variables" "If" and "%ismember" in the zMud help files.

BanList=bob|sam|fred

then if you want to decline them for being on this list, use an #if with %ismember (zMud has help on both these)

#if (%ismember(%lower(%1), @BanList)) {Do this if they're on it} {Do this if they arn't}

(Untested)

Hope that helps you.


~Mimique

Is it bad when Zmud plays more than you do?
Reply with quote
Retrovirus
Wanderer


Joined: 13 Jul 2002
Posts: 51
Location: Malaysia

PostPosted: Sat Feb 15, 2003 3:00 am   
 
That didn't work... and as for the 2nd part....

%1 tells you pingadd Zquasjkdjkas
%1 tells you pingadd zquasuhfajs
so i add the var already..

Now another dude goes %1 tells you ping check {any keyword here) zq
tell %1 Zquasuhfajs [it's info]
tell %1 Zquasjkdjkas [It's info]

Cameth
Saweth
Fledeth my asseth offeth
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