Jump to content
  • 0
hendra814

Conditions to trigger antibot script

Question

is still posible to check bot at some map with single script?

this is my customized script from other with kill monster trigger, reinput 3 time if goes wrong, can define map for bot chech, and if goes wrong input will teleport into room.

my pastebin

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

I believe your condition checking is wrong.

if( strcharinfo(3) != "[email protected]") end;
else if( strcharinfo(3) != "[email protected]") end;
else if( strcharinfo(3) != "[email protected]") end;
else if( strcharinfo(3) != "[email protected]") end;
else if( strcharinfo(3) != "[email protected]") end;

your char cant be found acorss all 5 maps at the same time.

 

you can use this if you want to disable it from trigger in endless tower map.

if ( !compare( strcharinfo(3), "@tower" ) ) {
    // bot script
}

 

Link to comment
Share on other sites

  • 0
On 18/3/2017 at 4:10 PM, Emistry said:

I believe your condition checking is wrong.

if( strcharinfo(3) != "[email protected]") end;
else if( strcharinfo(3) != "[email protected]") end;
else if( strcharinfo(3) != "[email protected]") end;
else if( strcharinfo(3) != "[email protected]") end;
else if( strcharinfo(3) != "[email protected]") end;

your char cant be found acorss all 5 maps at the same time.

 

you can use this if you want to disable it from trigger in endless tower map.

if ( !compare( strcharinfo(3), "@tower" ) ) {
    // bot script
}

 

how to add for another instance map

Link to comment
Share on other sites

  • 0
3 hours ago, Emistry said:
if ( !compare( strcharinfo(3), "mapname" ) ) {
    // bot script
}

 

Quote
if ( !compare( strcharinfo(3), "[email protected]" ) )
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]_k" );
else if ( !compare(strcharinfo(3), "[email protected]_k" );
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]_d" );
else if ( !compare(strcharinfo(3), "[email protected]" );
else if ( !compare(strcharinfo(3, "[email protected]" );
else if ( !compare(strcharinfo(3), "[email protected]_c" );
else if ( !compare(strcharinfo(3), "[email protected]_h" );
else if ( !compare(strcharinfo(3), "[email protected]_b" ){
    end;
}

is this script right sir @emistry?

 

Link to comment
Share on other sites

  • -1
On 12/30/2012 at 3:07 PM, glemor123 said:

sir what if i want it that script to be activate to 3 maps??how will i modify it

also how does this work??is this % that will be triggered? or set to number of mobs before it will be triggered?or every X Minutes?

strcharinfo(3) != "bat_c01"

change it into strcharinfo(3) != "prontera" || "izlude" || "geffen"

or try  strcharinfo(3) != "prontera" && "izlude" && "geffen"

 

//-----MAPFLAG---------
bat_c01 mapflag loadevent

change it in to

prontera mapflag loadevent

izlude mapflag loadevent

geffen mapflag loadevent

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.