Thread: Functions
View Single Post
  #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