dragonbautista Posted October 2, 2015 Posted October 2, 2015 @gotm command warp on gotm castle @shake for champ no shake turn on and off Quote
1 Ninja Posted October 2, 2015 Posted October 2, 2015 (edited) Compiled with no errors but not tested.use @gotm in-game non-gm chars: direct warp gm chars:brings up gm menucredits: Emistry for map validation - script GOTM -1,{ OnInit: bindatcmd "@gotm", strnpcinfo(0)+"::OnAtCommand"; set .gmlvl, 99; //gm level access end; OnAtCommand: if(getgroupid() < .gmlvl) { if ($gotm$ == "" || getmapusers($gotm$) < 0 ){ dispbottom "No Guild of the Month Map has been set yet."; end; } else { warpchar $gotm$,$gotmxy[0],$gotmxy[1],getcharid(0); } } else if (getgroupid() >= .gmlvl) { set .end, 0; while (!.end){ mes "[Guild of the Month]"; mes "Hi, What can I do for you today?"; Switch(Select("Warp to GOTM:Set GOTM Coordinates:Cancel")){ Case 1: if ($gotm$ == "" || getmapusers($gotm$) < 0){ mes "No Guild of the Month Map has been set yet."; } else { warpchar $gotm$,$gotmxy[0],$gotmxy[1],getcharid(0); set .end, 1; } break; Case 2: mes "[Guild of the Month]"; mes "Please enter the map's name"; input $gotm$; if (getmapusers($gotm$) < 0){ mes "Sorry, the map you entered is invalid."; } else { mes "Enter the X Coordinate"; input $gotmxy[0]; mes "Enter the Y Coordinate"; input $gotmxy[1]; next; mes "[Guild of the Month]"; mes "Guild of the Month Map successfully set."; mes $gotm$+": "+$gotmxy[0]+","+$gotmxy[1]; } break; Default: set .end,1; break; } next; } } end; } //edit changed something. please retry. added screenshots //edit Didn't work for him, he's using 3ceam. Edited October 2, 2015 by jezznar 1 Quote
Azura Skyy Posted October 2, 2015 Posted October 2, 2015 The shake effect should be canceled with /effect. If that isn't a viable option, you can can choose to remove the shake effect when diffing your client. Can download WeeDiffGen here.I'm not sure what you mean with @gotm...?Regards,~Azura Skyy Quote
dragonbautista Posted October 2, 2015 Author Posted October 2, 2015 (edited) The shake effect should be canceled with /effect. If that isn't a viable option, you can can choose to remove the shake effect when diffing your client. Can download WeeDiffGen here. I'm not sure what you mean with @gotm...? Regards, ~Azura Skyy about @gotm command. what i mean is if i type or players @gotm auto warp on gotm castle / guild of the month castle. Edited October 2, 2015 by dragonbautista Quote
Ninja Posted October 2, 2015 Posted October 2, 2015 how do you know what is the guild of the month castle? do you have a script that sets this? I need to know how it is set so I can help you. Quote
dragonbautista Posted October 2, 2015 Author Posted October 2, 2015 (edited) how do you know what is the guild of the month castle? do you have a script that sets this? I need to know how it is set so I can help you. Dont have. but the coor is alde_gld 50 84 if i type @gotm auto warp to alde_gld 50 84 Edited October 2, 2015 by dragonbautista Quote
Question
dragonbautista
@gotm command warp on gotm castle
@shake for champ no shake turn on and off
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.