|
nazzireth Beginner
Joined: 26 Jun 2007 Posts: 12
|
Posted: Thu Jul 04, 2013 6:44 pm
clear clipboard? |
is there a command to clear the clipboard say from a trigger?
thanx =) |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Thu Jul 04, 2013 8:40 pm |
Sure, with the %clip function.
|
|
|
|
nazzireth Beginner
Joined: 26 Jun 2007 Posts: 12
|
Posted: Thu Jul 04, 2013 9:27 pm |
What i need is a way to clear the clipboard target to nothing. example :
I have MAN on my clipboard.
i have a #var cliptarget (%clip)
i cast harm @cliptarget (with a macro)
i kill him
a WOMAN attacks me
I hit my harm macro it does cast harm MAN
I need it to trigger a %clip clear or remove %clip when MAN dies
just not sure if cmud has the power to remove the clipboard lol |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Fri Jul 05, 2013 6:48 pm |
Did you read the documentation for %clip? You set the clipboard with %clip("string"). To clear it, just set it to an empty string, like this:
|
|
|
|
nazzireth Beginner
Joined: 26 Jun 2007 Posts: 12
|
Posted: Sat Jul 06, 2013 4:40 am |
Awesome thank you it worked great!!
I did read the %clip in help but I have only been using Cmud for a week or so and have no idea with coding lol, Thanx so much again =) |
|
|
|
|
|