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

GAGLINE

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Sarec



Joined: 03 Sep 2007
Posts: 5

PostPosted: Mon Sep 03, 2007 9:02 am    Post subject: GAGLINE Reply with quote

#GAGLINE gags the next incoming line, not the line that caused the trigger.
If you have a trigger to process text and conditionally substitute text from mud, for example:
Code:
A cat is in excellent condition.
change to
Code:
A cat is in excellent condition [100%]
and store
Code:
A cat
in the variable.

Following action works
Code:
#ACTION {^%1 is in excellent condition.} {#SH %1 is in excellent condition [100%];#GAGLINE}


while this does not:
Code:
#ACTION {^%1 is in excellent condition.} {#GAGLINE;#SH %1 is in excellent condition [100%]}
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3796

PostPosted: Mon Sep 03, 2007 9:49 am    Post subject: Reply with quote

I'll update the #gagline helpfile since I can't really fix this at the moment, and the behavior of gagline isn't all that odd.

I'll add it to the TODO list though.
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 -> Bug Reports 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