wc3edit.net
https://forum.wc3edit.net/

[JJCP 1.24b - e] Multiple-Command Version
https://forum.wc3edit.net/deprotection-cheating-f64/multiple-command-version-t25133.html
Page 1 of 2

Author:  Fukki [ June 9th, 2012, 9:26 am ]
Post subject:  [JJCP 1.24b - e] Multiple-Command Version

Command Remove
-list ## (1-8)

Command Fix
-itemid# (1-6)
-mh (can see invisible unit)
-hear (detect all chat)
-add #### ## (can set skill level over 9)
-bind[key] (save max 80-90 string)


String Activator Setting
string Activator="-cheats"
integer Space_Before_Time=0
integer Space_After_Time=2

what the space before and after?
EX: Space_After_Time=2 and Activator="-cheats"
now your activator is "-cheats<space><space>"


String Activator with: -act
integer Space_Before_Time=0
integer Space_After_Time=2
look your "Space_Before_Time" and "Space_After_Time" setting
EX: cmd "-act test" now your activator is "-test<space><space>"


How to use Multiple-Command
you can type command in 1 enter
EX 1: -gold 1000000 -lumber 1000000
EX 2: -tele -mh -gold 1000000 -lumber 100000 -hear -fast -bfast -ufast
EX 3: -spawn #### -spawn #### -spawn #### -spawn #### -spawn ####


How to add custom command
it easy to add then same JJCP 1.24b - e

Version: JJCP 1.24b - e

Download
Attachment:
[Multiple-Command]_JJCP.rar

Note: remove [Multiple-Command]_JJCP folder

Author:  naturesfury [ June 9th, 2012, 11:42 am ]
Post subject:  Re: [Multiple-Command] JJCP

Suggestion: make it so you don't need to retype space? and if it's just one "command" like ex3, make it so that you don't need to retype -spawn more than once?

Just Curious, have you made binding keys work into this o.o

Author:  Fukki [ June 9th, 2012, 12:36 pm ]
Post subject:  Re: [Multiple-Command] JJCP

fix Multiple-Command can use binding key

Author:  naturesfury [ June 9th, 2012, 12:55 pm ]
Post subject:  Re: [Multiple-Command] JJCP

o.o -mh-gold 500 doesn't do maphack
and bind char limit is about 20

Author:  haxorico [ June 9th, 2012, 8:47 pm ]
Post subject:  Re: [Multiple-Command] JJCP

naturesfury wrote:
o.o -mh-gold 500 doesn't do maphack
and bind char limit is about 20

Well the (original) CP works in a way you can't really use all commands in 1 line. like

-say XXXX -gold 10

will say XXXX -gold 10, and not make a new gold command, same goes for the bind key. what if I want to bind -say jlsdfjldfjdfjfdsfssfsdfsdosdhfsdf to the downarrow to spam it?
Although it can be tweaked to work with other commands.

As for the idea, its a very nice and cool idea, nice to see more work from you ;)

Author:  Fukki [ June 9th, 2012, 9:23 pm ]
Post subject:  Re: [Multiple-Command] JJCP

i can't fix it because some commands have break and exit loop
i think it break and exit by WaitForString function

Author:  naturesfury [ June 11th, 2012, 12:34 am ]
Post subject:  Re: [Multiple-Command] JJCP

Well you CAN do it, just takes a lot more work
plus, i think it's helpful to have the limitations and disadvantages as well as advantages in the post
tells you what you can and can't do so you're not surprised
just throwing it out there

Author:  Fukki [ June 11th, 2012, 6:03 am ]
Post subject:  Re: [Multiple-Command] JJCP

i can fix it because i can find a way to edit it
-------------------------------------------
ok now 100% to use multiple commands

Author:  zUsername [ February 7th, 2013, 10:07 pm ]
Post subject:  Re: [JJCP 1.24b - e] Multiple-Command Version

Can I use rawcode to set activator? And how ?

Example: set Activator=("-"+S2RAWa[97]+S2RAWa[98]+S2RAWa[99])

I'm try to set Activator=("-"+S2RAWa[97]+S2RAWa[98]+S2RAWa[99]) (means -abc) and it's not working, however JJ2197 Cheat Pack normal ( not multiple ) is working well.

Author:  Apple [ February 8th, 2013, 4:54 am ]
Post subject:  Re: [JJCP 1.24b - e] Multiple-Command Version

crazymen14 wrote:
Can I use rawcode to set activator? And how ?

Example: set Activator=("-"+S2RAWa[97]+S2RAWa[98]+S2RAWa[99])

I'm try to set Activator=("-"+S2RAWa[97]+S2RAWa[98]+S2RAWa[99]) (means -abc) and it's not working, however JJ2197 Cheat Pack normal ( not multiple ) is working well.

You can't use something not declared in global. In this case S2RAWa array can't be used,
if you want to have that for your cheat activator you can add this line in the cheatpack endglobals after declaring the S2RAWa:
Code:
set Activator=""-"+S2RAWa[97]+S2RAWa[98]+S2RAWa[99]"

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/