Sneaky Pete's Collar Popper (and also Unpopper)

For script writing
Post Reply
User avatar
wyli romesco
Spy vs. Pie
Posts: 81
Joined: Wed May 07, 2014 6:39 am

Sneaky Pete's Collar Popper (and also Unpopper)

Post by wyli romesco » Wed Oct 15, 2014 10:56 am

Hi,

In my continuing quest to produce the shortest functional script ever written I give you...

Code: Select all

void main ()
{
	if (have_equipped($item[sneaky pete's leather jacket]))
		{
		cli_execute("fold sneaky pete's leather jacket (collar popped)");
		}
	else if (have_equipped($item[sneaky pete's leather jacket (collar popped)]))
		{
		cli_execute("fold sneaky pete's leather jacket");
		}
}
Potentially slightly faster than typing in the individual fold commands (so long as you give it a short enough name) this script will pop (or unpop) your jacket collar for you.

Don't cob your taco, baby!

User avatar
Storm Dragon
Pie of the Sky
Posts: 32
Joined: Thu Oct 02, 2014 6:48 am

Re: Sneaky Pete's Collar Popper (and also Unpopper)

Post by Storm Dragon » Wed Oct 15, 2014 8:30 pm

Thank you for that. It's simples, but as you said, easier than type the fold command every time :3

Post Reply