Thread: Staff Boots
View Single Post
  #1  
Old 06-06-2001, 09:59 AM
Bravo_NPC-Admin1 Bravo_NPC-Admin1 is offline
Registered User
Join Date: May 2001
Location: Olympia, Washington USA
Posts: 25
Bravo_NPC-Admin1 is on a distinguished road
Send a message via AIM to Bravo_NPC-Admin1 Send a message via Yahoo to Bravo_NPC-Admin1
if (playerchats && strequals(#c,Boots on)) {
timeout=.05;
}
if (playerchats && strequals(#c,boots off)) {
timeout=0;
}
if (playerchats && startswith(#c,bootspeed)) {
tokenize #c;
client.bootspeed=#t(1);
}
if (timeout) {
if (keydown(0)) {playerdir=0; playery-=(client.bootspeed/4); }
if (keydown(1)) {playerdir=1; playerx-=(client.bootspeed/4); }
if (keydown(2)) {playerdir=2; playery+=(client.bootspeed/4); }
if (keydown(3)) {playerdir=3; playerx+=(client.bootspeed/4); }
timeout=.05;
}

Now. Say Boots On for the boots to be on. Boots Off to turn them off. To set speed, say bootspeed <speed>. For example:
bootspeed 2

How about that?
__________________
-Boco
Reply With Quote