Jump to content
  • 0

Just need a item preview script


ThatSafetyGuy

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  04/20/14
  • Last Seen:  

Hello All,

 

I'm trying to come up with a script to where I can preview certain items for a limited time (timer). I can't seem to find the exact script that ToastofDoom came up with.

 

So far, I only have the following:

switch(select("Sunglasses:Diver Goggles:Fancy Flower:Hair Band:Warp me back")) {
    		case 1:
       		set @itemid, 2202;
       		break;
		case 2:
			set @itemid, 2205;
			break;
		case 3:
			set @itemid, 2207;
			break;
		case 4:
			set @itemid, 2210;
			break;
		case 5:
			Go("prontera",156,179);
			close;    
}

Any help will do. Thank you all in advance!

Link to comment
Share on other sites

3 answers to this question

Recommended Posts


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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  04/20/14
  • Last Seen:  

Thank you for the response, Emistry. So, what would you suggest that I do if I wanted to have a timer set for how long someone could preview a headgear?

case 1:
       		changelook 5,2202;

                addtimer 30000, strnpcinfo(0)+"::OnEnd"

So, would the above script translate to previewing item 2202, "sunglasses" for 30 seconds?

Edited by ThatSafetyGuy
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:  

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