Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-12-2002, 06:41 PM
Psycho_Goldfish42 Psycho_Goldfish42 is offline
Registered User
Join Date: Sep 2002
Posts: 24
Psycho_Goldfish42 is on a distinguished road
Functions

There should be a way of making a server.<functionname>() so that no matter what script it was created in, it shouldwork in any level on the server.
Reply With Quote
  #2  
Old 10-12-2002, 11:24 PM
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
You mean like Join? =_=
__________________
"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 10-29-2002, 12:14 AM
Psycho_Goldfish42 Psycho_Goldfish42 is offline
Registered User
Join Date: Sep 2002
Posts: 24
Psycho_Goldfish42 is on a distinguished road
heh

i must admit that i have never actually tried using that command . ill have a look when i get home later
Reply With Quote
  #4  
Old 10-29-2002, 02:42 AM
R0bin R0bin is offline
Banned
R0bin's Avatar
Join Date: Oct 2002
Location: Wales, UK
Posts: 828
R0bin is on a distinguished road
Send a message via AIM to R0bin
say the classname "Fish" contained:

function Fishy() {
with (getplayer(R0bin)) {
say2 Your fish smells ugly;
}
}

then if you did this:

if (created) {
message fishy;
}
join Fish;
if (playertouchsme) {
Fishy();
}

would that work?
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 12:23 PM.


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