TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

#unvar mac

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Script Help
View previous topic :: View next topic  
Author Message
juanschwartz



Joined: 29 Jul 2009
Posts: 2

PostPosted: Thu Aug 16, 2012 2:04 pm    Post subject: #unvar mac Reply with quote

I just moved some scripts from the PC version of tt++ over to a mac.

I had a script that looped through a list through an array with a foreach loop.

#var names {{A}{0}{B}{0}}

#foreach {$names} {name}
{
#unvar {names[$name]}
}

Can you not unvar with a variable as the associative key on the mac version?
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3274

PostPosted: Sat Aug 25, 2012 10:17 pm    Post subject: Reply with quote

It's on my todo list to fix.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Script Help All times are GMT - 5 Hours
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
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group