Jump to content
  • 0

Npc Warper 1 Click per char


Question

Posted

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!

9 answers to this question

Recommended Posts

Posted (edited)
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
Posted
  On 7/29/2013 at 10:07 PM, dize11 said:

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;
}
Posted
  On 7/30/2013 at 6:09 AM, Patskie said:
  On 7/29/2013 at 10:07 PM, dize11 said:

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?
Posted (edited)
  On 7/30/2013 at 5:03 PM, Capuche said:
-    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
Posted
  On 7/30/2013 at 9:42 PM, Capuche said:
prontera,150,150,0	script	Warper	100,{
	if ( already_warped ) end;
	warp "prontera",0,0;
	set already_warped, 1;
	end;
}

Thanks now works!

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