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
Psyrex
Beginner


Joined: 28 Jun 2002
Posts: 15
Location: USA

PostPosted: Wed Jul 17, 2002 6:03 am   

#IF question
 
This is what I have:
#IF (%ismember( %1, @banlist)) {#ABORT 1}

I want to be able to have 2 true conditions
meaning I want to say 'Sorry you are banned'
then do the #ABORT 1. Can anyone please tell me if this is possible and if so how? Tnx in advance. I looked at reference and tried
#IF (%ismember( %1, @banlist)) {say Sorry.. & #ABORT 1}. Tried it with && and 'and'. Also
tried puttin {} around the say part.

-=Psyrex=-
Reply with quote
iljhar
GURU


Joined: 10 Oct 2000
Posts: 1116
Location: USA

PostPosted: Wed Jul 17, 2002 6:48 am   
 
#IF (%ismember( %1, @banlist)) {say Sorry you are banned;#ABORT 1}

Just use ; to separate commands.

Iljhar
Reply with quote
Psyrex
Beginner


Joined: 28 Jun 2002
Posts: 15
Location: USA

PostPosted: Wed Jul 17, 2002 8:17 am   
 
blah!! eheh figures it would be that simple
Thank you Iljhar :)

-=Psyrex=-
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