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

F-Key Macro Script

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Finished Scripts
View previous topic :: View next topic  
Author Message
blkno1



Joined: 03 Dec 2007
Posts: 117

PostPosted: Thu Feb 25, 2010 7:46 pm    Post subject: F-Key Macro Script Reply with quote

Re-posting this one for the new finished script forum.

Note: I use terminator under linux and have to go into the profile and re-assign F11 to not be the Full-Screen button.

Depending on your screen size. you may get a #PROMPT SIZE (159) LONGER THAN ROW SIZE (157) or some such if you prompt exceeds your row size. Just shorten the ------------------ part of code.

Updated 1/29 Addded 4 more macros for f1-f4. On my Putty client from work their mapped differently. No conflicts so far.

Use the setf alias to populate. Ex: setf 1 c harm

Puts the following at the bottom of your screen.

Quote:

----------------------------------------------------------------------------------------------------------------------------------------------------------
[F1][]-[F2][]-[F3][]-[F4][]==[F5][]-[F6][]-[F7][]-[F8][]==[F9][]-[F10][]-[F11][]-[F12][]
----------------------------------------------------------------------------------------------------------------------------------------------------------


Or populated.....

Quote:
----------------------------------------------------------------------------------------------------------------------------------------------------------
[F1][ltt]-[F2][dise]-[F3][spray]-[F4][cab]==[F5][dism]-[F6][weak]-[F7][fft]-[F8][swt]==[F9][trip]-[F10][kick]-[F11][bash]-[F12][plg]
----------------------------------------------------------------------------------------------------------------------------------------------------------



Code:
#class {macro} {kill}
#class {macro} {open}

/*
Script name: Macro Script
File name: macro.tin
Version: 1.5
*/

#showme <aef>Script Name: <faa>Macros <aef>Version: <faa>1.5 <128>--==LOADED==--

#alias macrohelp
{
   #showme {<148>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++};
   #showme {<138>Macros};
   #showme {<148>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++};
   #showme <129>setf <num> <alias> <179> Sets F<num> to alias.;
   #showme <129>F1<179> $f1var;   
   #showme <129>F2<179> $f2var;
   #showme <129>F3<179> $f3var;
   #showme <129>F4<179> $f4var;
   #showme <129>F5<179> $f5var;
   #showme <129>F6<179> $f6var;
   #showme <129>F7<179> $f7var;
   #showme <129>F8<179> $f8var;
   #showme <129>F9<179> $f9var;
   #showme <129>F10<179> $f10var;
   #showme <129>F11<179> $f11var;
   #showme <129>F12<179> $f12var;
   #showme {<148>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++};
}


/* Macro Programming */

#alias {setf %1 %2} {#var f%1var %2;#showme <aff>[<119>F%1<aff>]<129> Set to <aff>[<119>%2 %3<aff>];fkeyshow}


/* VARS */
#var f1var {}
#var f2var {}
#var f3var {}
#var f4var {}
#var f5var {}
#var f6var {}
#var f7var {}
#var f8var {}
#var f9var {}
#var f10var {}
#var f11var {}
#var f12var {}

#macro {\eOP}{$f1var;#showme <aff>[<139>F1<aff>] <129>-= <119>$f1var <129>=-}
#macro {\eOQ}{$f2var;#showme <aff>[<139>F2<aff>] <129>-= <119>$f2var <129>=-}
#macro {\eOR}{$f3var;#showme <aff>[<139>F3<aff>] <129> -= <119>$f3var <129>=-}
#macro {\eOS}{$f4var;#showme <aff>[<139>F4<aff>] <129> -= <119>$f4var <129>=-}
#macro {\e[11~}{$f1var;#showme <aff>[<139>F1<aff>] <129>-= <119>$f1var <129>=-}
#macro {\e[12~}{$f2var;#showme <aff>[<139>F2<aff>] <129>-= <119>$f2var <129>=-}
#macro {\e[13~}{$f3var;#showme <aff>[<139>F3<aff>] <129> -= <119>$f3var <129>=-}
#macro {\e[14~}{$f4var;#showme <aff>[<139>F4<aff>] <129> -= <119>$f4var <129>=-}
#macro {\e[15~}{$f5var;#showme <aff>[<139>F5<aff>] <129> -= <119>$f5var <129>=-}
#macro {\e[17~}{$f6var;#showme <aff>[<139>F6<aff>] <129> -= <119>$f6var <129>=-}
#macro {\e[18~}{$f7var;#showme <aff>[<139>F7<aff>] <129> -= <119>$f7var <129>=-}
#macro {\e[19~}{$f8var;#showme <aff>[<139>F8<aff>] <129> -= <119>$f8var <129>=-}
#macro {\e[20~}{$f9var;#showme <aff>[<139>F9<aff>] <129> -= <119>$f9var <129>=-}
#macro {\e[21~}{$f10var;#showme <aff>[<139>F10<aff>] <129> -= <119>$f10var <129>=-}
#macro {\e[23~}{$f11var;#showme <aff>[<139>F11<aff>] <129> -= <119>$f11var <129>=-}
#macro {\e[24~}{$f12var;#showme <aff>[<139>F12<aff>] <129> -= <119>$f12var <129>=-}


/* Viewing */

#split 1 3

#showme {<abf>----------------------------------------------------------------------------------------------------------------------------------------------------------} {3}
#showme {<148>[<129>F1<148>][<139>$f1var<148>]-<148>[<129>F2<148>][<139>$f2var<148>]-<148>[<129>F3<148>][<139>$f3var<148>]-<148>[<129>F4<148>][<139>$f4var<148>]<119>==<148>[<129>F5<148>][<139>$f5var<148>]-<148>[<129>F6<148>][<139>$f6var<148>]-<148>[<129>F7<148>][<139>$f7var<148>]-<148>[<129>F8<148>][<139>$f8var<148>]<119>==<148>[<129>F9<148>][<139>$f9var<148>]-<148>[<129>F10<148>][<139>$f10var<148>]-<148>[<129>F11<148>][<139>$f11var<148>]-<148>[<129>F12<148>][<139>$f12var<148>] } {2}
#showme {<abf>----------------------------------------------------------------------------------------------------------------------------------------------------------} {1}


#alias {fkeyshow}
{
#showme {<148>[<129>F1<148>][<139>$f1var<148>]-<148>[<129>F2<148>][<139>$f2var<148>]-<148>[<129>F3<148>][<139>$f3var<148>]-<148>[<129>F4<148>][<139>$f4var<148>]<119>==<148>[<129>F5<148>][<139>$f5var<148>]-<148>[<129>F6<148>][<139>$f6var<148>]-<148>[<129>F7<148>][<139>$f7var<148>]-<148>[<129>F8<148>][<139>$f8var<148>]<119>==<148>[<129>F9<148>][<139>$f9var<148>]-<148>[<129>F10<148>][<139>$f10var<148>]-<148>[<129>F11<148>][<139>$f11var<148>]-<148>[<129>F12<148>][<139>$f12var<148>] } {2}
}


/* Number Pad */

/* Other Key Assignments */

#class {macro} {close}
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Finished Scripts 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