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 04-30-2001, 05:50 AM
_Shoey_Fighter_ _Shoey_Fighter_ is offline
Registered User
Join Date: Mar 2001
Location: Salem, OR, US
Posts: 45
_Shoey_Fighter_ is on a distinguished road
Send a message via ICQ to _Shoey_Fighter_ Send a message via AIM to _Shoey_Fighter_
Question

I'm having trouble with tokenize. Here is the code I tried:
if(playerenters){
tokenize add test;
say2 #s(#t(2));
}

It produces some weird thing like "dtdoorct" or something. Any ideas?
Reply With Quote
  #2  
Old 04-30-2001, 06:32 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
maybe tokenize(1)?

I think it's 0-based, meaning it starts counting at 0...
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #3  
Old 05-01-2001, 05:23 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
say2 #t(1); should display 'test'
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 06:53 PM.


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