caspen,164,240,3 script GM Checker 561,{ set .@n$,"[GM Checker]"; set .@gm_id1,2000005; //Admin set .@gm_name1$,"Seizure"; set .@gm_id2,2000004; //Co-dmin set .@gm_name2$,"FREE"; set .@gm_id3,2000003; //GM-Leader set .@gm_name3$,"FREE"; if ((isloggedin(.@gm_id1) != 1) && (isloggedin(.@gm_id2) != 1) && (isloggedin(.@gm_id3) != 1)){ mes .@n$; mes "Welcome "+strcharinfo(0)+"!"; mes "Currently is no GM online. Would you like me to make an GM call?"; next; if(select("Yes, please!:No, thanks.") == 1){ if(@gmcall > gettimetick(0)){ mes "I'm sorry but you have to wait 5 Minutes until you can call again for the GM's!"; close; } set @gmcall,gettimetick(0)+300000; close2; announce strcharinfo(0)+" is in the GM Mansion and needs help!",bc_all; end; } mes "[GM Rufer]"; mes "Ok! Come back again if you need help!"; emotion 32; close; } mes .@n$; mes "Welcome "+strcharinfo(0)+"!"; mes "Currently the following GM's are online:"; next; mes "===== Admin Team ====="; if (isloggedin(.@gm_id1) == 1){ mes "^1b1ba8Admin^000000 "+.@gm_name1$+" is ^00B200Online^000000"; } else { mes "^1b1ba8Admin^000000 "+.@gm_name1$+" is ^CC0033Offline^000000"; } if (isloggedin(.@gm_id2) == 1){ mes "^1b1ba8Co-Admin^000000 "+.@gm_name2$+" is ^00B200Online^000000"; } else { mes "^1b1ba8Co-Admin^000000 "+.@gm_name2$+" is ^CC0033Offline^000000"; } mes "===== GM Leader Team ====="; if (isloggedin(.@gm_id3) == 1){ mes "^808080GM Leader^000000 "+.@gm_name3$+" is ^00B200Online^000000"; } else { mes "^808080GM Leader^000000 "+.@gm_name3$+" is ^CC0033Offline^000000"; } close; OnPCLoadMapEvent: getmapxy .@m$,.@x,.@y,0; if(.@m$ == "caspen"){ set .@gm_id1,2000005; //Admin set .@gm_id2,2000004; //Co-dmin set .@gm_id3,2000003; //GM-Leader if ((isloggedin(.@gm_id1) != 1) && (isloggedin(.@gm_id2) != 1) && (isloggedin(.@gm_id3) != 1)){ setnpcdisplay "GM Checker",562; } else { setnpcdisplay "GM Checker",561; } } end; } casper mapflag loadevent