Jump to content

Mad Walker

Members
  • Posts

    177
  • Joined

  • Last visited

Posts posted by Mad Walker

  1. Anyone can help on this item link script

    -	script	itemdescs	-1,{
    end;
    
    OnInit:
    	bindatcmd "ii2",strnpcinfo(3)+"::OnAtcommand";
    	bindatcmd "itemdesc",strnpcinfo(3)+"::OnAtcommand";
    	end;
    	
    OnAtcommand:
      mes "^3355FF[ Item Description Search ]^000000";
      mes "Input item name:";
      input .@item;
      mes "<ITEMLINK>"+getitemname(.@item)+"<INFO>"+.@item+"</INFO></ITEMLINK>";
      mes "Click on the name of the item above.";
      close;
    
    }
    

    script is not mine, ctto. I revised it and made it search the item using its item id. Now I want to make it more user friendly by replacing item id to name. User inputs the name of an item then it will show the corresponding list(s) of item with the same name. If the input is invalid / not in the database return Invalid input.

  2.  

    Just to clear sir that if I have to set

    	// Minutes before losing the consecutive reward
    	//   Day: 48*60 - 50*60
    	//   Week: 20160
    	.MaxWait = 3000;
    
    To
    
    	// Minutes before losing the consecutive reward
    	//   Day: 48*60 - 50*60
    	//   Week: 20160
    	.MaxWait = 80640;
    
    
    
    it will reset on the 29th day and will start again on the first day of the reward?

    Not even close,

    Use this version https://github.com/Stolao/Npc_Release/blob/master/Daily_Reward/DailyReward_v1.75.txt

    Which is the latest. Then

    .Reset = 1;

    And

    .MaxWait = 2000000000;

    Should do

    Then make sure you have 30 days worth of rewards after day 30 it will start back at day 1 again.

     

     

     

    Okay thanks sir! :)

×
×
  • Create New...