Signup Now
Results 1 to 3 of 3
  1. #1
    Free User
    Join Date
    Dec 2013
    Posts
    32
    Reputation
    10
    Rep Power
    0

    action somthing i do wrong but idk what ;P

    this code don't work for my what i do wrong?

    if lower potions in java menu UhpToLeave then go refil how do it? sory for my bad... (rip) english

    this first code is bad i think somwhere here "if itemcount(23374) < = getuseroption('UhpToLeave')"

    Code:
    auto(10000)
    if itemcount(23374) < =  getuseroption('UhpToLeave') then
    setsetting('Looting/Enabled', 'no')
    trappedStance("yes")
    setsetting('Targeting/Enabled', 'no')
    goRefill()
    
    end
    in java menu i got
    Code:
    		{
           		"type" : "spinbox",
           		"name" : "UhpToLeave",
    			"text" : "ultimate spirit potions to leave: ",
    			"max" : 1000,
    			"min" : -1,
    			"value" : 40
          	}
    Last edited by seebaa; 03-11-2018 at 02:29 PM.

  2. #2
    Free User Nimo's Avatar
    Join Date
    Dec 2015
    Posts
    1,203
    Reputation
    120
    Rep Power
    20
    should be tonumber(getuseroption('UhpToLeave'))

  3. #3
    Free User
    Join Date
    Dec 2013
    Posts
    32
    Reputation
    10
    Rep Power
    0
    work perfect i love you bro ;***

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •