Random Intro/Outro - Page 2
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Random Intro/Outro

Started by pHaTTy, 16 February, 2004, 03:42:31

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Madman

Hi
Great Script.

I was wondering if u could make it to say the Intro/Outro Messege for only users. And not for Vip/Ops.

Please =)
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

pHaTTy

QuoteOriginally posted by madman
Hi
Great Script.

I was wondering if u could make it to say the Intro/Outro Messege for only users. And not for Vip/Ops.

Please =)


--//Random In/Out(tro) bot By Phatty
--//RINOUR(TRO) v1.01

howmany = "3" --set to how many x1,2,3,4,5 u have

--//start here x1,x2,x3 etc
x1 = "[USER] appears from the darkness"
x2 = "[USER] walks out from the darkness"
x3 = "ALL YOUR BASE ARE BELONG TO [USER]"
--//end

dBot = "GeX"

function NewUserConneced(user)
	if user.iProfile == -1 then
		reply = Random(user)
		SendToAll(dBot,reply)
	end
end

function Random(user)
	test = random(howmany)
		dostring("ret=x"..test)
		ret=gsub(ret,"%b[]", user.sName)
	return ret
end

enjoy ;)
Resistance is futile!

Madman

Hi
I can the OP script to work but not the user script. It dosent say anything when a new user connect....
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

SMF spam blocked by CleanTalk