wc3edit.net https://forum.wc3edit.net/ |
|
[DA] Enfo 7 Way http://forum.wc3edit.net/fulfilled-requests-f75/enfo-7-way-t35849.html |
Page 1 of 1 |
Author: | AFSADE [ January 2nd, 2019, 8:22 pm ] |
Post subject: | [DA] Enfo 7 Way |
Can someone tell me the activator of Enfo 7 Way? Or is it an totally hidden one? This means like fake: string Activator="-N00b" integer QB=0 integer QA=0 This means like non-fake: set Activator=Encode("-JQIEtc") set QB=1 set QA=2 And this totally confuses me: function First_CommandFinder takes player fp2p,string fs2s returns nothing local integer fi2i=StringLength(fs2s) local integer fi3i=0 local integer fi4i=0 local integer fi5i=0 loop if SubString(fs2s,fi3i,fi3i+1)=="-"and fi5i<1then if S2I(SubString(fs2s,fi3i+1,fi3i+2))<1then set fi4i=fi3i set fi5i=1 endif elseif SubString(fs2s,fi3i+1,fi3i+2)=="-"and fi5i>0then if S2I(SubString(fs2s,fi3i+2,fi3i+3))<1then call Cheatz(fp2p,SubString(fs2s,fi4i,fi3i+1)) set fi5i=0 endif elseif fi3i==fi2i and fi5i>0then call Cheatz(fp2p,SubString(fs2s,fi4i,fi2i)) set fi5i=0 endif set fi3i=fi3i+1 exitwhen fi3i>fi2i endloop endfunction function First_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 First_SpaceInsert takes string fs2s returns string return First_SpaceInsert2(QB)+fs2s+First_SpaceInsert2(QA) endfunction if SubString(s2s,0,100)==First_SpaceInsert(Activator)and not IsPlayerInForce(p2p,CHEATER)then call ForceAddPlayer(CHEATER,p2p) call TriggerRegisterPlayerChatEvent(CHEATS,p2p,"-",false) call DisplayTimedTextToPlayer(p2p,0,0,10,"Cheats activated!") With best regards, AFSADE/MattiCore |
Author: | devoltz [ January 2nd, 2019, 8:51 pm ] |
Post subject: | Re: [DA] Enfo 7 Way |
ACT is: "*-cheats**" |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |