Results 1 to 5 of 5

Thread: yo, just need a "simple" alert.

  1. #1
    Normal User Awskar's Avatar
    Join Date
    Aug 2012
    Location
    svärje
    Posts
    371
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    15
    Rep Power
    5

    yo, just need a "simple" alert.

    Im botting in a certain cave, and 1 part of the cave resp dangerous badass monsters, so people realize that I dont like those monsters, and then mag wall (wild groth) and push me there so the monsters kill me...

    SO here's my question.

    I want a action that alert if on a certain XYZ-position.. like "If posx == 32482 and posy == 234843 and posz == 7 then playsound('alert.wav')

    can some nice soul please do that ?

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Pos 32482,234843,7, 2sqm radius
    PHP Code:
    if (islocationxyz(32482,234843,7,2)) then
         playsound
    ("alert.wav")
    end 

  3. #3
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Quote Originally Posted by Awskar View Post
    Im botting in a certain cave, and 1 part of the cave resp dangerous badass monsters, so people realize that I dont like those monsters, and then mag wall (wild groth) and push me there so the monsters kill me...

    SO here's my question.

    I want a action that alert if on a certain XYZ-position.. like "If posx == 32482 and posy == 234843 and posz == 7 then playsound('alert.wav')

    can some nice soul please do that ?
    what you said should work if you just put "end" on the end lol

    Also, I didnt know islocationxyz() existed. Where is it documented?

    All the functions i are are from that link in my sig
    Last edited by pink_panther; 10-25-2012 at 02:56 AM.

  4. #4
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Quote Originally Posted by pink_panther View Post
    what you said should work if you just put "end" on the end lol

    Also, I didnt know islocationxyz() existed. Where is it documented?

    All the functions i are are from that link in my sig
    I look in the library .p

  5. #5
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Ah i see. I do that for some action to see how they work, not all functions are in here though.

Posting Permissions

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