Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
zzyzzyzzx
Beginner


Joined: 24 Oct 2006
Posts: 13

PostPosted: Fri Mar 02, 2007 12:12 am   

one last question thought it was working -.-
 
im using
Code:

#if (%2==@isimmortal) {#echo dont remove imms from flist} {
  Friend %2
  friend @friendwanabe
  %pop( friendwanabe)
  #additem friendwanabe %2
  }

in a trigger but once it gets to friend it just posts friend it dose not plug in the name is there a way to fix that?
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Fri Mar 02, 2007 1:10 am   
 
Urm, I bet there is, but we need to see the trigger to know what value is stored in %2 before posting an answer.
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4715
Location: Pensacola, FL, USA

PostPosted: Fri Mar 02, 2007 1:12 am   
 
Try using: %ismember(%2, @isimmortal)

#additem friendwanabe {%2}
_________________
Discord: Shalimarwildcat

Last edited by shalimar on Fri Mar 02, 2007 1:15 am; edited 2 times in total
Reply with quote
Arminas
Wizard


Joined: 11 Jul 2002
Posts: 1265
Location: USA

PostPosted: Fri Mar 02, 2007 1:14 am   
 
Hah, that too. But if you still can't get it working Post the trigger pattern for us.
_________________
Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram
Reply with quote
zzyzzyzzx
Beginner


Joined: 24 Oct 2006
Posts: 13

PostPosted: Fri Mar 02, 2007 2:04 am   
 
i just rewrote it a diffrent way and now it works... insted of having 2 vars 1 trig i now use 3 triggers 2 vars
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net