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 11-04-2001, 10:19 AM
JeffTL JeffTL is offline
Registered User
Join Date: Sep 2001
Posts: 374
JeffTL is on a distinguished road
Script help?

I need to get this to work...any suggestions?

PHP Code:
// Acronym Checker by Jeff
// Say something, it gives you the first letter of each word
if (created) {
  
// Initialize the attributes
  
showcharacter;
  
setcharprop #3,head788.png;
  
setcharprop #C0,orange;
  
setcharprop #C1,black;
  
setcharprop #C2,darkpurple;
  
setcharprop #C3,black;
  
setcharprop #C4,darkpurple;
  
setcharprop #2,zero-shield.png;
  
shieldpower 1;
  
dir 2;
  
setcharprop #n,Acronym Checker;
  
setcharprop #8,body11.png;
}
if(
playerchats){
tokenize #c;
for(i=-1;i<20;i++){
setstring string#v(i),#t(#v(i));
tokenize2 abcdefghijklmnopqrstuvwxyz,string#v(i);
setcharprop #c,#t(0);
setcharprop #c,#t(1);
setcharprop #c,#t(2);
setcharprop #c,#t(3);
setcharprop #c,#t(4);
setcharprop #c,#t(5);
setcharprop #c,#t(6);
setcharprop #c,#t(7);
setcharprop #c,#t(8);
setcharprop #c,#t(9);
setcharprop #c,#t(10);
setcharprop #c,#t(11);
setcharprop #c,#t(12);
setcharprop #c,#t(13);
setcharprop #c,#t(14);
setcharprop #c,#t(15);
setcharprop #c,#t(16);
setcharprop #c,#t(17);
setcharprop #c,#t(18);
setcharprop #c,#t(19);
}

__________________

Last edited by JeffTL; 11-04-2001 at 10:34 AM..
Reply With Quote
  #2  
Old 11-08-2001, 09:53 AM
fireball_dolphonia fireball_dolphonia is offline
Registered User
Join Date: Sep 2001
Location: Graalistan
Posts: 73
fireball_dolphonia is on a distinguished road
Re: Script help?

Quote:
Originally posted by JeffTL
I need to get this to work...any suggestions?

PHP Code:
// Acronym Checker by Jeff
// Say something, it gives you the first letter of each word
if (created) {
  
// Initialize the attributes
  
showcharacter;
  
setcharprop #3,head788.png;
  
setcharprop #C0,orange;
  
setcharprop #C1,black;
  
setcharprop #C2,darkpurple;
  
setcharprop #C3,black;
  
setcharprop #C4,darkpurple;
  
setcharprop #2,zero-shield.png;
  
shieldpower 1;
  
dir 2;
  
setcharprop #n,Acronym Checker;
  
setcharprop #8,body11.png;
}
if(
playerchats){
tokenize #c;
for(i=-1;i<20;i++){
setstring string#v(i),#t(#v(i));
tokenize2 abcdefghijklmnopqrstuvwxyz,string#v(i);
setcharprop #c,#t(0);
setcharprop #c,#t(1);
setcharprop #c,#t(2);
setcharprop #c,#t(3);
setcharprop #c,#t(4);
setcharprop #c,#t(5);
setcharprop #c,#t(6);
setcharprop #c,#t(7);
setcharprop #c,#t(8);
setcharprop #c,#t(9);
setcharprop #c,#t(10);
setcharprop #c,#t(11);
setcharprop #c,#t(12);
setcharprop #c,#t(13);
setcharprop #c,#t(14);
setcharprop #c,#t(15);
setcharprop #c,#t(16);
setcharprop #c,#t(17);
setcharprop #c,#t(18);
setcharprop #c,#t(19);
}

ok 1st of all in setcharprop #c,#t(#); it musnt have () on it
__________________

ages.ccs.com/ccsimages/cat_
Reply With Quote
  #3  
Old 11-09-2001, 07:51 PM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
ouch
use #e !!!
__________________
No Webhost at the moment
Reply With Quote
  #4  
Old 11-10-2001, 03:15 AM
Thak2 Thak2 is offline
:]
Join Date: Mar 2001
Location: BC
Posts: 1,344
Thak2 is on a distinguished road
Send a message via AIM to Thak2
Quote:
Originally posted by TDO2000
ouch
use #e !!!
yeah, you could test for spaces using #K too I think... maybe not.
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 02:36 AM.


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