Welcome to the forum 👋, Guest

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

  • PËRSHËNDETJE VIZITOR!

    Nëse ju shfaqet ky mesazh do të thotë se ju nuk jeni regjistruar akoma. Anëtarët e rregjistruar kanë privilegjin të marrin pjesë në tema të ndryshme si dhe të komunikojnë me anëtarët e tjerë. Bëhu pjesë e forumit Netedy.com duke u REGJISTRUAR këtu ose nëse ke një llogari KYCU. Komunikim alternative i ketij forumi me vajza dhe djem nga te gjithe trevat shqiptare? Hyr ne: CHAT SHQIP.

[EGGDROP] Programimi ne TCL

centos

ⓃⒺⓉⒺⒹⓎ.ⒸⓄⓂ
ANETAR ✓
Regjistruar më
Dhj 13, 2004
Mesazhe
39,918
Per te mesuar se cfare eshte TCL kliko ketu: https://www.tcl.tk/
Ketu po filloj nje postim qe do vazhdoje brenda ksaj tju shpjegoj hap pas hapi si te programoni skript per eggdrop ne IRC
Bind jan evente per eggdropin dhe eventet vazhdojne ketu:

bind <lloji> <flagset> <pershtatje> <emri procesit>

Eggdrop Bind (evente) list:

MSG nickuser@host handle text
DCC handle idx text
FIL handle idx text
PUB nickuser@host handle channel text
MSGM nickuser@host handle text
PUBM nickuser@host handle channel text
NOTC nickuser@host handle text dest
JOIN nickuser@host handle channel
PART nickuser@host handle channel msg
SIGN nickuser@host handle channel reason
TOPC nickuser@host handle channel topic
KICK nickuser@host handle channel target reason
NICK nickuser@host handle channel newnick


Procesi vazhdon sipas eventit qe ju krijoni dhe e shikoni tek lista me siper
Pershembull:
MSG nickuser@host handle text

bind msg - *Hello* molecule

proc molecule {nick host handle text} {
#funksionet e tjera ketu brenda { }
}

nje script i thjeshte i kompletuar me event dhe process

bind pubm - kick pubm:kick
proc pubm:kick {nick host hand chan text} {
noaccess $nick
}


proc noaccess {who} {
puthelp "PRIVMSG $who :Sorry $who, you do not have access to that command"
}


Postimi rradhes do ju ndertoj nje script te kompletuar me shpjegime hap pas hapi.
 

Postime të reja

Theme customization system

You can customize some areas of the forum theme from this menu.

Choose the color combination according to your taste

Select Day/Night mode

You can use it by choosing the day and night modes that suit your style or needs.

Welcome to the forum 👋, Guest

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.