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

External script support

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> General Discussion
View previous topic :: View next topic  
Author Message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Wed Jul 04, 2007 5:38 pm    Post subject: External script support Reply with quote

I've got some prototype external script support code finished. It's gonna look like this:

#script {ruby -e 'print "#showme hello world"'}

The output generated by the script will be parsed as commands, so in theory the following is possible as well:

#script {ruby -e 'print "#showme hello world\n"' -e 'print "#showme hello again\n"'}

It's also possible to run a file:

#script {ruby hello.rb}

The beta with the #script command is available at sf.net:

http://tintin.sf.net/download/tintin-beta.tar.gz

Keep in mind that any installed language should work, python, perl, etc.

So far it seems to work, but let me know if there are issues.
Back to top
View user's profile Send private message Send e-mail
louipc



Joined: 16 Jul 2006
Posts: 65

PostPosted: Wed Jul 04, 2007 8:20 pm    Post subject: Reply with quote

Awesome. If this wasn't already the best mud client then it probably is now.

This will probably help with those %%90 workarounds I find kind of confusing. Tintin scripting seems quite well developed anyways and I'll have to get more experienced with it. Coffee
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3770

PostPosted: Thu Jul 05, 2007 3:27 am    Post subject: Reply with quote

%9 is often an unset argument: #alias bla #showme -%9- will print -- So to print %0 you can use: %alias bla #showme -%%90-


Tintin's own scripting language is still a bit of a bottleneck with the #script support but I hope some people will manage to put it to good use.
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 -> General Discussion 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