Signup Now
Results 1 to 2 of 2
  1. #1
    Free User sines's Avatar
    Join Date
    Nov 2014
    Posts
    32
    Reputation
    10
    Rep Power
    0

    Unhappy Join party with getusetoption('FriendName')?

    Hello!

    How to make this action work with my useroption?


    PHP Code:
    if $self.party == 0 then
    contextmenu
    ("Join Name's Party""Name"
    end 
    "Example"

    PHP Code:
    local Friendname =  getusetoption('FriendName')

    if 
    $self.party == 0 then
    contextmenu
    ("Join ????????????? Party"friendname
    end 
    Thanks

  2. #2
    Free User Donatello's Avatar
    Join Date
    Dec 2013
    Location
    Tuscany, Italy
    Posts
    398
    Reputation
    51
    Rep Power
    21
    local charName = getusetoption('FriendName')


    foreach creature c "ps" do
    if c.name == charName and c.party == PARTY_INVITED_LEADER then
    if $self.party == 0 then
    contextmenu("Join " .. c.name .. "'s Party", c.name, true) waitping(1, 2)
    end
    end
    end

 

 

Posting Permissions

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