Jump to content

Nyaniverse

Members
  • Posts

    45
  • Joined

  • Last visited

  • Days Won

    6

Community Answers

  1. Nyaniverse's post in Check if card is on left or right-hand weapon was marked as the answer   
    Solved.

    Resolved by using a combination of getequipweaponlv and getequipcardcnt, in conjunction with adding a function to the card upon Equip and UnEquip to identify that it's been equipped on L-Hand.
  2. Nyaniverse's post in Matching values using SQL with multiple tables was marked as the answer   
    Solved.

    For anyone looking the solution, it's using INNER JOIN on SQL
    .@sql$ = " SELECT `acc_reg_num`.`value`,`streamer_db`.`name`" + " FROM `acc_reg_num`" + " INNER JOIN `streamer_db`" + " ON `acc_reg_num`.`account_id` = `streamer_db`.`aid`" + " WHERE `acc_reg_num`.`key` = '#s_alltime' " + " AND `acc_reg_num`.`value` >= 1" + " ORDER BY `acc_reg_num`.`value` DESC LIMIT 20";  
  3. Nyaniverse's post in [solved] Super Novice Death Counter Resetter was marked as the answer   
    prontera,150,150,4 script Resetter 69,{ if(PC_DIE_COUNTER > 0 && countitem(501) >= 10){ delitem 501,10; PC_DIE_COUNTER = 0; mes "Your PC_DIE_COUNTER has been reset to 0."; close; } mes "No die counter or not enough Red Potion."; close; } It's just a rough script but you should be able to make it work the way you want it, it has everything you need
  4. Nyaniverse's post in [solved] Add Zeny Cost to Custom Warper was marked as the answer   
    You can add your checks here
    function Go { set lastwarp$, getarg(0); set lastwarpx, getarg(1,0); set lastwarpy, getarg(2,0); if(BaseLevel > 50 && Zeny < 1000){ mes "You need 1,000 Zeny."; close; } if(BaseLevel > 50) Zeny -= 1000; warp getarg(0),getarg(1,0),getarg(2,0); end; }  
×
×
  • Create New...