SHARE
TWEET

Untitled

a guest May 19th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. prontera,255,72,4   script  怪物搜尋#021    738,{
  2. input .@mobname$;
  3. set .@big5$,escape_sql(.@mobname$);  //新增了這行
  4. .@qty = query_sql("select `mob_id`,`map_iName`,`map_kName`,`amount` from `zprivate_spawns_mob` where `mob_kName` LIKE '%"+escape_sql(.@big5$)+"%' order by `amount` desc limit 9", .@ids, .@iName_map$, .@kName_map$, .@amount);
  5. for (.@i = 0; .@i < .@qty; .@i++)
  6. {
  7.     announce ""+.@i+" : "+getmonsterinfo(.@ids[.@i],MOB_NAME)+"Lv."+getmonsterinfo(.@ids[.@i],MOB_LV)+" 數量: "+.@amount[.@i]+"("+.@kName_map$[.@i]+")"+.@iName_map$[.@i],bc_all;
  8. }
  9. end;
  10. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top