Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-17-2001, 09:36 AM
Guest
Posts: n/a
sethead timeout

Can someone tell me why this wont work right? I want it only to let you change your head every 10 seconds just like with changing your name but only with changing your head.

NPC Code:

tokenize #c;
if (#t == 'sethead' && sec == 1){
sethead #t(1);
sec++;
}
while (sec > 1){
sleep 1.0;
sec++;

if (#t == "sethead"){
message please wait 10 seconds;
}
if (sec == 10){
sec = 1;
}
}

Reply With Quote
  #2  
Old 07-17-2001, 09:52 AM
Komieko Komieko is offline
Registered User
Join Date: Mar 2001
Posts: 494
Komieko is on a distinguished road
That's on classic...you want to copy yet another thing
Reply With Quote
  #3  
Old 07-17-2001, 09:56 AM
Guest
Posts: n/a
Your a idiot! It's going to probly be built into graal anyways! I want it on delteria so idiots that use trainers dont lag my server!!!!! It's not copying cause i havent been on classic or newmain for about 2 weeks now!!!! I scripted it myself so shut your mouth!!!!
Reply With Quote
  #4  
Old 07-17-2001, 09:57 AM
Komieko Komieko is offline
Registered User
Join Date: Mar 2001
Posts: 494
Komieko is on a distinguished road
Calm down....
Reply With Quote
  #5  
Old 07-17-2001, 09:57 AM
WeirdmanI9 WeirdmanI9 is offline
Banned
WeirdmanI9's Avatar
Join Date: Mar 2001
Location: Laying Low From The Police
Posts: 1,816
WeirdmanI9 is on a distinguished road
Send a message via AIM to WeirdmanI9 Send a message via Yahoo to WeirdmanI9
Quote:
Originally posted by IcePick_2001
Your a idiot! It's going to probly be built into graal anyways! I want it on delteria so idiots that use trainers dont lag my server!!!!! It's not copying cause i havent been on classic or newmain for about 2 weeks now!!!! I scripted it myself so shut your mouth!!!!
STFU Ice Punk you little 12 year old prick
Reply With Quote
  #6  
Old 07-17-2001, 09:58 AM
WeirdmanI9 WeirdmanI9 is offline
Banned
WeirdmanI9's Avatar
Join Date: Mar 2001
Location: Laying Low From The Police
Posts: 1,816
WeirdmanI9 is on a distinguished road
Send a message via AIM to WeirdmanI9 Send a message via Yahoo to WeirdmanI9
Ice Punk, why do you have a modified version of the Nazi logo in one of those crappy sigs?
Reply With Quote
  #7  
Old 07-17-2001, 09:59 AM
Cybnext_Design Cybnext_Design is offline
Registered User
Join Date: Jun 2001
Posts: 244
Cybnext_Design is on a distinguished road
Send a message via AIM to Cybnext_Design
NPC Code:

if (playerchats) {
if (strcontains(#c,sethead)) {
tokenize #c;
if (strequals(#t(0),sethead)) {
if (sec==1) {
setplayerprop #3, #t(1);
sec++;
}
while (sec > 1) {
sleep 1;
sec++;

if (strequals(#t(0),sethead)) {
message Wait 10 seconds before changing your head again!;
}
}
if (sec==10) {
sec=1;
}
}
}
}
}



That might work....i this wasnt tested....So...im not sure if it will work. But it should.
__________________
Graal2001 NPC Maker
Frolic Owner
Aim: C Y B N E X T
Reply With Quote
  #8  
Old 07-17-2001, 02:09 PM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
jeez ice pick u may as well change your name so ppl won't keep bagging you.

(not that i am on ice pick's side)
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote
  #9  
Old 07-19-2001, 05:20 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Dont be mean to Ice Pick anyway it says you cant in form rules and Ice Pick cannot help the way he is...
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:34 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.