|
Post by Darth Maul on May 13, 2015 15:32:45 GMT
Auto Attack all players onscreen. auto 100 | listas 'Attack All - By Darth & Thizz' | if [$inpz == 0] {attack enemy | sd enemy} | if [$fired] {wait 900} | foreach 'allplayers' $aa if [$aa.name != $self.name && $aa.isfriend == 0] {setrelation '$aa.name' 'enemy'}
EDIT: elfbotscripts.freeforums.net/post/4794/threadThe only way to check if your target is inside pz is by using elfbots aimbot system and accessing the coretargeting feature. You need to set this up like this: After setting up the Aimbot, you should be able to use the coretargeting with the script below. auto 300 | if [$inpz == 0] {attack '$coretarget.name' | sd '$coretarget.name'} | if [$fired] {wait 900} | foreach 'allplayers' $aa if [$aa.name != $self.name && $aa.isfriend == 0 ] {setrelation '$aa.name' 'enemy' } Note: This only discounts SOME PZ zones. I.e. some temples / depots / boats. Any 'new', or unofficial location created for your OT wont have the protected zone added. Houses aren't included either.
|
|
mauricioman
Member
Posts: 10 Likes: 1
Currently Offline
Last Online: Jul 26, 2016 22:29:39 GMT
View Profile
Registered On: Apr 24, 2016 15:51:17 GMT
|
Post by mauricioman on Jul 9, 2016 8:25:33 GMT
Can you modify this script to: if i'm hunting turn off targetting, turn off waypoints, and turn them on again if pk died or disappeared? please
|
|
|
Post by Darth Maul on Jul 11, 2016 6:04:42 GMT
Can you modify this script to: if i'm hunting turn off targetting, turn off waypoints, and turn them on again if pk died or disappeared? please Something like this should work: auto 100 | listas 'Attack All - By Darth & Thizz' | if [$inpz == 0] {attack enemy | sd enemy} | if [$fired] {wait 900} | foreach 'allplayers' $aa if [$aa.name != $self.name && $aa.isfriend == 0] {setrelation '$aa.name' 'enemy'} | if [$enemycount >=1] {settargeting off | setcavebot off} | if [$enemycount <1] {settargeting on | setcavebot on}
|
|
|
Post by Siwy on Jul 11, 2016 14:58:19 GMT
Good Job :3
|
|
mauricioman
Member
Posts: 10 Likes: 1
Currently Offline
Last Online: Jul 26, 2016 22:29:39 GMT
View Profile
Registered On: Apr 24, 2016 15:51:17 GMT
|
Post by mauricioman on Jul 14, 2016 3:28:32 GMT
thanks, i will tested, and how do i avoid to attack my friends if they go white skull by mistake?
|
|
|
Post by Darth Maul on Jul 14, 2016 7:16:09 GMT
thanks, i will tested, and how do i avoid to attack my friends if they go white skull by mistake? Set them as a friend in your elfbot friends list.
|
|
mauricioman
Member
Posts: 10 Likes: 1
Currently Offline
Last Online: Jul 26, 2016 22:29:39 GMT
View Profile
Registered On: Apr 24, 2016 15:51:17 GMT
|
Post by mauricioman on Jul 19, 2016 17:48:15 GMT
Thanks a lot! <3
|
|
adrivanic
Junior Member
Posts: 8 Likes: 0
Currently Offline
Last Online: Nov 6, 2016 11:08:22 GMT
View Profile
Registered On: Oct 1, 2016 15:43:19 GMT
|
Post by adrivanic on Oct 6, 2016 9:36:33 GMT
Can you please modify this so you atack any player onscreen but only if they have skull and only 30% hp?
|
|
Masi
Senior Tutor
Staff Member
Posts: 241 Likes: 198
Mini-Profile Background: {"image":"https://media.giphy.com/media/2bIP0gHS5cLhS/giphy.gif","color":"6b8d6b"}
Mini-Profile Text Color: ffffff
Currently Offline
Last Online: Nov 23, 2019 2:02:15 GMT
View Profile
Registered On: Mar 31, 2016 16:11:57 GMT
|
Post by Masi on Oct 6, 2016 14:51:27 GMT
Can you please modify this so you atack any player onscreen but only if they have skull and only 30% hp? auto 100 | listas 'Attack All - By Darth & Thizz' | if [$inpz == 0] {attack enemy | sd enemy} | if [$fired] {wait 900} | foreach 'allplayers' $aa if [$aa.name != $self.name && $aa.isfriend == 0 && $a.hppc =< 30 && $a.skull >= 3] {setrelation '$aa.name' 'enemy'}
|
|
aserazer
New Member
Posts: 4 Likes: 0
Currently Offline
Last Online: Aug 11, 2017 7:35:41 GMT
View Profile
Registered On: Jan 31, 2017 1:34:06 GMT
|
Post by aserazer on Jan 31, 2017 1:50:29 GMT
Auto Attack all players onscreen. auto 100 | listas 'Attack All - By Darth & Thizz' | if [$inpz == 0] {attack enemy | sd enemy} | if [$fired] {wait 900} | foreach 'allplayers' $aa if [$aa.name != $self.name && $aa.isfriend == 0] {setrelation '$aa.name' 'enemy'}
i must put enemy at enemy list or it will attack them?
|
|
Masi
Senior Tutor
Staff Member
Posts: 241 Likes: 198
Mini-Profile Background: {"image":"https://media.giphy.com/media/2bIP0gHS5cLhS/giphy.gif","color":"6b8d6b"}
Mini-Profile Text Color: ffffff
Currently Offline
Last Online: Nov 23, 2019 2:02:15 GMT
View Profile
Registered On: Mar 31, 2016 16:11:57 GMT
|
Post by Masi on Feb 2, 2017 5:10:31 GMT
Auto Attack all players onscreen. auto 100 | listas 'Attack All - By Darth & Thizz' | if [$inpz == 0] {attack enemy | sd enemy} | if [$fired] {wait 900} | foreach 'allplayers' $aa if [$aa.name != $self.name && $aa.isfriend == 0] {setrelation '$aa.name' 'enemy'}
i must put enemy at enemy list or it will attack them? The script automaticaly adds players to enemy list.
|
|
nekropolia
New Member
Posts: 1 Likes: 0
Currently Offline
Last Online: Feb 24, 2017 17:02:07 GMT
View Profile
Registered On: Feb 23, 2017 10:21:57 GMT
|
Post by nekropolia on Feb 23, 2017 10:31:35 GMT
Hello. I Need script to when playeronscreen (stop cavebot and targetiing, set Chase Opponent, set player on screen to target, and sd, ue that target) when no player on screen (start cavebot and targetting)
|
|
riki01
New Member
Posts: 1 Likes: 0
Currently Offline
Last Online: Jun 22, 2017 21:27:28 GMT
View Profile
Registered On: Jun 22, 2017 21:23:01 GMT
|
Post by riki01 on Jun 22, 2017 21:26:00 GMT
Can you please modify to attack everyone and follow them ?
|
|
|
Post by Darth Maul on May 22, 2018 7:04:55 GMT
elfbotscripts.freeforums.net/post/4794/threadThe only way to check if your target is inside pz is by using elfbots aimbot system and accessing the coretargeting feature. You need to set this up like this: After setting up the Aimbot, you should be able to use the coretargeting with the script below. auto 300 | if [$inpz == 0] {attack '$coretarget.name' | sd '$coretarget.name'} | if [$fired] {wait 900} | foreach 'allplayers' $aa if [$aa.name != $self.name && $aa.isfriend == 0 ] {setrelation '$aa.name' 'enemy' } Note: This only discounts SOME PZ zones. I.e. some temples / depots / boats. Any 'new', or unofficial location created for your OT wont have the protected zone added. Houses aren't included either.
|
|
lulekozoid
Junior Member
Posts: 9 Likes: 0
Currently Offline
Last Online: May 22, 2022 10:24:47 GMT
View Profile
Registered On: Feb 2, 2018 8:29:36 GMT
|
Post by lulekozoid on Feb 12, 2022 12:23:47 GMT
Can I have the script attack all people on the screen who have RED SKULL?
|
|