Jump to content
  • 0

Conditions to trigger antibot script


Question

Posted

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

5 answers to this question

Recommended Posts

  • 0
Posted

I believe your condition checking is wrong.

if( strcharinfo(3) != "1@tower") end;
else if( strcharinfo(3) != "2@tower") end;
else if( strcharinfo(3) != "3@tower") end;
else if( strcharinfo(3) != "4@tower") end;
else if( strcharinfo(3) != "5@tower") 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
}

 

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

I believe your condition checking is wrong.


if( strcharinfo(3) != "1@tower") end;
else if( strcharinfo(3) != "2@tower") end;
else if( strcharinfo(3) != "3@tower") end;
else if( strcharinfo(3) != "4@tower") end;
else if( strcharinfo(3) != "5@tower") 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

  • 0
Posted
3 hours ago, Emistry said:

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

 

Quote

if ( !compare( strcharinfo(3), "1@tower" ) )
else if ( !compare(strcharinfo(3), "2@tower" );
else if ( !compare(strcharinfo(3), "3@tower" );
else if ( !compare(strcharinfo(3), "4@tower" );
else if ( !compare(strcharinfo(3), "5@tower" );
else if ( !compare(strcharinfo(3), "1@nyd" );
else if ( !compare(strcharinfo(3), "2@nyd" );
else if ( !compare(strcharinfo(3), "1@orcs" );
else if ( !compare(strcharinfo(3), "2@orcs" );
else if ( !compare(strcharinfo(3), "1@cata" );
else if ( !compare(strcharinfo(3), "2@cata" );
else if ( !compare(strcharinfo(3), "1@spa" );
else if ( !compare(strcharinfo(3), "1@lhz" );
else if ( !compare(strcharinfo(3), "1@sara" );
else if ( !compare(strcharinfo(3), "1@gl_k" );
else if ( !compare(strcharinfo(3), "2@gl_k" );
else if ( !compare(strcharinfo(3), "1@cash" );
else if ( !compare(strcharinfo(3), "1@pump" );
else if ( !compare(strcharinfo(3), "2@pump" );
else if ( !compare(strcharinfo(3), "1@xm_d" );
else if ( !compare(strcharinfo(3), "1@mist" );
else if ( !compare(strcharinfo(3, "1@ecl" );
else if ( !compare(strcharinfo(3), "1@ma_c" );
else if ( !compare(strcharinfo(3), "1@ma_h" );
else if ( !compare(strcharinfo(3), "1@ma_b" ){
    end;
}

is this script right sir @emistry?

 

  • -1
Posted
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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...