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


Joined: 06 Jan 2002
Posts: 3
Location: USA

PostPosted: Tue Oct 08, 2002 9:27 am   

%ismember and stringlist functions
 
when I #ADDITEM Team Eluri and then
#show %ismember("Eluri","Team")
I get 0.... If I am correct I should get a 1? I have tried every variation of punctuation and lack of signs that I can.. The only odd thing is that if you #show %ismember("Eluri","Team) Then it will return 1. as well as #show %ismember("Eluri,"Team")
or any other variation.. it does not make it work, it just always returns true if there is an odd number of " signs it seems.... Any ideas/help is appreciated...

Heh
Reply with quote
Vijilante
SubAdmin


Joined: 18 Nov 2001
Posts: 5182

PostPosted: Tue Oct 08, 2002 11:03 am   
 
The correct way to access data stored in variables is with the @ symbol. Your variable is named Team. So the usage of ismember would be #SHOW %ismember("Eluri",@Team)
Reply with quote
Nitro420
Newbie


Joined: 06 Jan 2002
Posts: 3
Location: USA

PostPosted: Tue Oct 08, 2002 8:18 pm   
 
And after all that thinkin, it ends up bein that simple.. Figures ;)
Thanks :)

Heh
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