Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prontera,155,181,5 script Sample#sql_random 757,{
- if( query_sql( "SELECT `id` FROM `item_db` WHERE `type`='5' AND `equip_locations`='256' ORDER BY RAND() LIMIT 1",.@ItemID ) ){
- mes "You randomed "+getitemname( .@ItemID );
- getitem .@ItemID,1;
- }else{
- mes "Found Nothing...";
- }
- close;
- }
Advertisement
Add Comment
Please, Sign In to add comment