Page 2 of 2

Re: [JJCP 1.24b - e] Multiple-Command Version

Posted: February 8th, 2013, 8:23 pm
by zUsername
thanks for reply, it's
  • set Activator=("-"+S2RAWa[97]+S2RAWa[98]+S2RAWa[99])
Anyway thanks you.

Re: [JJCP 1.24b - e] Multiple-Command Version

Posted: April 9th, 2013, 6:35 am
by leadership911
God.Is.A.Dog wrote:
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: Select all

set Activator=""-"+S2RAWa[97]+S2RAWa[98]+S2RAWa[99]"
will it work if i set Activator-string under endglobals, also under the S2RAW-function?
and about the space-insert :
Spoiler:
function Fukki_SpaceInsert2 takes integer fi2i returns string
local integer fi3i=1
local string fs2s=""
loop
exitwhen fi3i>fi2i
set fs2s=fs2s+" "
set fi3i=fi3i+1
endloop
return fs2s
endfunction
function Fukki_SpaceInsert takes string fs2s returns string
return Fukki_SpaceInsert2(Space_Before_Time)+fs2s+Fukki_SpaceInsert2(Space_After_Time)
endfunction
doesnt it just insert only space before and after the act-string? like:
integer Space_Before_Time=0
integer Space_After_Time=2
EX: Activator="-act test" now your activator is "-act test<space><space>" but not "-test<space><space>" as u said?
anyway your work is great, i like it very much, the best one :D. Thanks so much

Re: [JJCP 1.24b - e] Multiple-Command Version

Posted: April 9th, 2013, 7:20 am
by Apple
Why not try it before you ask?
It can be easily tested if you are trying.

Re: [JJCP 1.24b - e] Multiple-Command Version

Posted: April 13th, 2013, 8:40 am
by leadership911
God.Is.A.Dog wrote:Why not try it before you ask?
It can be easily tested if you are trying.
i tested and it didnt like he said:
Fukki wrote: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>"
thats why i asked

Re: [JJCP 1.24b - e] Multiple-Command Version

Posted: April 13th, 2013, 9:55 am
by zUsername
leadership911 wrote: doesnt it just insert only space before and after the act-string? like:
integer Space_Before_Time=0
integer Space_After_Time=2
EX: Activator="-act test" now your activator is "-act test<space><space>" but not "-test<space><space>" as u said?
anyway your work is great, i like it very much, the best one :D. Thanks so much
it's mean he use command "-act" to change Activator to "-test", but there have 2 space after Activator so Activator will be "-test<2xspace>"

Re: [JJCP 1.24b - e] Multiple-Command Version

Posted: April 13th, 2013, 11:35 am
by leadership911
oh i see, i thought he said if set Activator="-act test" then string to active cheat is "-test<space><space>"
my mistake, sry :D