Results 1 to 3 of 3

Thread: Requesting possibily to..

  1. #1
    iBot User
    Join Date
    Jan 2013
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    4

    Requesting possibily to..

    Hello, can anyone help me?
    I want my bot to, attack back if a pk try to kill me.


    Would really appreciate if someone could help me with this =)

  2. #2
    Normal User Nydaa's Avatar
    Join Date
    Jul 2012
    Location
    Europe
    Posts
    216
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    4 Post(s)
    Reputation
    24
    Rep Power
    5
    Found this on forum, think Dehan posted, it not sure.

    local player = getcreatures("ps") 

    if player.isattackme and target.name ~= player.name then
    attack(player.name)
    end
    Last edited by Nydaa; 04-13-2013 at 08:10 AM. Reason: my shitty spelling

  3. #3
    iBot User
    Join Date
    Jan 2013
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    13
    Rep Power
    4
    Thanks!!

Posting Permissions

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