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 05-17-2002, 01:53 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
new command suggestion

Need something to return certain parameters of a return... like

parm(2-,#c) would return the second word and on of the players chat text..
parm(2,#c) return the second word alone,
parm(2-3,#c) would show the 2nd & 3rd words, etc.

I know theres already ways to do it with loops & stuff.. but that is annoying in a way just suggesting a simpler way to do it.

Also... left(2,parm(3,#c)) could show the first 2 letters of the third word in chat text, right() the opposite.. you get the idea :-)
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 03:42 AM.


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