Jump to content
  • 0

Job Antibot


PapaZola

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

hello all

i want request some antibot like this

this script will work only for job bard,dancer,gpysy,clown

if other job online no need type code

if job bard,dancer,gpysy,clown online this job will freeze until player enter the code for antibot

sorry for my bad english

:D

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  1
  • Reputation:   0
  • Joined:  07/07/17
  • Last Seen:  

Where and How can I put it

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

try this

- script Sample -1,{
OnPCLoginEvent:
if( BaseClass == Job_Bard || BaseClass == Job_Dancer ){
atcommand "@option 2";
sc_start SC_BERSERK,10000000,1;
mes "Please Red Colour Key in the Code...";
set .Code,rand(1000,99999);
mes "^0000FF"+rand(1,9999)+"^FF0000"+.Code+"^0000FF"+rand(1,9999)+"^000000";
input @Code;
if( @Code != .Code ){
 atcommand "@kick "+strcharinfo(0);
}else{
atcommand "@option 0";
sc_end SC_BERSERK;
}
close;
}
end;
}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

not working sir emistry

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  967
  • Reputation:   53
  • Joined:  11/13/11
  • Last Seen:  

Here

Tested with Dancer Character ( first test was dumb i typed wrong number )

test.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

now its work

thx keikun and sir emistry

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

not working sir emistry

Aw...sorry..a little mistake....

change

if( BaseClass == Job_Bard || BaseClass == Job_Dancer ){

to

if( BaseJob == Job_Bard || BaseJob == Job_Dancer ){

then it should be work fine...tested and working ~

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  89
  • Reputation:   7
  • Joined:  02/27/12
  • Last Seen:  

Thanks~

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   3
  • Joined:  05/09/12
  • Last Seen:  

Can i edit this to make its usefull for all job ?? :D

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

@Mohawk:

Fairly self-explanatory, remove this line (and the corresponding bracket at the end):

if( BaseClass == Job_Bard || BaseClass == Job_Dancer ){

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...