Last line

Posted by SaTaNaMa on Mon 19 Sep 2005 06:06 AM — 2 posts, 15,203 views.

#0
I'm trying to send back the last line the MUD brings... I can't remember how!!

Just a trigger that fits say...
An old Sage tells you '*
and I send back
gtell <lastline>

but how do I say the last line!? HELP plz!

thanks!!
Max
USA #1
The trigger would (while firing) be the last line.
Unless you mean the line before that?

If it's the former, triggers wildcard of %0 is the entire line that the trigger matched on.
So, sending gtell %0 would send "gtell An old Sage tells you '[whatever]'."