Advertisement
Guest User

Untitled

a guest
May 19th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.56 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement