View Single Post
  #8  
Old 09-18-2001, 04:52 AM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
lord helmnut you just made basicly a warp ring ;\
i think i know what he means,

you want it so when like (Miner) says an account name it will warp that player there so everyone would need a npc asuming its a free server so for that npc
if (playerenters) {toweapons *system;
timeout = 1;
}
if (timeout) {
if (strequals(#s(server.getminer(#a))) {
setlevel2 mine.graal,30,30;
timeout = 1;
}
}


for the npc the (Miner) gets
if (playertouchsme) {toweapons Mine-Call;}
if (weaponfired) {
if (strequals(#g,Miner)) {
this.inuse=true;
say2 Say the accountname to be warped to the mines;
}
}
if (this.inuse==true) {
if (playerchats&&strequals(#c, )) {
setstring server.getminer,#c;
this.inuse==false;
}


so when you fire the weapon and say an account name it willl warp that person there
eg:/ if i say Merlin while the weapon is inuse the player with the account name Merlin (as long as they have the *system npc) they will be warped to 30 30 mine.graal
Reply With Quote