Signup Now
Results 1 to 3 of 3

Thread: Help action

  1. #1
    Free User
    Join Date
    Oct 2014
    Posts
    2
    Reputation
    10
    Rep Power
    0

    Help action

    1 ) I need an "action" to open the door with key One ?
    2 ° ) and Another close with the same key ?

    Can anyone help ?

  2. #2
    Free User
    Join Date
    Oct 2014
    Posts
    2
    Reputation
    10
    Rep Power
    0
    up up up ?

  3. #3
    Free User Kostek's Avatar
    Join Date
    Dec 2013
    Posts
    701
    Reputation
    77
    Rep Power
    22
    init start    
    local DoorId = xxxx
    local KeyId = xxxx
    local Position = {X = xxxxx, Y = yyyyy, Z = z}
    init end

    if topitem(Position.X, Position.Y, Position.Z).id == DoorId then
    useitemon(KeyId, DoorId, ground(Position.X, Position.Y, Position.Z))

    else
    usedoor(xxxxx,yyyyy,z, "open")
    end



    use the search option on forum for future requests first

    Trade History
    Sold 323 ED to @Joel
    Sold 166 MS to @tibiastore
    Bought 187 RP on Morta from @Dworak
    Bought 233 MS on Morta from @biffwille
    Sold 250 ED to @CipusMikus
    Sold 263 MS on Morta to @Pukez
    Sold 198 EK on Morta to @NadiR
    Bought 193 ED on Morta from @Zlotowka
    Sold 210 EK on Xylana to @Dragoon




 

 

Posting Permissions

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