Register to post in forums, or Log in to your existing account
 
:
Search found 3 matches for:
Page 1 of 1
Author Message
  Topic: How can i create my own function?
fienna

Replies: 3
Views: 1196

PostForum: zMUD General Discussion   Posted: Mon Sep 10, 2007 3:29 am   Subject: How can i create my own function?
thanks, i actually got this to work, in theory. it might be a little long, but i think it will do the job.

is there a limit to how long these lines can be?

thanks
  Topic: trigger help with if statement
fienna

Replies: 1
Views: 966

PostForum: zMUD General Discussion   Posted: Mon Sep 10, 2007 3:21 am   Subject: trigger help with if statement
trigger: You (%w) %* with (%x) *[!]

contents:

#if (%1 <> "bash" and %1 <> "smash") {
#ad total_spell_hits 1
}{
#ad total_other_hits 1
}

now, i'll get a normal match, ...
  Topic: How can i create my own function?
fienna

Replies: 3
Views: 1196

PostForum: zMUD General Discussion   Posted: Sun Sep 09, 2007 7:44 pm   Subject: How can i create my own function?
Hi -

I'm trying to create something to return a word based on a number - pseudocode would look something like this:

if 0 < number < 10 then myword = "pathetic"
if 11 < number < 20 ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net