Cheat Command Help

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
Kryptonyte
Forum Staff
Posts: 1400
Joined: March 17th, 2008, 12:07 am

Re: Cheat Command Help

Post by Kryptonyte »

weirdone2 wrote:Since both of you agreed on this I went ahead and tested, my test simply yields results of what i've been saying I used the code below added on to my cheatpack below the locals in my main cheat function, I then typed "test-" which should have made it go I also typed "test -" "test -" and so fourth.

Code: Select all

if SubString(s,0,5)=="test"then
call DisplayTextToPlayer(p,0,0,"If you get this message then you just got owned, you stupid nubber.")
endif
Perhaps show me the code you used so I can test with yours?
Shouldn't it look like this...

call DisplayTextToPlayer(p,0,4,"If you get this message then you just got owned, you stupid nubber.?

Because "test" is 4 letters long.
Also, he did it like this...
"test-"
He said it doesn't matter where you put the "-". as long as you have one...
Image
Made by the late ILikeHacking

My quote from SKillER
Spoiler:
Chat wrote:(19:12:41) SKillER: newfags cant triforce
(19:20:30) SKillER: ▲
▲ ▲
(19:20:35) SKillER: aww
(19:20:37) FatherSpace: FAIL
(19:20:43) Kryptonyte: Wow stop failing.
(19:20:47) SKillER: ▲
▲ ▲
(19:21:41) Kryptonyte: .

. ▲
▲ ▲
(19:22:20) Kryptonyte: I guess you were right, newfags can't triforce.
(19:22:29) SKillER: . . ▲
▲ ▲
(19:23:04) SKillER: OMFG
(19:23:06) SKillER: ... THIS CHAT
(19:23:06) SKillER: !
(19:23:36) SKillER: ▲
▲ ▲
(19:23:46) SKillER: ▲
.▲ ▲
Apparently, SKillER is a newfag.
User avatar
weirdone2
Forum Staff
Posts: 926
Joined: June 3rd, 2007, 8:03 pm

Re: Cheat Command Help

Post by weirdone2 »

4,5 almost the same diff and I actually did 4 first but when it didn't work I was like meh I'll add an extra just incase.
Also, he did it like this...
"test-"
He said it doesn't matter where you put the "-". as long as you have one...
Were talking about if it registers or not, not the comparison part. At least I hope thats what were talking about otherwise I'd have no idea what we would be talking about. XD
initialD
Some Honorary Title
Posts: 1713
Joined: June 8th, 2007, 5:08 am
Title: Angry Bird

Re: Cheat Command Help

Post by initialD »

hm, there could be another misunderstood since we have different english learned from diferent country?
nvm

the following code should work.
also i don't think you are using local p in your cheat pack
should be somethingelse before it could work

if SubString(s,0,5)=="test-"then
call DisplayTextToPlayer(p,0,0,"If you get this message doesn't mean you got owned, just misunderstood?")
endif
w/e
JJ2197 wrote: (I mean really who would make it "cheats-" )
Well anyways it seems to register as long as you say -...
that's the point. Making it "cheats-" would be a hard to be guess by others. Since no one will do that. If one do that, other can't guess it. w/e
User avatar
weirdone2
Forum Staff
Posts: 926
Joined: June 3rd, 2007, 8:03 pm

Re: Cheat Command Help

Post by weirdone2 »

Alrite I'll add a - on to the end and try it out later see if it makes a difference, and yea I use p in my cheatpack it's the triggering player.
User avatar
JJ2197
Legendary Genius
Posts: 1311
Joined: August 8th, 2007, 8:10 am
Title: Legendary Genius²
Location: St. George Utah

Re: Cheat Command Help

Post by JJ2197 »

I was talking about this...

call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"-",false)

I'm saying it doesn't matter where you put the - in the activator, just
as long as it's there and matches the activator it will work...
Computer Specs:
Motherboard: GA-990FXA-UD3
CPU: FX-8350 @ 4.0GHz
PSU: Corsair CX500
RAM: G.Skill Ripjaws X 8GB @ 1866
GPU: Radeon HD 4870 1GB
HDD: OCZ Vertex series 30GB SSD
Case: Antec 900
Monitor: Toshiba 32"
OS: Windows 7 Ultimate
aYzXaK
Newcomer
Posts: 3
Joined: August 28th, 2008, 12:24 pm

Re: Cheat Command Help

Post by aYzXaK »

Where Can I Do This:

call TriggerRegisterPlayerChatEvent(ICHEAT,Player(zzz),"-",false)
User avatar
Senethior459
Forum Staff
Posts: 2618
Joined: June 2nd, 2007, 6:53 pm
Title: I Just Lost the Game

Re: Cheat Command Help

Post by Senethior459 »

You don't do this, that's a part of JJ's cheatpack. That's the part that makes it so that if the activator is set to "cheats ", then you can say "-cheats " and it will work, or you could say "cheats -". It doesn't really matter.
My Warcraft III Tool Collection
If you want to chat/game with me:
Blizzard: Senethior459#1962
Discord: Kyle#7409
Steam: Spacekidkyle