This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

JoinSMS.tcl

Old posts that have not been replied to for several years.
Locked
K
Kimmi
Halfop
Posts: 58
Joined: Thu Jul 24, 2003 4:17 pm
Location: Norway
Contact:

JoinSMS.tcl

Post by Kimmi »

I have unziped the file I downloaded but I do not understand what to do.
Here is the script.
----------------Start-------------
set memo " -> Is on IRC !"
set num xxxxxxxx@sms.ISP.com"
bind join - * join:on_join
proc join:on_join {nick uhost hand chan} {
if {$nick == "ANYNICK"} {
global num memo
exec echo $uhost $memo | mail $num
pushmode $chan +v $nick
}
return 0
}
---------END----------------

anyone here that have gotten it to work.. please help me.
Kimmi@EFnet
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

did u load it in eggdrop ? (source scripts/script.tcl or whatever the directory)
K
Kimmi
Halfop
Posts: 58
Joined: Thu Jul 24, 2003 4:17 pm
Location: Norway
Contact:

Post by Kimmi »

yes I did, but the line I dont understand is:
set num xxxxxxxx@sms.ISP.com"

my bot thinks this is ann email adresse not a phone number.
Kimmi@EFnet
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

should be set num "xxxxxxxx@sms.ISP.com"

also, i think, exec echo $uhost $memo | mail $num is not correct.
K
Kimmi
Halfop
Posts: 58
Joined: Thu Jul 24, 2003 4:17 pm
Location: Norway
Contact:

Post by Kimmi »

okey... we know whats not right... but whats right then?? :-?
Kimmi@EFnet
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

----------------Start-------------
set memo " -> Is on IRC !"
set num xxxxxxxx@sms.ISP.com" ----> Here i think you must set number from your mobile operator
bind join - * join:on_join
proc join:on_join {nick uhost hand chan} {
if {$nick == "ANYNICK"} {
global num memo
exec echo $uhost $memo | mail $num
pushmode $chan +v $nick
}
return 0
}
---------END----------------


:P
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

This is based on e-mail style SMS systems.

Many providers offer a service, where short e-mails (or extracts of larger ones) are sent via SMS.

As such, this script requires that you have one of these providers, and have an e-mail address for such purposes.

You set the e-mail address, that is designeated to forward to you via SMS, into this variable, and the rest is automatic.
K
Kimmi
Halfop
Posts: 58
Joined: Thu Jul 24, 2003 4:17 pm
Location: Norway
Contact:

Post by Kimmi »

oki thanx... but I dont think my provider supports SMS
Kimmi@EFnet
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

My provider supoort this ---> www.volja.net <---.You can go there and create free acount but is in Slovene leangue.

:)
Locked