Thread: Variables
View Single Post
  #1  
Old 02-27-2002, 04:07 AM
WHIPENIE4 WHIPENIE4 is offline
I am X-Mann
Join Date: Aug 2001
Location: PA
Posts: 2,715
WHIPENIE4 is on a distinguished road
Send a message via ICQ to WHIPENIE4 Send a message via AIM to WHIPENIE4
Variables

Ok im slowly learning how to script , im kinda stuck on varibles... when do you use them??

In the example they use in npcprogramming
myvar = 1;
if (myvar==1) {..........}

So if the varible ='s 1 then the command in {.....} will be executed...... but lets say
the command in the {...} was messageHello;
then why not just put
If (playertouchsme) messageHello;
???
Or 'playerenters'

[edit]Also what do these symbols mean
>,<,>=,<=,==,!= , or when do you use them?[/edit]
__________________
Mind over Matter. If your body dont mind, why does it matter?

- X-Mann (Blessing Graal since 1998) Haha

- Graal 2000 Project (Contact Me to get Apart of this expierience

Windows Vista. Graal. Not a Good Combination.
Reply With Quote