Right-click in Windows Macros?

A place to discuss CL related projects.

Moderators: The Deputies, Sheriff

Right-click in Windows Macros?

Postby noivad » Sat Nov 25, 2006 3:15 pm

What's the syntax to tell a macro you want the trigger to be your right-click in Windows?
http://www.clanlord.net/ Needs You! Proudly hosting…
Org Du Lac's bestiary: http://bestiary.clanlord.net/index.html
Gil Galad’s Pirates of Lok’Groton: http://pirates.clanlord.net/ & http://studies.clanlord.net/
User avatar
noivad
Order of the White Elephant
Order of the White Elephant
 
Posts: 2986
Joined: Wed Oct 08, 2003 4:04 pm
Profession: Fighter
Race: Sylvan
Player Status: Active

Postby Gorvin » Sat Nov 25, 2006 3:20 pm

click2
{
...
}
User avatar
Gorvin
Noble
 
Posts: 1035
Joined: Tue Dec 16, 2003 12:45 pm
Profession: Champion
Race: Dwarf
Player Status: Active

Postby noivad » Sat Nov 25, 2006 3:45 pm

According to a windows CL client user the click2 doesn't work in the main window, only in the player's list for moonstone_functions where a right-click on the mac works like Tarf's ultimate cad macro -- it selects and cads a player, or on a click to ground or on yourself, it equips your moonstone and goes into a healing loop.
http://www.clanlord.net/ Needs You! Proudly hosting…
Org Du Lac's bestiary: http://bestiary.clanlord.net/index.html
Gil Galad’s Pirates of Lok’Groton: http://pirates.clanlord.net/ & http://studies.clanlord.net/
User avatar
noivad
Order of the White Elephant
Order of the White Elephant
 
Posts: 2986
Joined: Wed Oct 08, 2003 4:04 pm
Profession: Fighter
Race: Sylvan
Player Status: Active

Postby Gandor Durin » Sat Nov 25, 2006 3:48 pm

click2 works for me on the Windows client, with a cad macro:

click2
{
$any_click
if @click.simple_name == ""
if @my.right_item == "mercurial staff"
"\use /off\r"
end if
else if @click.simple_name == @my.simple_name
if @my.right_item != "moonstone"
"\equip \"moonstone\"\r"
end if
"\use 3\r"
else
if @my.right_item != "mercurial staff"
"\equip \"mercurial staff\"\r"
end if
"\use " @click.simple_name "\r"
message "* Now healing" @click.name
end if
}
User avatar
Gandor Durin
Exile
 
Posts: 243
Joined: Sat Jun 26, 2004 6:22 pm

Postby Gorvin » Sat Nov 25, 2006 3:52 pm

Did you actually try using click2? I've been using it on the Windows client without problems. It is set to a macro that lets you swap in and out individual custom functions (so it can be customized for separate characters or situations) that get called when you right-click on the ground, another player, or yourself, or double-right-click on any of those.
User avatar
Gorvin
Noble
 
Posts: 1035
Joined: Tue Dec 16, 2003 12:45 pm
Profession: Champion
Race: Dwarf
Player Status: Active

Postby Raul » Sat Nov 25, 2006 5:38 pm

click2 works
some other things don't
User avatar
Raul
Noble
 
Posts: 1380
Joined: Sun Mar 27, 2005 7:05 am

Postby Mjollnir » Sun Nov 26, 2006 12:56 am

I use

right-click
{

}

seems to work for my cad macro
A good pun is its own reword
Mjollnir
Noble
 
Posts: 1039
Joined: Fri Apr 04, 2003 2:11 am
Profession: Healer/Alchemist
Race: Sylvan
Player Status: Spambot

Postby noivad » Sun Nov 26, 2006 3:02 pm

Mjollnir wrote:I use

right-click
{

}

seems to work for my cad macro


On windows? I heard that didn't work...?
http://www.clanlord.net/ Needs You! Proudly hosting…
Org Du Lac's bestiary: http://bestiary.clanlord.net/index.html
Gil Galad’s Pirates of Lok’Groton: http://pirates.clanlord.net/ & http://studies.clanlord.net/
User avatar
noivad
Order of the White Elephant
Order of the White Elephant
 
Posts: 2986
Joined: Wed Oct 08, 2003 4:04 pm
Profession: Fighter
Race: Sylvan
Player Status: Active

Postby noivad » Sun Nov 26, 2006 3:05 pm

Gorvin wrote:Did you actually try using click2? I've been using it on the Windows client without problems. It is set to a macro that lets you swap in and out individual custom functions (so it can be customized for separate characters or situations) that get called when you right-click on the ground, another player, or yourself, or double-right-click on any of those.


I don't have a windows machine. I'm going off what I've been told. Maybe I ned that person to recheck that they reloaded macros. Maybe that was it. Either way I added it to the macros scroll at the CLUMP. Thanks guys.

Please note: The macros scroll isn't done, and I haven't checked whether I'm using the proper terminology for some of the explanations, but everything else is in order. If anyone wants to take a whack at explaining things for people, be my guest.
http://www.clanlord.net/ Needs You! Proudly hosting…
Org Du Lac's bestiary: http://bestiary.clanlord.net/index.html
Gil Galad’s Pirates of Lok’Groton: http://pirates.clanlord.net/ & http://studies.clanlord.net/
User avatar
noivad
Order of the White Elephant
Order of the White Elephant
 
Posts: 2986
Joined: Wed Oct 08, 2003 4:04 pm
Profession: Fighter
Race: Sylvan
Player Status: Active

Postby Mjollnir » Mon Nov 27, 2006 12:03 am

noivad wrote:
Mjollnir wrote:I use

right-click
{

}

seems to work for my cad macro


On windows? I heard that didn't work...?


Seems to work for me
A good pun is its own reword
Mjollnir
Noble
 
Posts: 1039
Joined: Fri Apr 04, 2003 2:11 am
Profession: Healer/Alchemist
Race: Sylvan
Player Status: Spambot

Postby Cinnamon » Tue Nov 28, 2006 2:54 pm

shift-click
{
"/pull " @click.simple_name "\r"
}


works just fine
This sig pic removed by Vagile
User avatar
Cinnamon
Sun Dragon Clan
Sun Dragon Clan
 
Posts: 6398
Joined: Fri Nov 28, 2003 5:06 am


Return to Coffee & Donuts

Who is online

Users browsing this forum: No registered users and 1 guest