Jump to content
  • 0

Npc Warper 1 Click per char


dize11

Question


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   0
  • Joined:  01/30/12
  • Last Seen:  

I would like to have and npc warper what does is to warp 1 only time per char.. its like FREEBIES npc effect when u click u able to have the items and then when u click for secon time u can't havent again. THANKS!

Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  


prontera,150,150,0 script Warper 100,{

if ( already_warped ) end;

warp "prontera",0,0;

set already_warped, 1;

end;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  193
  • Reputation:   14
  • Joined:  12/02/11
  • Last Seen:  

prontera,x,y,4<tab>script<tab>reward<tab>999,{
if(#reward == 1) end; // for account
getitem 607,1; // change it to the item ID's and amount
set #reward,1;
end;
}

Lol I misread nvm

Edited by 2essy2killu
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

I would like to have and npc warper what does is to warp 1 only time per char.. its like FREEBIES npc effect when u click u able to have the items and then when u click for secon time u can't havent again. THANKS!

 

prontera,150,150,0    script    Warper    100,{
    if ( already_warped ) end;
    warp "<map>",<x>,<y>;
    already_warped = 1;
    end;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   0
  • Joined:  01/30/12
  • Last Seen:  

I would like to have and npc warper what does is to warp 1 only time per char.. its like FREEBIES npc effect when u click u able to have the items and then when u click for secon time u can't havent again. THANKS!

 
prontera,150,150,0    script    Warper    100,{
    if ( already_warped ) end;
    warp "<map>",<x>,<y>;
    already_warped = 1;
    end;
}
Sorry but its not work can u check it?
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Show error. Are you using rAthena?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   0
  • Joined:  01/30/12
  • Last Seen:  

Show error. Are you using rAthena?

i'm using eathena sorry XD!

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

-    already_warped = 1;
+    set already_warped, 1;

don't forget to put your map in warp "<map>",<x>,<y>;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   0
  • Joined:  01/30/12
  • Last Seen:  

-    already_warped = 1;
+    set already_warped, 1;

don't forget to put your map in warp "<map>",<x>,<y>;

sorry but doesnt appears my the npc i think its some error in the script

Edited by dize11
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  93
  • Reputation:   0
  • Joined:  01/30/12
  • Last Seen:  

prontera,150,150,0	script	Warper	100,{
	if ( already_warped ) end;
	warp "prontera",0,0;
	set already_warped, 1;
	end;
}

Thanks now works!

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