Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 


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 10:09 AM.


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