Jump to content
  • 0
GM Winter

[SOLVED] Scroll Announcer

Question

hello everyone can i ask for a script that will announce the items that they get in a specific scroll or box thanks

Edited by chadness
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Try this.

 

Script.

function	script	CustomBox	{
	[email protected] = F_Rand( 501,502,503,504 );
	announce "["+strcharinfo(0)+"] obtained ["+getitemname( [email protected] )+"] from Custom Box.",0;
	getitem [email protected], 1;
	return;
}

 

item_db (example)

501,Red_Potion,Red Potion,0,50,,70,,,,,0xFFFFFFFF,7,2,,,,,,{ callfunc "CustomBox"; },{},{}

 

Edited by cook1e
  • MVP 1
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...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.