GM Winter Posted January 28, 2021 Share Posted January 28, 2021 (edited) hello everyone can i ask for a script that will announce the items that they get in a specific scroll or box thanks Edited January 28, 2021 by chadness Quote Link to comment Share on other sites More sharing options...
0 cook1e Posted January 28, 2021 Share Posted January 28, 2021 (edited) 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 January 28, 2021 by cook1e 1 Quote Link to comment Share on other sites More sharing options...
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 chadnessLink to comment
Share on other sites