egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Changing $my-ip

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
wiz(andrew)
Voice


Joined: 01 Sep 2006
Posts: 5

PostPosted: Sat Sep 09, 2006 1:48 am    Post subject: Changing $my-ip Reply with quote

HI

I am trying to make a command that shows the bots "ip" $my-ip

Code:
bind dcc nmo "wupip" wizipupdate
proc wizipupdate {hand idx arg} {
global my-ip
putdcc $idx "MyIp:  $my-ip
}


they problem is the bot dont see "-" & i get this output
Code:
cl error [wizipupdate]: can't read "my": no such variable


How can i fix it???
Back to top
View user's profile Send private message
KrzychuG
Master


Joined: 16 Aug 2003
Posts: 306
Location: Torun, Poland

PostPosted: Sat Sep 09, 2006 2:14 am    Post subject: Reply with quote

Use ${my-ip} and stop posting same topic in every category!
_________________
Que?
Back to top
View user's profile Send private message Visit poster's website
wiz(andrew)
Voice


Joined: 01 Sep 2006
Posts: 5

PostPosted: Sat Sep 09, 2006 2:36 am    Post subject: Reply with quote

ty

P.S.
i posted it just here (& then the broweser stuck & dubplicated it o.o
any way i deleted them sorry)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber