Ridley 295 Posted February 22, 2016 File Name: @autores (auto resurrection) File Submitter: Ridley File Submitted: 21 Feb 2016 File Category: Utility @autores <mapname> < X coordinate> < Y coordinate> eg. @autores prontera 150 150 <-- will revive players at prontera 150/150 Use it for your events, races or whatever Note: only players on the given map are affected. If you set "prontera" as map, only players which die there will be revived. If you set pay_dun00, only players there are affected and so on.. It has a 5 second cooldown till it revives you. This is set in line 57 (sleep2 5000;) second use of @autores will disable it again @autorescheck tells you if the system is enabled or disabled Works only at one map at the same time Click here to download this file Quote Share this post Link to post Share on other sites
Eternity 1 Posted July 4, 2016 (edited) @Ridley Good script! useful for other events and instances.Anyways, what if i will set only for an accout not global (for everyone). i will use this as for VIP. $@ temporarpy global account var Edited July 4, 2016 by Eternity Quote Share this post Link to post Share on other sites
Ridley 295 Posted July 4, 2016 (edited) @Ridley Good script! useful for other events and instances. Anyways, what if i will set only for an accout not global (for everyone). i will use this as for VIP. $@ temporarpy global account var Not sure what you want to say, but I asume you want only your VIP's to be warped? either check for normal players and exclude them (default groupID 0) if(.active == 1 && (getgroupid() != 0)){ or check if they have your VIP Group ID OnInit: bindatcmd "autores", strnpcinfo(0) +"::OnAtcommanda", 14, 99; bindatcmd "autorescheck", strnpcinfo(0) +"::OnAtcommandb", 14, 99; .vipgroup = 4; // Group ID for VIP end; if(.active == 1 && (getgroupid() == .vipgroup)){ Edited July 4, 2016 by Ridley Quote Share this post Link to post Share on other sites
Eternity 1 Posted July 5, 2016 @Ridley Good script! useful for other events and instances. Anyways, what if i will set only for an accout not global (for everyone). i will use this as for VIP. $@ temporarpy global account var Not sure what you want to say, but I asume you want only your VIP's to be warped? either check for normal players and exclude them (default groupID 0) if(.active == 1 && (getgroupid() != 0)){ or check if they have your VIP Group ID OnInit: bindatcmd "autores", strnpcinfo(0) +"::OnAtcommanda", 14, 99; bindatcmd "autorescheck", strnpcinfo(0) +"::OnAtcommandb", 14, 99; .vipgroup = 4; // Group ID for VIP end; if(.active == 1 && (getgroupid() == .vipgroup)){ I'm sorry if its not clear. Thanks for the script post. However i want something for a specific char only not global character. Quote Share this post Link to post Share on other sites
bWolfie 138 Posted July 5, 2016 I'm sorry if its not clear. Thanks for the script post. However i want something for a specific char only not global character. You can give the a normal label variable to their character, like you would for any quest. e.g. prontera,150,150,3 script give vip label 4_F_SOMETHING,{ set L_VIP,1; mes "You are now a vip"; close; } And then when you want autores only for vips, you could go OnPCDieEvent: if (strcharinfo(3) == ".map$" && L_VIP == 1) { message "autores in 5 seconds"; sleep2 5000; atcommand "@alive"; end; else { end; } Quote Share this post Link to post Share on other sites
decoi82 0 Posted January 21, 2017 how to install this script? sorry i'm newbie Quote Share this post Link to post Share on other sites