ok now im starting to be a pain but i am having a hell of a time with this script....
[script]
menu channel {
.$iif($group(#urlscript) == on,Disable,Enable) URL Script:{
$iif($group(#urlscript) == on,disable,enable) #urlscript
}
}
#urlscript on
on *:START: hmake urls | hload -i urls urls.txt
on *:EXIT: hsave -i urls urls.txt
on *:TEXT:*:#ghost6303:{
if ($1-2 == !setlink $nick) && $3 {
if !$regex(
http://www.plattleround.com/recruit.php?id=6536 ,/^http:\/\/www\.plattleround\.com\/recruit\.php\?id=\d+$/i) {
msg #ghost6303 Incorrect URL SYntax
return
}
hadd urls $nick $addtok($hget(urls,$nick),$3,32)
msg #ghost6303 $nick This link $3 has been added to your account
}
elseif ($1 == !mylink) && $hget(urls,$2) {
.msg $nick Here are $2's links:
tokenize 32 $ifmatch
.msg $nick $*
}
}
#urlscript end
as long as the link with the number in red appears as it is here everything seems to work fine if the number in red is diff it shows as incorrect url syntax. Ive tried to take the numbers off and stop it at the = sign and it still shows as incorrect. This is the permanant link only thing that will change will be the numbers in red. I want the user to be able to store their links and on command from any user use !getlink ghost6303 ... it then post GHOST6303's link is ....also i dont need 30 slots per user 1 will be fine... if its not too much to ask i wouldnt mind having a !mylink feature where the user that owns the link can do a !mylink and it post their link. As stated in earlier post i want a kick/ban feature that will kick and ban a user for posting any other link than the one in this script for 30 seconds. I thank every one of you sooo much this is driving me nuts and i appreciate all of your help