Jump to content
  • 0
Bolby91

@shop @sell script request

Question

Posted (edited)

Hi may i ask everyone if you guys know how to make a @shop command where you able to access tool dealer or potion npc anytime any place, and  @sell to access seller npc thanks!

Edited by Jholz27

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0
8 hours ago, Jholz27 said:

Hi may i ask everyone if you guys know how to make a @shop command where you able to access tool dealer or potion npc anytime any place, and  @sell to access seller npc thanks!

You can make bind atcmd and use callshop

Share this post


Link to post
Share on other sites
  • 0
13 minutes ago, Zack- said:

You can make bind atcmd and use callshop

canyou give me an example?

Share this post


Link to post
Share on other sites
  • 0
1 hour ago, Jholz27 said:

canyou give me an example?

-  script tet12332   -1,{ 
OnInit:    
bindatcmd "shop",strnpcinfo(3)+"::tesst";    
end; 

tesst:    
switch(select("Usable:Potion")){
	case 1:
	callshop "usable",0;
	end;
	
	case 2:
	callshop "potion",0;
	end;
	}
}

-	shop	usable	89,505:10,506:15
-	shop	potion	89,505:10,506:15

like this

Share this post


Link to post
Share on other sites
  • 0
6 hours ago, Zack- said:
-  script tet12332   -1,{ 
OnInit:    
bindatcmd "shop",strnpcinfo(3)+"::tesst";    
end; 

tesst:    
switch(select("Usable:Potion")){
	case 1:
	callshop "usable",0;
	end;
	
	case 2:
	callshop "potion",0;
	end;
	}
}

-	shop	usable	89,505:10,506:15
-	shop	potion	89,505:10,506:15

like this

its not working tho

Share this post


Link to post
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.