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 

help scripts

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
tahu
Voice


Joined: 11 Feb 2005
Posts: 14
Location: bandung

PostPosted: Tue Aug 23, 2005 2:58 am    Post subject: help scripts Reply with quote

hello guys..
please help me to fix this.
Code:


if {$upasAnswerCount == 1} {
 upasmsg "[b]Title 1[/b]"
 upasmsg "question : $upasQuestion ? "
 upasmsg "Survey     : 8 $upasPointsPerAnswer $upasPointsName"
 upasmsg "\00313$tipzs"

} elseif {$upasAnswerCount <= 2} {
 upasmsg "[b]Title 2[/b]"
 upasmsg "WORD       : 9 $upasQuestion ? "
 upasmsg "Hint : 8 $upasAnswerCount "
 upasmsg "$tipzs"

}elseif {$upasAnswerCount >= 3} {
 upasmsg "[b]Title 3[/b]"
 upasmsg "KATA   : 9 $upasQuestion ? "
 upasmsg "Survey : 8 $upasAnswerCount "
 upasmsg "$tipzs"

_________________
no limit to learn
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Tue Aug 23, 2005 3:10 am    Post subject: Reply with quote

For a start, use the code tags. Secondly, READ this post.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Tue Aug 23, 2005 9:23 pm    Post subject: Reply with quote

What is upasmsg and what does it basically do?
_________________
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Wed Aug 24, 2005 7:06 am    Post subject: Reply with quote

For starters
Code:
}elseif {$upasAnswerCount >= 3} {

there should be a space after the first closed brace (})
_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Wed Aug 24, 2005 10:19 am    Post subject: Reply with quote

awyeah wrote:
What is upasmsg and what does it basically do?

Trivia script is my guess. Smile
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Aug 26, 2005 3:23 am    Post subject: Reply with quote

Alchera wrote:
awyeah wrote:
What is upasmsg and what does it basically do?

Trivia script is my guess. Smile


you fluent in Malayan/Indonesian? Smile
Back to top
View user's profile Send private message Visit poster's website
awyeah
Revered One


Joined: 26 Apr 2004
Posts: 1580
Location: Switzerland

PostPosted: Fri Aug 26, 2005 3:32 am    Post subject: Reply with quote

No man im not malaysian, am from Pakistan. I can fluently speak Hindi, Urdu, Punjabi and English.
_________________
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Aug 26, 2005 3:54 am    Post subject: Reply with quote

awyeah wrote:
No man im not malaysian, am from Pakistan. I can fluently speak Hindi, Urdu, Punjabi and English.


obviously you aren't Smile otherwise you wouldn't have asked what upasmsg is

I was actually quoting Alchera
Back to top
View user's profile Send private message Visit poster's website
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Fri Aug 26, 2005 9:42 am    Post subject: Reply with quote

/me falls off his chair
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
tahu
Voice


Joined: 11 Feb 2005
Posts: 14
Location: bandung

PostPosted: Sat Aug 27, 2005 12:02 pm    Post subject: Reply with quote

i try to write word game in tcl
how to make the bot read the title when answer only 1 the title "sample one" , if answer got 2 the title "sample two" and if the answer got 3 the title make deferent post like "sample 3"
thanks

if {$upasAnswerCount == 1} {
upasmsg "Title 1"
upasmsg "question : $upasQuestion ? "
upasmsg "Survey : 8 $upasPointsPerAnswer $upasPointsName"
upasmsg "\00313$tipzs"

} elseif {$upasAnswerCount <= 2} {
upasmsg "Title 2"
upasmsg "WORD : 9 $upasQuestion ? "
upasmsg "Hint : 8 $upasAnswerCount "
upasmsg "$tipzs"

}elseif {$upasAnswerCount >= 3} {
upasmsg "Title 3"
upasmsg "KATA : 9 $upasQuestion ? "
upasmsg "Survey : 8 $upasAnswerCount "
upasmsg "$tipzs"
_________________
no limit to learn
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive 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