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

issue with wild cards.

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Feature Requests
View previous topic :: View next topic  
Author Message
fj34r



Joined: 21 Jun 2008
Posts: 2

PostPosted: Sat Jun 21, 2008 12:14 pm    Post subject: issue with wild cards. Reply with quote

What I'm trying to do is whenever i run the command 'checkwar' which is an alias to do 'who jus blood warg shadow' to display the players in the specified clans, i want it to grab their first name and highlight it certain colors. I'm rather new to the scripting biz so please be gentle with me.

Line from Mud: [51 M-Dwf Cle] [ Wargar ] Brandogar Stonesmoker, The Tyrant of Thaxanos.
Trigger: #ACTION {[%0] [ Wargar ] %1 %2} {#showme %1}
Result: echo's 'Brandogar Stonesmoker, The Tyrant of Thaxanos.' instead of just Brandogar...

any idea how to fix this? I can do the highlighting myself if i can get it to just get the first part of their name
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3274

PostPosted: Sun Jun 22, 2008 8:18 am    Post subject: Reply with quote

Odd that it does that, are you running the latest release?

Regardless, you could more specifically define the action:
Code:

#ACTION {[%0] [ Wargar ] %1 %2, } {#showme %1}
Back to top
View user's profile Send private message Send e-mail
fj34r



Joined: 21 Jun 2008
Posts: 2

PostPosted: Sun Jun 22, 2008 2:42 pm    Post subject: Reply with quote

the thing is though, not all names will have that , in them, that's where the true issue lies
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3274

PostPosted: Sun Jun 22, 2008 3:39 pm    Post subject: Reply with quote

I see. The trigger you used, however, should only report the first name with tintin++ 1.98.2.
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 -> Feature Requests 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