Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   Functions (https://forums.graalonline.com/forums/showthread.php?t=39171)

Psycho_Goldfish42 10-12-2002 06:41 PM

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.

Tyhm 10-12-2002 11:24 PM

You mean like Join? =_=

Psycho_Goldfish42 10-29-2002 12:14 AM

heh
 
i must admit that i have never actually tried using that command . ill have a look when i get home later

R0bin 10-29-2002 02:42 AM

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?


All times are GMT +2. The time now is 02:05 AM.

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