XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 9 of 9

Thread: help ([XenoScript] Rook chain armor.lua: unexpected symbol near 'then')

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #3
    Senior Member
    Join Date
    Dec 2011
    Posts
    718
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by FrogWT View Post
    PHP Code:
    if (Self.Cap() < MinCap) or (Self.ItemCount(MPotID) < MinMPotsthen
       gotoLabel
    ('Leave'
    Try it.

    did not work [XenoScript] Rook chain armor.lua: unexpected symbol near 'then'
    PHP Code:
    function onWalkerSelectLabel(labelName)
        if (
    labelName == "Checker"then
            
    if (Self.Cap() < MinCap) or (Self.ItemCount(MPotID) < MinMPotsthen <again did not work
                   gotoLabel
    ('Leave'then
            
    else
                
    gotoLabel('Keep Hunting')
        
    end 
    Last edited by desche188; 06-16-2012 at 02:58 PM.

Posting Permissions

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