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 02-17-2002, 01:45 AM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
Unhappy A question

How do I make one of those things where someone can say "add player (the players accountname)" like the one in GSpeed spar 2?
__________________
Reply With Quote
  #2  
Old 02-17-2002, 02:30 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Re: A question

Quote:
Originally posted by Googi
How do I make one of those things where someone can say "add player (the players accountname)" like the one in GSpeed spar 2?
with (getplayer)
it would be like
if (playerchats&&startswith(add player)&&strequals(#g,Events Team))
{tokenize #c;
with (getplayer(#t(2)))
{
if (strequals(#L,sparlevel1.nw))
{setlevel2 sparlevel1.nw,30,30;}}
I haven't tried that but it should work, it only works on p2p though
Reply With Quote
  #3  
Old 02-17-2002, 02:36 AM
neomaximus2k neomaximus2k is offline
Registered User
Join Date: Feb 2002
Location: UK
Posts: 324
neomaximus2k is on a distinguished road
Send a message via ICQ to neomaximus2k
there is a way to do it on non p2p but i cant realise the script on here sorry.

and i know your asking what is the point of saying that? is to let him know it can be done on non p2p
__________________
Beware of thy Inner self
NPC Code:

_.,.__
((o\\o\))
.-. ` \\``
__( )___.o"".,___
=== ~~~~~~~~
==
= Neo

Reply With Quote
  #4  
Old 02-17-2002, 02:38 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
All you do is make a server.string for non p2p, have it so if it equals the account, it warps them to the rest of the string, and use tokenize to seperate the string into tokens
like #t(0) would be the account, #t(1) the level #t(2) x #t(3) y
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 07:04 AM.


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